react-native-code-push
react-native-code-push copied to clipboard
iOS Build fail after Plugin Installation
Steps to Reproduce
- Open your app's Xcode project
- Find the CodePush.xcodeproj file within the node_modules/react-native-code-push/ios directory (or node_modules/react- native-code-push for <=1.7.3-beta installations) and drag it into the Libraries node in Xcode
- Select the project node in Xcode and select the "Build Phases" tab of your project configuration.
- Drag libCodePush.a from Libraries/CodePush.xcodeproj/Products into the "Link Binary With Libraries" section of your project's "Build Phases" configuration.
Expected Behavior
Be able to build and test app after plugin installation
Actual Behavior
Build fail with error : error build: Command Ld failed with a nonzero exit code
Environment
- react-native-code-push version: 7.0.5
- react-native version: 0.66.3
- iOS version: 16
- Does this reproduce on a debug build or release build? : debug Build
- Does this reproduce on a simulator, or only on a physical device? : physical Device
Works fine for Android.