fix(ios): remove SPM duplicate for mParticle-Apple-SDK#309
fix(ios): remove SPM duplicate for mParticle-Apple-SDK#309nickolas-dimitrakas merged 1 commit intomainfrom
Conversation
CocoaPods already resolves mParticle-Apple-SDK. The RN spm_dependency hook pulled the same xcframework twice, which broke Release archives (EAS) with duplicate .signature files. Closes #308 Made-with: Cursor
PR SummaryLow Risk Overview This prevents iOS builds from pulling the same mParticle XCFramework via both CocoaPods and SPM, reducing duplicate-artifact/archive failures. Reviewed by Cursor Bugbot for commit 06d4284. Bugbot is set up for automated code reviews on this repo. Configure here. |
There was a problem hiding this comment.
Pull request overview
Removes the React Native SPM bridge registration for mParticle-Apple-SDK from the module podspec to prevent SPM + CocoaPods from pulling the same xcframework twice (fixing archive/signature collisions).
Changes:
- Remove the
spm_dependencyblock formParticle-Apple-SDKfromreact-native-mparticle.podspec - Keep
mParticle-Apple-SDKas a CocoaPods dependency (~> 8.0)
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Summary
Removes the
spm_dependencyblock fromreact-native-mparticle.podspec. iOS continues to use the existing CocoaPods dependency onmParticle-Apple-SDK.Why
React Native’s SPM bridge pulled the same Apple SDK xcframework alongside CocoaPods, which led to duplicate
mParticle_Apple_SDK.xcframework-ios.signaturecollection and Release archive failures (including EAS).Closes
Closes #308
Made with Cursor