
iOS debug
xytisxyt
程序猿。C/C++、Objective-C
展开
-
ios:程序打包时出现The identity 'iPhone Distribution:XXX doesn't match any valid的解决方法
程序在模拟器上运行的时候没有问题,当我用真机运行或者是打包的时候,就会报错,出现: The identity 'iPhone Distribution: xxx doesn't match any valid, non-expired certificate/private key pair in your keychains。 解决方法为: 1、进入程序所在的目录,找到xx.xcodeproje转载 2013-08-26 09:23:25 · 1003 阅读 · 0 评论 -
Could not change executable permissions on the application
from:http://blog.youkuaiyun.com/like7xiaoben/article/details/8523702 Could not change executable permissions on the application. 这个错误是因为 证书我们用了两次。就是说在真机上已经有了一个用了此证书的项目存在,只要把之前的项目从真机上删掉,这个项目就可以使用了。转载 2015-01-27 10:17:12 · 405 阅读 · 0 评论 -
Xcode cannot run using the selected device
查看证书是否是正确的 查看s是否是正确的 PROJECT --> Info --> Deployment Target --> IOS Deployment Target 里面的值 要设置为 TARGETS --> Summary --> IOS Application Target --> Deployment Target 里面的值 要设置为原创 2014-08-31 09:28:38 · 359 阅读 · 0 评论 -
iphone"此证书是由未知颁发机构签名的"的解决办法
由于误删除,将开发证书给弄没了,导致Certificates中更新的证书都提示此证书是由未知颁发机构签名的,不能实机调试,解决办法是重新下载AppleWWDRCA.cer 地址是:http://developer.apple.com/certificationauthority/AppleWWDRCA.cer 下载后运行自动导入到钥匙串中,一切就正常了。 如果出现 Command /转载 2014-09-18 09:44:32 · 427 阅读 · 0 评论 -
Choose a destination with a supported architecture in order to run on this device.
from :http://blog.youkuaiyun.com/smking/article/details/18363163 通常出现这个问题的原因是以前的老项目在新版本的xcode中打开时会出现为这个问题。 郁闷了一段时间, 在网上也没有找到合适的解决方案, 后来发现其实是这个提示过于误导。大部分人看到这个提示,立马会想到可能是architecture设置成不对,但不管怎么去修改,这个错转载 2014-07-30 01:25:08 · 350 阅读 · 0 评论 -
iOS内存错误EXC_BAD_ACCESS的解决办法(message sent to deallocated instance)
http://www.sunnybtoc.com/page/M0/S878/878337.html http://blog.sina.com.cn/s/blog_70e90d45010176u3.html转载 2013-08-27 19:40:34 · 593 阅读 · 0 评论 -
message sent to deallocated instance 除錯
http://blog.sina.com.cn/s/blog_70e90d45010176u3.html 常常程式一長,哪邊就不小心多release了一次 這時候編譯器就只會告訴你:BAD_ACCESS,然後程式就死了 剛開始會google到去Argument加個NSZombieEnabled YES 會多吐一點東西讓你把bug除掉 今天遇到加了這個後error message變:转载 2014-01-14 14:18:50 · 915 阅读 · 0 评论 -
调用[super setSelectedIndex:nIndex];时候崩溃问题?
原因不清楚,可能是tabbarcontroller数组某个对象被释放了? 提示的错误如下: -[UIStatusBarActivityItemView isKindOfClass:]: message sent to deallocated instance 0x13d5c0c0 -[CALayer retain]: message sent to deallocated i原创 2013-08-27 19:38:18 · 1216 阅读 · 0 评论 -
关于MKMapView操作过程崩溃问题
转载自:舵手网络--http://www.helmsmansoft.com 在一次项目的开发过程中,用到了MKMapView地图显示,并放置打头阵的动画。在操作过程中,当地图页进入地图显示页地图没有完全加载完事(打头针没有落下插稳)的时候,如果快速切换到其它页面或对mapView进行了释放,程序就会崩溃。输出的错误如下:[****ViewController respondsToSele转载 2013-08-27 19:33:36 · 1618 阅读 · 0 评论 -
<iOS>关于Xcode上的Other linker flags
from : http://www.cnblogs.com/robinkey/archive/2013/05/27/3101095.html转载 2014-11-09 10:33:08 · 384 阅读 · 0 评论