I have a react-native app I am creating, in which I am following a tutorial, and this app will not build any more. Since I added Redux (and I did this the day after the app was working perfectly), the app has been all over the place. I reverted code, I re-installed node modules. I even created a new project and brought over the code and ran npm install
and yet nothing still will work. I even cleared build files via xcode and that didn't really help either.
The error I am getting is:
info Found Xcode project "rncourse_new.xcodeproj"
info Building (using "xcodebuild -project rncourse_new.xcodeproj -configuration Debug -scheme rncourse_new -destination id=E9C3D218-C3D5-4D9F-8931-0900B1C
DD86B -derivedDataPath build/rncourse_new")
.........
error Failed to build iOS project. We ran "xcodebuild" command but it exited with error code 65. To debug build logs further, consider building your app w
ith Xcode.app, by opening rncourse_new.xcodeproj. Run CLI with --verbose flag for more details.
User defaults from command line:
IDEDerivedDataPathOverride = /Users/myusername/Desktop/SE_Things/Udemy/react-native/rncourse_new/ios/build/rncourse_new
note: Using new build system
note: Planning build
note: Constructing build description
Build system information
error: Unable to resolve build file: XCBCore.BuildFile (missingTargetProductReference("3b72bb1ebc7660513872fe9a221d33fb29fe2a87b7c65fea7a8f025b04a3b7ff"))
(in target 'rncourse_new')
** BUILD FAILED **
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! rn-course@0.1.0 ios: `react-native run-ios`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the rn-course@0.1.0 ios script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/myusername/.npm/_logs/2019-08-07T23_37_29_541Z-debug.log
Not sure where else to go with this, I even asked the owner of the tutorial and I am waiting for him to get back to me again (he originally told me to re-create the project and bring over his code which I did, and it didn't work).
Here is the link to my github repo:
https://github.com/ThatDevOpNeal/react-native
All that needs to be done is an npm install
(do not run npm audit fix) and npm run ios
or react-native run-ios
.