【发布时间】:2019-06-11 09:32:37
【问题描述】:
我真的很难理解 Xcode 的内部结构,我得到的最新错误是这个:
** BUILD FAILED **
The following build commands failed:
PhaseScriptExecution Strip\ Frameworks /Users/danale/Library/Developer/Xcode/DerivedData/build/Build/Intermediates.noindex/NFIBEngage.build/Debug-iphonesimulator/PROD.build/Script-8CBD27422B744FC9C0407AA3.sh
(1 failure)
Installing build/Build/Products/Debug-iphonesimulator/NFIBEngage.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/NFIBEngage.app/Info.plist
Print: Entry, ":CFBundleIdentifier", Does Not Exist
我该如何解决这个问题?到目前为止,我所看到的都没有奏效。应用程序本身在模拟器中加载得很好,但我不断收到构建失败。
我在安装 React Native 0.53.3 和 React 16.2 时遇到了这个错误,当我升级到 React Native 0.59.9 和 React 16.8 时,我继续收到这个错误。
【问题讨论】: