問題:xcode 7編譯錯誤:bitcode is not supported on versions of iOS prior to 6.0
解決:Build Options | Enable Bitcode 設置為No即可
原因:這是Apple Watch使用的
問題:Build iOS時提示沒法拉起Xcode:
UnityException: Launching iOS project via Xcode4 failed. Check editor log for details。
解決:最新版xcode有這個問題烫饼,手動打開xcode即可驹愚。
問題:在使用Append模式導出xcode時焚碌,Unity出現(xiàn)以下錯誤:
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.
問題:app installation failed an unknow error
解決:(1)Clean & Build(2)重啟XCode(3)Window -> Projects -> 選擇項目 -> 刪除Derived Data
問題: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)裝了包標識符一樣的 App威始,刪掉再運行。
問題:在使用Xcode進行真機調試時,彈出對話框”Could not find Developer Disk Image"
解決:在“/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport”里列出了當前版本的Xcode7.0支持的設備列表剩燥。
如果沒有不支持當前ios版本則需要升級xcode。
Build iOS的2個選項:
- Append:只更新變化的部分
- Replace:重新替換所有部分
在點run的時候你會發(fā)現(xiàn)立倍,所有的scene和Resources里的東西都會打包成assets結尾的東西灭红,復制到目錄下,這個過程的長短口注,取決于你的scene有多大变擒,你的Resources內容多不多。
問題:如何查看一個ipa的證書
解決:將ipa解壓出app寝志,然后運行命令
codesign -vv -d ***.app赁项,即可查看