Skip to content

Commit 37d1db5

Browse files
fix(ios): remove SPM duplicate for mParticle-Apple-SDK (#309)
1 parent 7cfeac9 commit 37d1db5

1 file changed

Lines changed: 0 additions & 11 deletions

File tree

react-native-mparticle.podspec

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -25,16 +25,5 @@ Pod::Spec.new do |s|
2525
s.dependency "React-Core"
2626
end
2727

28-
# Primary: CocoaPods dependency (still works when SPM is not used)
2928
s.dependency 'mParticle-Apple-SDK', '~> 8.0'
30-
31-
# SPM bridge: registers mParticle-Apple-SDK as an SPM dependency alongside CocoaPods (RN 0.75+).
32-
# See: https://github.com/facebook/react-native/pull/44627
33-
if respond_to?(:spm_dependency, true)
34-
spm_dependency(s,
35-
url: 'https://github.com/mParticle/mparticle-apple-sdk.git',
36-
requirement: { kind: 'upToNextMajorVersion', minimumVersion: '8.0.0' },
37-
products: ['mParticle-Apple-SDK']
38-
)
39-
end
4029
end

0 commit comments

Comments
 (0)