我的APP已经上线了,但是公司有几个越狱后IOS5.1.1手机版本的同事说APP STORE上
下载后打开就崩溃,无法使用。
当时我想,既然会崩溃,苹果怎么可能会让通过呢?我认为是越狱的问题,拿了几个手机测试,只要没越狱过的手机,测试都没问题,IOS6.1.2的越狱后的手机下载装打开也没问题
于是我找了个越狱后的IOS5.1.1的手机进行联调,发现XCODE控制台报错如下:
wait_fences:failed to receive reply:10004003
关于这个问题网上已经有很多答案详见:http://blog.sina.com.cn/s/blog_7ab7a64b01011x4h.html
,但是这些都不能解决我的问题,通过跟踪代码发现下面这段代码出了问题:
CGRect keyboardFrame = CGRectMake(0, 0, ScreenWidth, 38); self.keyboardToolbar = [[[UIToolbar alloc] initWithFrame:keyboardFrame] autorelease]; self.keyboardToolbar.barStyle = UIBarStyleBlackTranslucent; UIBarButtonItem *doneBarItem = [[ UIBarButtonItem alloc] initWithBarButtonSystemItem: UIBarButtonSystemItemDone target: self action: @selector(backImgEvent)]; UIBarButtonItem *flexibleSpace = [[UIBarButtonItem alloc] initWithBarButtonSystemItem:UIBarButtonSystemItemFlexibleSpace target:nil action:nil]; [self.keyboardToolbar setItems:[NSArray arrayWithObjects:flexibleSpace,doneBarItem, nil]]; [flexibleSpace release]; [doneBarItem release]; self.searchBar.inputAccessoryView = self.keyboardToolbar;
只要注释掉以后,任何机子测试都没问题。
但是这段代码本身并没有问题吧?我认为。
相关推荐
本人亲测,可以在ios5.1.1的越狱后的ipod上完美运行
盼星星盼月亮,我们终于把iOS 6.1完美越狱工具盼来了。 相信此刻有不少果粉都在守在电脑前等待iOS 6.1完美越狱工具的到来,这几天我们没有白等,现在它终于来了。 北京时间2月5日凌晨1点,越狱团队evad3rs终于在...
xcode8调试IOS11 Shift+Command+G进入 /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport 把解压后的文件复制进去。
MAC OS X 10.8 + Xcode 4.4 下实现无证书真机调试 IOS5.1.1
iOS9.3.2,iOS10 SDK 让你你的xocde5、6支持调试iOS9,iOS10。 源自Xcode_8_beta6,2016-08-24
iOS 11 App Development Essentials Learn to Develop iOS 11 Apps with Xcode 9 and Swift 4
Beginning iOS Storyboarding- Using Xcode 英文原版高清pdf 英文书,推荐英文好的童鞋学习
xcode支持iOS15.2和iOS15.4
iOS Game Programming with Xcode and Cocos2d(完整版) 自己收集的
提供大家一起下载 可以真机测试大家一起来用 】 、
xcode真机调试所需,从xcode9.2解压获得,使用时解压到 /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport即可
IOS APP应用开发 微博 Xcode 详细代码
Xcode iOS11.0版本的配置包 给需要真机调试iOS11.0系统版本手机又不想升级Xcode的童鞋 为什么会有摘要必须大于100字节这种逆天的设定!!!
Xcode升级到iOS15以后发现无法创建category了,现已找到解决方案供大家参考。 这是由于Xcode15缺少了"CategoryNSObject"和"ExtensionNSObject"两个文件夹导致的,解决办法就是将这两个加进去就好了。 如果你有旧的...
下载解压放到/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport即可,重启Xcode即可,无需升级系统和Xcode
不想更新Xcode的,还想在Xcode 上运行的可以将SDK移入指定路径/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport
放到 /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport 目录下即可
Xcode iOS 16真机调试包 开发调试 iOS16适配
iOS15.4 Xcode13.4 DevelopDiskImage
将Xcode适配可以调试、编译、运行、打包系统版本号为iOS 16.0 版本的设备,解决"Could not find Developer Disk Image"问题