JdApp icon indicating copy to clipboard operation
JdApp copied to clipboard

运行 react-native run-ios报错,怎么解决?

Open weiyang123 opened this issue 8 years ago • 1 comments

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 avatar Sep 26 '17 05:09 weiyang123

@weiyang123 BundleId检查一下,应该是Xcode工程的事

yuanguozheng avatar Sep 26 '17 07:09 yuanguozheng