學科:IOS/KB/調試不能

來自維基學院

不能在老舊的設備上運行[編輯 | 編輯原始碼]

對於armv6的設備:

  • 移除 info.plist 里的 Required device capabilities 這項
  • 編譯選項中的 Architectures 若沒有armv6 這項,需要加上
  • 如果應用圖標出現在設備上了,但應用還是跑不起來,Xcode無任何提示,需要檢查設備日誌

Error launching remote program: failed to get the task for process[編輯 | 編輯原始碼]

要點:

  • 以發布模式(如AdHoc)編譯出的應用不能被調試
  • 嘗試重啟Xcode或Mac

參考:http://stackoverflow.com/q/2182249/945906

Could not change executable permissions on the application[編輯 | 編輯原始碼]

把設備或模擬器上的應用刪除後再試。