Skip to content

Commit 9e16f9d

Browse files
fix: revert podspec git dependency (not allowed by CocoaPods)
CocoaPods doesn't allow :git in podspec files. The git dependency must be specified in the consuming app's Podfile instead. For EasyJet integration, they should add to their Podfile: pod 'OptimizelySwiftSDK', :git => 'https://github.com/optimizely/swift-sdk.git', :branch => 'fix/upgrade-nwpathmonitor-ios17-requirement' Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
1 parent 364b7a2 commit 9e16f9d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ios/optimizely_flutter_sdk.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Pod::Spec.new do |s|
1313
s.source = { :path => '.' }
1414
s.source_files = 'Classes/**/*'
1515
s.dependency 'Flutter'
16-
s.dependency 'OptimizelySwiftSDK', :git => 'https://github.com/optimizely/swift-sdk.git', :branch => 'fix/upgrade-nwpathmonitor-ios17-requirement'
16+
s.dependency 'OptimizelySwiftSDK'
1717
s.platform = :ios, '10.0'
1818
# Flutter.framework does not contain a i386 slice.
1919
s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES', 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'i386' }

0 commit comments

Comments
 (0)