初见

Xcode真机调试常见问题

2019-03-15  本文已影响0人  小小程序媛之路

1.

安装不了.png
解决办法:Product->clean

2.Verify the Developer App certificate for your account is trusted on your device. Open Settings on WBiPhone7 and navigate to General -> Device Management, then select your Developer App certificate to trust it.

解决办法:在您的设备上验证您的帐户的开发应用程序证书。打开设置在wbiphone7导航一般->设备管理,然后选择你的开发应用证书信任它。

3.Command /Applications/Xcode.app/Contents/Developer/usr/bin/ibtool failed with exit code 255. The tool may have crashed. Please file a bug report at http://bugreport.apple.com with the above output and attach any crash logs for ibtool, ibtoold, Xcode, and Interface Builder Cocoa Touch Tool created around the time of this failure. These logs can be found in ~/Library/Logs/DiagnosticReports or /Library/Logs/DiagnosticReports.

解决办法:清楚缓存,shift+command+K

4.Could not find a storyboard named ‘Main’ in bundle NSBundle

解决办法:在加载时将main.storyboard删除了,需要设置成launchScreen加载就,appdelegate再去设置自己的根视图 设置launchScreen加载

5.报duplicate symbols for architecture x86_64错误

解决办法: 仔细读一下报错原因可以发现几个关键词:"duplicate"和"symbols"。duplicate的中文意思是“重复的、复制的”,而symbols的意思是“符号”。也就是可能在你工程中引入了重复的东西。找到重复的文件,删除一份即可.

6.Xcode9 真机调试遇到的坑,没办法添加开发者账号

解决办法:1.在搜索栏搜索钥匙串,并且将无用和多余的钥匙串删除; 2.然后再次添加,申请开发者账号,并且设置项目中的signing,再次编译运行,完成

7. 签名.jpg

意思是可执行文件使用无效的权利进行签名。您的应用程序的代码签名权利文件中指定的权利无效,不允许,或与您的配置文件中指定的权限不匹配。

解决办法:1、选择EditScheme 2.2、选择Run->info->Build Configuration选择Debug就可以了

8. unsupported device model.png

意思是不支持的设备型号,“iPad”是此版本Xcode不支持的型号.请使用其他设备。

解决办法:重启xcode就好了

9.Xcode真机调试出现“* is busy: Processing symbol files”

解决办法:1、尝试重新拔插测试设备。 2、重启Xcode尝试。 3、重启手机尝试。4.等Xcode上面的进度条读完再跑程序(进度条是在配置真机的信息)
上一篇下一篇

猜你喜欢

热点阅读