Skip to content

Commit 8e281da

Browse files
committed
Update CodePush podspec for improved dependency management
1 parent 09c44fa commit 8e281da

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

CodePush.podspec

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,17 @@ Pod::Spec.new do |s|
99
s.author = package['author']
1010
s.license = package['license']
1111
s.homepage = package['homepage']
12-
s.source = { :git => 'https://github.com/microsoft/react-native-code-push.git', :tag => "v#{s.version}"}
12+
s.source = { :git => 'https://github.com/srcpush/react-native-code-push.git', :tag => "v#{s.version}"}
1313
s.ios.deployment_target = '15.5'
1414
s.tvos.deployment_target = '15.5'
1515
s.preserve_paths = '*.js'
1616
s.library = 'z'
1717
s.source_files = 'ios/CodePush/*.{h,m}'
1818
s.public_header_files = ['ios/CodePush/CodePush.h']
19+
s.pod_target_xcconfig = { "DEFINES_MODULE" => "YES" }
1920

20-
# Note: Even though there are copy/pasted versions of some of these dependencies in the repo,
21-
# we explicitly let CocoaPods pull in the versions below so all dependencies are resolved and
21+
# Note: Even though there are copy/pasted versions of some of these dependencies in the repo,
22+
# we explicitly let CocoaPods pull in the versions below so all dependencies are resolved and
2223
# linked properly at a parent workspace level.
2324
s.dependency 'React-Core'
2425
s.dependency 'SSZipArchive', '~> 2.5.5'

0 commit comments

Comments
 (0)