Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

编译失败 #1

Open
zhuzhengwei opened this issue Oct 8, 2016 · 1 comment
Open

编译失败 #1

zhuzhengwei opened this issue Oct 8, 2016 · 1 comment

Comments

@zhuzhengwei
Copy link

** BUILD FAILED **

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

@liuhongjun719
Copy link
Owner

liuhongjun719 commented Oct 8, 2016

你是Xcode升级到8.0才出现的问题吧
解决办法:
选择Libraries —> RCTWebSocket.xcodeproj —> TARGETS —> RCTWebSocket —> Build Setting —> 搜索框中输入custom compiler flag —> 将左侧flag的标志对应的右边的值删掉

https://github.com/liuhongjun719/react-native-DaidaiHelperNew 最下面有图片提示操作

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants