react-native构建失败(run-ios)

时间:2019-03-19 15:46:08

标签: react-native

我尝试使用本地代码从CRNA传递到React-Native应用程序。当我使用react-native run-ios进行构建时,构建失败,并且我不知道该怎么办!

**生成失败**

以下构建命令失败:

CompileC /Users/Karl/Documents/Applications/MyItems51Work/ios/build/Build/Intermediates.noindex/React.build/Debug-iphonesimulator/third-party.build/Objects-normal/x86_64/raw_logging.o /Users/Karl/Documents/Applications/MyItems51Work/node_modules/react-native/third-party/glog-0.3.4/src/raw_logging.cc normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler

(1次失败)

安装内部版本/内部版本/产品/Debug-iphonesimulator/MyItems.app 处理命令时遇到错误(domain = NSPOSIXErrorDomain,代码= 22): 无法安装请求的应用程序 无法确定应用程序的捆绑包标识符。 确保应用程序的Info.plist包含CFBundleIdentifier的值。 打印:条目“:CFBundleIdentifier”不存在

命令失败:/ usr / libexec / PlistBuddy -c Print:CFBundleIdentifier build / Build / Products / Debug-iphonesimulator / MyItems.app / Info.plist 打印:条目“:CFBundleIdentifier”不存在

1 个答案:

答案 0 :(得分:0)

链接问题通常具有误导性,并且不容易调试:

this question拥有避免此类问题的良好做法。

相关问题