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