1、使用instruments调试性能时,报错target
failed to run:remote exception encountered:failed to get pid xxx
http://fayxjc.blog.163.com/blog/static/366502152011107112910857 /
解决方法:把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
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