-
-
Notifications
You must be signed in to change notification settings - Fork 246
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update folder structiure to support SPM
- Loading branch information
Showing
14 changed files
with
54 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,3 +11,6 @@ build/ | |
|
||
.vscode/launch.json | ||
cocoa_bindings_temp | ||
|
||
ios/sentry_flutter/Package.resolved | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 7 additions & 0 deletions
7
flutter/ios/sentry_flutter/.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
// swift-tools-version: 5.9 | ||
// The swift-tools-version declares the minimum version of Swift required to build this package. | ||
|
||
import PackageDescription | ||
|
||
let package = Package( | ||
name: "sentry_flutter", | ||
platforms: [ | ||
.iOS("12.0"), | ||
.macOS("10.13") | ||
], | ||
products: [ | ||
.library(name: "sentry-flutter", targets: ["sentry_flutter", "sentry_flutter_swift"]) | ||
], | ||
dependencies: [ | ||
.package(url: "https://github.com/getsentry/sentry-cocoa", from: "8.36.0"), | ||
], | ||
targets: [ | ||
.target( | ||
name: "sentry_flutter", | ||
dependencies: [ | ||
"sentry_flutter_swift", | ||
.product(name: "Sentry", package: "sentry-cocoa") | ||
], | ||
publicHeadersPath:"include" | ||
), | ||
// SPM does not support mixed-language, so we need to move the swift files into a separate target | ||
.target( | ||
name: "sentry_flutter_swift", | ||
dependencies: [ | ||
.product(name: "Sentry", package: "sentry-cocoa") | ||
], | ||
publicHeadersPath:"include" | ||
) | ||
] | ||
) |
2 changes: 1 addition & 1 deletion
2
flutter/ios/Classes/SentryFlutterPlugin.m → ...rces/sentry_flutter/SentryFlutterPlugin.m
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
.../SentryFlutterReplayBreadcrumbConverter.m → .../SentryFlutterReplayBreadcrumbConverter.m
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters