Open zhuzhengwei opened 7 years ago
你是Xcode升级到8.0才出现的问题吧 解决办法: 选择Libraries —> RCTWebSocket.xcodeproj —> TARGETS —> RCTWebSocket —> Build Setting —> 搜索框中输入custom compiler flag —> 将左侧flag的标志对应的右边的值删掉
https://github.com/liuhongjun719/react-native-DaidaiHelperNew 最下面有图片提示操作
\ 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