mistakia/record-app

'npm run start:ios' error

xuruijing opened this issue · 0 comments

I used the latest project code and the following error occurred while running npm run start:ios. `> Record@0.0.1 start:ios /Users/xuruijing/Downloads/record-app-master-0611

react-native run-ios

Scanning folders for symlinks in /Users/xuruijing/Downloads/record-app-master-0611/node_modules (49ms)
Found Xcode project Record.xcodeproj
Launching iPhone 6 (iOS 11.2)...
Building using "xcodebuild -project Record.xcodeproj -configuration Debug -scheme Record -destination id=F81B8C79-6F4D-4575-B0A4-0F510CA0FEAE -derivedDataPath build"
User defaults from command line:

IDEDerivedDataPathOverride = /Users/xuruijing/Downloads/record-app-master-0611/ios/build

xcodebuild: error: The project named "Record" does not contain a scheme named "Record". The "-list" option can be used to find the names of the schemes in the project.

Installing build/Build/Products/Debug-iphonesimulator/Record.app
An error was encountered processing the command (domain=NSPOSIXErrorDomain, code=2):
Failed to install the requested application
An application bundle was not found at the provided path.
Provide a valid path to the desired application bundle.
Print: Entry, ":CFBundleIdentifier", Does Not Exist

Command failed: /usr/libexec/PlistBuddy -c Print:CFBundleIdentifier build/Build/Products/Debug-iphonesimulator/Record.app/Info.plist
Print: Entry, ":CFBundleIdentifier", Does Not Exist

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! Record@0.0.1 start:ios: react-native run-ios
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the Record@0.0.1 start: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/xuruijing/.npm/_logs/2018-06-11T04_43_24_340Z-debug.log`