![](/img/trans.png)
[英]Print: Entry, “:CFBundleIdentifier”, Does Not Exist in React native IOS build
[英]React native run iOS build failed error: Multiple commands produceEntry, “:CFBundleIdentifier”, Does Not Exist
安裝react native項目依賴項並執行react-native link
,當我運行命令react-native run-ios
時會出現此錯誤。
Build system information
error: Multiple commands produce ...
1) Target 'ReactNativeNavigation' (project 'ReactNativeNavigation') has copy command from '.../node_modules/react-native-navigation/lib/ios/ReactNativeNavigation.h' to '.../ios/build/Build/Products/Debug-iphonesimulator/include/ReactNativeNavigation/ReactNativeNavigation.h'
2) Target 'ReactNativeNavigation' (project 'ReactNativeNavigation') has copy command from '.../node_modules/react-native-navigation/lib/ios/ReactNativeNavigation.h' to '.../ios/build/Build/Products/Debug-iphonesimulator/include/ReactNativeNavigation/ReactNativeNavigation.h'
** BUILD FAILED **
Installing build/Build/Products/Debug-iphonesimulator/myapp.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/myapp.app/Info.plist
Print: Entry, ":CFBundleIdentifier", Does Not Exist
提供更多信息:
react-native-cli: 2.0.1
react-native: 0.56.0
xcode 10.0
node v10.11.0
npm 6.4.1
謝謝
這是react-native-navigation
錯誤,並在此提交中修復
一個臨時的解決是去ReactNativeNavigation.xcodeproj
在您的項目hirerchy(應該是在庫),然后選擇ReactNativeNavigation
下目標 (而不是項目 ),然后選擇Build階段>復制文件,並檢查Copy only when installing
。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.