-
Notifications
You must be signed in to change notification settings - Fork 165
Add Swift Package Manager support for iOS #604
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
deepak786
merged 4 commits into
deepak786:master
from
Wreos:add-swift-package-manager-support
Feb 16, 2026
Merged
Changes from all commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
59f21f8
Add Swift Package Manager support for iOS
Wreos 823cb4d
Update intercom_flutter/ios/.gitignore
Wreos e8948c0
Update intercom_flutter/ios/intercom_flutter/Sources/intercom_flutter…
Wreos d0cb63d
Delete intercom_flutter/ios/intercom_flutter/Package.resolved
deepak786 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 |
|---|---|---|
| @@ -1 +1,2 @@ | ||
| /intercom_flutter/example/lib/generated_plugin_registrant.dart | ||
| .idea/ |
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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 |
|---|---|---|
|
|
@@ -34,3 +34,8 @@ Icon? | |
| .tags* | ||
|
|
||
| /Flutter/Generated.xcconfig | ||
|
|
||
| # Swift Package Manager | ||
| .build/ | ||
| .swiftpm/ | ||
| **/Package.resolved | ||
This file contains hidden or 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
This file contains hidden or 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,29 @@ | ||
| // 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: "intercom_flutter", | ||
| platforms: [ | ||
| .iOS("15.0") | ||
| ], | ||
| products: [ | ||
| .library(name: "intercom-flutter", targets: ["intercom_flutter"]) | ||
| ], | ||
| dependencies: [ | ||
| .package(url: "https://github.com/intercom/intercom-ios-sp.git", exact: "19.5.1") | ||
| ], | ||
| targets: [ | ||
| .target( | ||
| name: "intercom_flutter", | ||
| dependencies: [ | ||
| .product(name: "Intercom", package: "intercom-ios-sp") | ||
| ], | ||
| resources: [], | ||
| cSettings: [ | ||
| .headerSearchPath("include/intercom_flutter") | ||
| ] | ||
| ) | ||
| ] | ||
| ) |
2 changes: 1 addition & 1 deletion
2
...utter/ios/Classes/IntercomFlutterPlugin.m → .../intercom_flutter/IntercomFlutterPlugin.m
This file contains hidden or 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.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.