xcode常見(jiàn)錯(cuò)誤處理

問(wèn)題:xcode 7編譯錯(cuò)誤:bitcode is not supported on versions of iOS prior to 6.0

解決:Build Options | Enable Bitcode 設(shè)置為No即可

原因:這是Apple Watch使用的


問(wèn)題:Build iOS時(shí)提示沒(méi)法拉起Xcode:

UnityException: Launching iOS project via Xcode4 failed. Check editor log for details。

解決:最新版xcode有這個(gè)問(wèn)題,手動(dòng)打開(kāi)xcode即可。


問(wèn)題:在使用Append模式導(dǎo)出xcode時(shí),Unity出現(xiàn)以下錯(cuò)誤:

Error building Player: KeyNotFoundException: The given key was not present in the dictionary.

解決:This issue has been fixed. The fix will appear in 4.6.6p1 and 5.0.3.


問(wèn)題:app installation failed an unknow error

解決:(1)Clean & Build(2)重啟XCode(3)Window -> Projects -> 選擇項(xiàng)目 -> 刪除Derived Data


問(wèn)題:This application's application-identifier entitlement does not match that of the installed application. These values must match for an upgrade to be allowed.

解決:iPhone上已經(jīng)裝了包標(biāo)識(shí)符一樣的 App,刪掉再運(yùn)行。


問(wèn)題:在使用Xcode進(jìn)行真機(jī)調(diào)試時(shí),彈出對(duì)話(huà)框”Could not find Developer Disk Image"

解決:在“/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport”里列出了當(dāng)前版本的Xcode7.0支持的設(shè)備列表。

如果沒(méi)有不支持當(dāng)前ios版本則需要升級(jí)xcode。

Build iOS的2個(gè)選項(xiàng):

Append:只更新變化的部分

Replace:重新替換所有部分

在點(diǎn)run的時(shí)候你會(huì)發(fā)現(xiàn),所有的scene和Resources里的東西都會(huì)打包成assets結(jié)尾的東西,復(fù)制到目錄下,這個(gè)過(guò)程的長(zhǎng)短,取決于你的scene有多大,你的Resources內(nèi)容多不多。


問(wèn)題:如何查看一個(gè)ipa的證書(shū)

解決:將ipa解壓出app,然后運(yùn)行命令

codesign -vv -d ***.app,即可查看

最后編輯于
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請(qǐng)聯(lián)系作者
【社區(qū)內(nèi)容提示】社區(qū)部分內(nèi)容疑似由AI輔助生成,瀏覽時(shí)請(qǐng)結(jié)合常識(shí)與多方信息審慎甄別。
平臺(tái)聲明:文章內(nèi)容(如有圖片或視頻亦包括在內(nèi))由作者上傳并發(fā)布,文章內(nèi)容僅代表作者本人觀點(diǎn),簡(jiǎn)書(shū)系信息發(fā)布平臺(tái),僅提供信息存儲(chǔ)服務(wù)。

相關(guān)閱讀更多精彩內(nèi)容

友情鏈接更多精彩內(nèi)容