解決react-native run-ios報錯問題--Print: Entry, ":CFBundleIdentifier", Does Not Exist
Mac環境下,在命令列中run-ios構建時報錯:CFBundleIdentifier", Does Not Exist
開啟XCode,進入.xcodeproj檔案,執行,編譯時報錯:'boost/iterator/iterator_adaptor.hpp' file not found’
這個問題只在react native 0.45.0及以後的版本中出現,stackoverflow 上的各種方法均無效。
先貼出解決方法 如下:
這個問題產生原因:
/Users/你的使用者名稱/.rncache中boost_1_63_0.tar.gz,double-conversion-1.1.5.tar.gz,folly-2016.09.26.00.tar.gz,glog-0.3.4.tar.gz檔案不完整。或者node_modules/react-native/third-party 檔案不完整。
具體操作:
1、刪除/user/你的使用者名稱/.rncache目錄下的boost_1_63_0。重新下載,下載網址http://www.boost.org/users/history/version_1_63_0.html
2、開啟命令列工具,在專案目錄下輸入rm -rf node_modules && rm -rf ~/.rncache && yarn
3、npm install
4、react-native upgrade
5、react-native run-ios
_________________________________________________________________________
若以上方法無效,可採用下面的方法:
建立專案暫時先使用react-native init MyApp –version 0.44.3,指定某個版本。
你可以使用–version引數(注意是兩個槓)建立指定版本的專案。例如react-native init MyApp -version 0.44.3。注意版本號必須精確到兩個小數點。
相關文章
- ORA-24756: transaction does not exist問題解決
- Oracle ORA - 01720 grant option does not exist for..報錯解決Oracle
- Hadoop的mapreduce出現問題,報錯The auxService:mapreduce_shuffle does not existHadoopUX
- Laravel Class env does not exist 問題排查Laravel
- Check table 169P: entry XXXX does not exist的解決
- git中出現”the requested upstream branch ‘origin/master‘ does not exist“問題的解決GitAST
- 解決Spark讀取Hive分割槽表出現Input path does not exist的問題SparkHive
- The operation, ‘DecodeJpeg/contents‘, does not exist in the graph.錯誤解決方法
- The file '/MasterPage.master' does not exist. 類錯誤解決方法AST
- o2cb_ctl: Cluster "ocfs2" does not exist 錯誤解決
- MySQL 5.7啟動資料庫報錯'does not exist or is not executable'MySql資料庫
- SAP MM 對採購訂單執行收貨,報錯 - Table T169P entry ZNMI does not exist -
- The specified JRE installation does not exist m2eclipse build Maven專案報錯的問題EclipseUIMaven
- ORA-27101 Shared memory realm does not exist錯誤解決方案
- oracle for linux安裝報錯 file /home/oracle/.Xauthority does not existOracleLinux
- The user specified as a definer ('wx_root'@'%') does not exist 解決方案
- 解決 Inkscape 報錯 Duplicate 問題
- signer information does not match問題解決ORM
- job呼叫過程報錯 ORA-00942: table or view does not existView
- MIRO Error:Table T169V: entry G180 does not existError
- Eclipse裡Tomcat報錯:Document base ……does not exist or is not a readable directory(圖文詳解)...EclipseTomcat
- mysql 1449 : The user specified as a definer ('root'@'%') does not exist 解決方法MySql
- 模擬ORA-04043並解決(dba_* does not exist)
- asmcmd does not exist in directoryASM
- MIGO Error:Check table 169P: entry G180 does not existGoError
- 探索 react-native run-ios(android)ReactiOSAndroid
- expdp ORA-31626: job does not exist 解決方案
- 解決eslint空格報錯等問題EsLint
- 設定autotrace的報錯問題解決
- 解決cookies儲存中文報錯問題Cookie
- 安裝vue/cli報錯問題解決Vue
- javax.media does not existJava
- 使用API28報錯問題及解決API
- jquery-weui微信支付報錯問題解決jQueryUI
- matplotlib中文報錯問題及解決方案
- mac 下PyCharm執行報錯問題解決MacPyCharm
- kettle工具從windows移植到linux上啟動報錯:\karaf/deploy does not existWindowsLinux
- Error: The directory named as part of the path ./log/supervisord.log does not exist解決方案Error