feat(ios): migrate to SPM dependencies#94
Conversation
|
Thank's for the PR. Please consider the impact on breaking changes. |
|
I got this warning: |
|
Hi @pinpong :) I didn't see such warning. Will check it :) At the moment, I guess, we can consider this PR like a draft. As long we will not be be forced to use SDK 11.x we are good with Pods :) In theory there shouldn't be any breaking changes as the script is from RN team directly. |
Google Maps iOS SDK works perfectly fine with static linking
|
Hi, Thanks again for pointing out this warning - I definitely wouldn’t want to keep something that could potentially be unstable. I think we can close this PR for now :) I see that you pushed correct source_files patterns in dev :) |
Pull request
Please ensure this PR targets the
devbranch and follows the project conventions.CI already runs linting, formatting, and build checks automatically.
Before submitting
devbranch (notmain)Summary
This PR modernizes the iOS dependency management by migrating external libraries to Swift Package Manager (SPM). This change addresses the recent announcement from Google Maps Platform that CocoaPods support is being phased out and will be discontinued starting with version 11.0.
Specific changes:
spm_dependencyfor the following libraries, pinning them to the same exact versions:source_filesconfiguration:source_filesdefinition into a single array to prevent overwrite issues.ios/**/*.{h,m,mm}to ensure Objective-C header files are correctly included alongside Swift files.apply_svgkit_patchas not needed when we use SPMType of change
Scope
Related
N/A
Additional notes
Verification:
pod installsuccessfully resolves all SPM dependencies.