You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 20, 2025. It is now read-only.
[CocoaPods] Resolve dependencies at parent level (#1210)
* [CocoaPods] Let it resolve dependencies
This is necessary versus using subspecs since CocoaPods needs to be able to resolve the dependencies properly at the parent workspace level based on needed versions. Otherwise, you end up with very opaque linking errors.
pod 'CodePush', :path => '../node_modules/react-native-code-push'
39
39
```
40
40
41
-
CodePush depends on an internal copy of the `SSZipArchive`, `JWT` and `Base64` libraries, so if your project already includes some of them (either directly or via a transitive dependency), then you can install a version of CodePush which excludes it by depending specifically on the needed subspecs:
41
+
*NOTE: The above path needs to be relative to your app's `Podfile`, so adjust it as necessary.*
42
42
43
-
```ruby
44
-
# `SSZipArchive`, `JWT` and `Base64` already in use
45
-
pod 'CodePush', :path => '../node_modules/react-native-code-push', :subspecs => ['Core']
46
-
47
-
# or for example
48
-
49
-
# `SSZipArchive` and `Base64` already in use
50
-
pod 'CodePush', :path => '../node_modules/react-native-code-push', :subspecs => ['Core', 'JWT']
51
-
```
52
-
53
-
*NOTE: The above paths needs to be relative to your app's `Podfile`, so adjust it as neccessary.*
0 commit comments