Environment
react-native:
⇒ react-native -v
react-native-cli: 2.0.1
react-native: 0.46.1
node: v8.1.3
npm: 5.0.3
yarn: 0.27.5
- Target Platform: iOS
- Development Operating System: macOS Sierra
- Build tools: Xcode 8.3.3
Steps to Reproduce
- Project with
RN 0.44
yarn upgrade --latest
react-native-git-upgrade
react-native run-ios
Expected Behavior
Expect my project to build
Actual Behavior
After upgrading to RN 0.46 from 0.44 i tried to run the project by using react-native run-ios but it fails building it with this error:
react-native run-ios produce this error:
export WRAP_ASSET_PACKS_IN_SEPARATE_DIRECTORIES=NO
export XCODE_APP_SUPPORT_DIR=/Applications/Xcode.app/Contents/Developer/Library/Xcode
export XCODE_PRODUCT_BUILD_VERSION=8E3004b
export XCODE_VERSION_ACTUAL=0833
export XCODE_VERSION_MAJOR=0800
export XCODE_VERSION_MINOR=0830
export XPCSERVICES_FOLDER_PATH=myApp.app/XPCServices
export YACC=yacc
export arch=x86_64
export variant=normal
/bin/sh -c /Users/vood/dev/myApp/ios/build/Build/Intermediates/myApp.build/Debug-iphonesimulator/myApp.build/Script-00DD1BFF1BD5951E006B06BC.sh
/Users/vood/dev/myApp/ios/build/Build/Intermediates/myApp.build/Debug-iphonesimulator/myApp.build/Script-00DD1BFF1BD5951E006B06BC.sh: line 3: ../node_modules/react-native/packager/react-native-xcode.sh: No such file or directory
** BUILD FAILED **
The following build commands failed:
PhaseScriptExecution Bundle\ React\ Native\ code\ and\ images build/Build/Intermediates/myApp.build/Debug-iphonesimulator/myApp.build/Script-00DD1BFF1BD5951E006B06BC.sh
Environment
react-native:
node:
v8.1.3npm:
5.0.3yarn:
0.27.5Steps to Reproduce
RN 0.44yarn upgrade --latestreact-native-git-upgradereact-native run-iosExpected Behavior
Expect my project to build
Actual Behavior
After upgrading to
RN 0.46from0.44i tried to run the project by usingreact-native run-iosbut it fails building it with this error:react-native run-iosproduce this error: