运行 react-native run-ios报错,怎么解决?
The following build commands failed: CompileC /Users/weiyang/Documents/self-project/react-native/JdApp/ios/build/Build/Intermediates/RCTText.build/Debug-iphonesimulator/RCTText.build/Objects-normal/x86_64/RCTTextManager.o RCTTextManager.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler CompileC /Users/weiyang/Documents/self-project/react-native/JdApp/ios/build/Build/Intermediates/RCTNetwork.build/Debug-iphonesimulator/RCTNetwork.build/Objects-normal/x86_64/RCTNetworkTask.o RCTNetworkTask.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler (2 failures)
Installing build/Build/Products/Debug-iphonesimulator/JdApp.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/JdApp.app/Info.plist Print: Entry, ":CFBundleIdentifier", Does Not Exist
weiyangdeMacBook-Pro:JdApp weiyang$ react-native -v react-native-cli: 2.0.1 react-native: 0.48.4
@weiyang123 BundleId检查一下,应该是Xcode工程的事