iOS調試問題集錦

來源:互聯網
上載者:User

1、使用instruments調試效能時,報錯target
failed to run:remote exception encountered:failed to get pid xxx

解決方案:把release的認證調成development時的認證,Xcode4使用profile功能時,會自動切換到release模式。可參考:http://stackoverflow.com/questions/2661399/instruments-target-failed-to-run

2、使用iOS 5.0編譯deployment,如果設定低於iPhone3.0時,會提示,warning:iPhone
apps with a deployment target lower than 4.3 should include an armv6 architecture(current IPHONEOS_DEPLOYMENT_TARGET = "4.0",ARCHS = "armv7"). 解決方案:在architecture設定那裡,手動添加armv6,確定即可。可參考:http://www.cnblogs.com/lovecode/articles/2263592.html          http://fayxjc.blog.163.com/blog/static/366502152011107112910857/

3、 Error
launching remote program: failed to get the task for process XXX 如何處理
解決方案:看debug/distribution選項是否正確,看認證是否選擇正確。
4、Mac OS 10.7.3使用Application loader提交程式驗證失敗解決方案:http://artori.us/mac-os-10-7-3-breaks-xcode-binary-validation/?comments=true
相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.