ios編譯庫檔案時出現的問題

2021-07-12 06:00:45 字數 977 閱讀 1208

1. 警告:directory not found for option 「******xx」 檔案路徑未找到

2. missing required architecture i386 in file 「******/.a」 說明你的這個library檔案是為device (arm架構)設計的,不支援simulator (i386架構)

相關知識

參考stackoverfollow

arm架構問題

手機的架構是為arm架構

我遇到的問題

在終端裡檢視你的.a庫是不是支援i386

解決方法:

有i386的libwechatsdk.a

使用真機測試

2.解決架構問頭後在工程裡出現了以下問題:

螢幕快照 2014-12-11 下午3.43.16.png

解決方法:

CGAL編譯時出現的問題

用cmake編譯cgal時出現的問題,有懂這個的朋友可以幫忙看一看嗎?the imported target qt5 help references the file but this file does not exist.possible reasons include the file was...

使用json庫 編譯出現的問題

在使用json的lib庫時候出現的錯誤 msvcprtd.lib msvcp100d.dll error lnk2005 public void thiscall std container base12 orphan all void orphan all container base12 std...

g 編譯時總是出現倒計時問題

make warning file mtrpcserver real pro.cpp has modification time 41 s in the future make warning file mtrpcserver real pro.cpp has modification time 4...