react-native-code-push icon indicating copy to clipboard operation
react-native-code-push copied to clipboard

iOS Build fail after Plugin Installation

Open YadhuYk007 opened this issue 3 years ago • 0 comments

Steps to Reproduce

  1. Open your app's Xcode project
  2. 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
  3. Select the project node in Xcode and select the "Build Phases" tab of your project configuration.
  4. 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.

YadhuYk007 avatar Oct 03 '22 13:10 YadhuYk007