【发布时间】:2017-04-29 06:00:00
【问题描述】:
react-native-cli: 1.0.0
react-native: 0.39.2
我克隆了一个 react native 项目。然后我运行npm install,然后运行react-native run-ios。该项目因以下错误而失败。
请不要让项目在 xcode 中运行良好。
有什么想法吗?
以下命令产生了分析器问题:
Analyze RCTLocationObserver.m
(1 个带有分析器问题的命令)
以下构建命令失败: CompileC /Users/jordanmc/Documents/src/Safetypin%20React-Native/ios/build/Build/Intermediates/RCTLinking.build/Debug-iphonesimulator/RCTLinking.build/Objects-normal/x86_64/RCTLinkingManager.o RCTLinkingManager.m 正常 x86_64目标-c com.apple.compilers.llvm.clang.1_0.compiler CompileC /Users/jordanmc/Documents/src/Safetypin%20React-Native/ios/build/Build/Intermediates/RCTGeolocation.build/Debug-iphonesimulator/RCTGeolocation.build/Objects-normal/x86_64/RCTLocationObserver.o RCTLocationObserver.m 正常 x86_64目标-c com.apple.compilers.llvm.clang.1_0.compiler CompileC /Users/jordanmc/Documents/src/Safetypin%20React-Native/ios/build/Build/Intermediates/RCTText.build/Debug-iphonesimulator/RCTText.build/Objects-normal/x86_64/RCTTextManager.o RCTTextManager.m normal x86_64目标-c com.apple.compilers.llvm.clang.1_0.compiler (3 次失败)
安装 build/Build/Products/Debug-iphonesimulator/Safetypin.app 处理命令时遇到错误(域=NSPOSIXErrorDomain,代码=2): 未能安装请求的应用程序 在提供的路径中找不到应用程序包。 提供所需应用程序包的有效路径。 打印:条目,“:CFBundleIdentifier”,不存在
命令失败:/usr/libexec/PlistBuddy -c Print:CFBundleIdentifier build/Build/Products/Debug-iphonesimulator/Safetypin.app/Info.plist 打印:条目,“:CFBundleIdentifier”,不存在
【问题讨论】:
标签: react-native