GitHubPopular icon indicating copy to clipboard operation
GitHubPopular copied to clipboard

react-native run-ios 之后报的错误

Open jiakaiHE opened this issue 7 years ago • 6 comments

The following build commands failed: CompileC /Users/jiakaihe/Desktop/GitHubPopular-master/ios/build/Build/Intermediates/RCTWebSocket.build/Debug-iphonesimulator/RCTWebSocket.build/Objects-normal/x86_64/RCTSRWebSocket.o RCTSRWebSocket.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler (1 failure) Installing build/Build/Products/Debug-iphonesimulator/GitHubPopular.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/GitHubPopular.app/Info.plist Print: Entry, ":CFBundleIdentifier", Does Not Exist

jiakaiHE avatar Mar 07 '17 08:03 jiakaiHE

the same issue with me:

The following build commands failed:
	CompileC /Users/yuyanq/Documents/bitcoinhelper/bitcoinHelper/GitHubPopular/ios/build/Build/Intermediates/SplashScreen.build/Debug-iphonesimulator/SplashScreen.build/Objects-normal/x86_64/SplashScreen.o SplashScreen.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
(1 failure)
Installing build/Build/Products/Debug-iphonesimulator/GitHubPopular.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/GitHubPopular.app/Info.plist
Print: Entry, ":CFBundleIdentifier", Does Not Exist

yuguangmao avatar Mar 10 '17 11:03 yuguangmao

Try running react-native upgradeand then say yes to all subscribing messages. After that, try react-native run-ios again stackoverflow

yuguangmao avatar Mar 11 '17 05:03 yuguangmao

@yuguangmao stackoverflow 里面方法试了,也不管用

yangfei19881024 avatar Mar 23 '17 02:03 yangfei19881024

这个问题,你可以参考作者的这篇文章将RN版本升级到最新版试试,我刚才这么做解决了类似的问题。

sh0rt2020 avatar Apr 06 '17 02:04 sh0rt2020

我也是这个问题,react-native run-ios出现了Command failed: /usr/libexec/PlistBuddy -c Print:CFBundleIdentifier build/Build/Products/Debug-iphonesimulator/GitHubPopular.app/Info.plist Print: Entry, ":CFBundleIdentifier", Does Not Exist等类似的情况。

Panshuyan avatar May 05 '17 02:05 Panshuyan

Who can solve this problem?

The following build commands failed: CompileC /Users/niklaus/Documents/reactNative/GitHubPopular-master/ios/build/Build/Intermediates/RCTWebSocket.build/Debug-iphonesimulator/RCTWebSocket.build/Objects-normal/x86_64/RCTSRWebSocket.o RCTSRWebSocket.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler (1 failure) Installing build/Build/Products/Debug-iphonesimulator/GitHubPopular.app No devices are booted. Print: Entry, ":CFBundleIdentifier", Does Not Exist

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

LJNiklaus avatar Aug 07 '17 09:08 LJNiklaus