Repository navigation
feat(ios): Swift Package Manager, native SDK off CocoaPods trunk - #23
Merged
Merged
Conversation
The sources move to ios/rees46_sdk/Sources/rees46_sdk, where Flutter expects a Swift package, and ios/rees46_sdk/Package.swift takes the native SDK from its repository tag. The podspec builds the same files for apps with Swift Package Manager support off.
3.36.1 keeps the device id when an app moves from CocoaPods to Swift Package Manager, and loads the search widget's strings from the package bundle. It is not on CocoaPods trunk.
A CocoaPods build needs the native pod from its repository now, a line the example's Podfile does not keep; the lock is what the default Swift Package Manager build leaves.
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
CocoaPods trunk is read-only from 2 December 2026; the native iOS SDK now ships through Swift Package Manager.
ios/rees46_sdk/Package.swifttakes the native SDK from its repository tag. The sources move toios/rees46_sdk/Sources/rees46_sdk, and the podspec builds the same files.Host impact: apps that build plugins through CocoaPods (Swift Package Manager off, or Flutter before 3.44) add
pod 'REES46', :git => 'https://github.com/rees46/ios-sdk.git', :tag => 'v3.36.1'toios/Podfile, since 3.36.1 is not on trunk.