【iOS开发】使用XCode 8进行真机调试的方法(各种报错信息的解决方法)
2016-09-16 13:13
901 查看
1.将真机与Mac使用USB进行连接
2.运行iOS程序的时候在ToolBar运行设备处选择自己的真机
3.如果出现Failed to code sign “xxx”,点击Fix issue,然后需要Add…一个account。
输入Apple ID 和对应的 Password,点击Sign in…
这样已经把自己的Apple ID加进去了,点击自己的ID -》 View Details… -》 iOS Development 后面的按钮 -》 Done
4.单击最左侧导航栏里面的工程名 -》Signing -》 Team -》 选择对应的Account
5.如果出现An Apple ID with identifier “xxx”is not available. Please enter a different string. 说明Bundle ID和别的冲突了(重复了,Bundle ID必须具有唯一性),单击最左侧导航栏里面的工程名 -》Identity -》修改Bundle Identifier
6.如果出现The run destination iPhone is not valid for Running the scheme “xxx” 说明当前运行设置的版本系统和真机的系统版本不匹配导致的,所以只需要单击工程文件,在出现的设置里面的Deployment
info -》 Deployment Target中选择对应的真机的系统即可~
7.如果出现Unlock iPhone to Continue Xcode cannot launch demo1_greating on iPhone because the device is locked.说明手机屏幕锁没打开,将真机解锁就行~
8.如果出现Could not launch Verify the Developer App certificate for your account is trusted on your device. Open Settings on iPhoneSE rational and navigate to General -> Device Management, then select your Developer App certificate to trust it.说明手机设置里面没有对当前开发者信任,解决方法为:手机(真机)中点击设置(Settings)
-》 通用(General)-》设备管理(Device Management)-》点击对应的id -》信任(Trust)
/*在Xcode 7里面的报错为 Could not launch “xxx”,process launch failed: Security */
2.运行iOS程序的时候在ToolBar运行设备处选择自己的真机
3.如果出现Failed to code sign “xxx”,点击Fix issue,然后需要Add…一个account。
输入Apple ID 和对应的 Password,点击Sign in…
这样已经把自己的Apple ID加进去了,点击自己的ID -》 View Details… -》 iOS Development 后面的按钮 -》 Done
4.单击最左侧导航栏里面的工程名 -》Signing -》 Team -》 选择对应的Account
5.如果出现An Apple ID with identifier “xxx”is not available. Please enter a different string. 说明Bundle ID和别的冲突了(重复了,Bundle ID必须具有唯一性),单击最左侧导航栏里面的工程名 -》Identity -》修改Bundle Identifier
6.如果出现The run destination iPhone is not valid for Running the scheme “xxx” 说明当前运行设置的版本系统和真机的系统版本不匹配导致的,所以只需要单击工程文件,在出现的设置里面的Deployment
info -》 Deployment Target中选择对应的真机的系统即可~
7.如果出现Unlock iPhone to Continue Xcode cannot launch demo1_greating on iPhone because the device is locked.说明手机屏幕锁没打开,将真机解锁就行~
8.如果出现Could not launch Verify the Developer App certificate for your account is trusted on your device. Open Settings on iPhoneSE rational and navigate to General -> Device Management, then select your Developer App certificate to trust it.说明手机设置里面没有对当前开发者信任,解决方法为:手机(真机)中点击设置(Settings)
-》 通用(General)-》设备管理(Device Management)-》点击对应的id -》信任(Trust)
/*在Xcode 7里面的报错为 Could not launch “xxx”,process launch failed: Security */
相关文章推荐
- iOS开发之—— XCODE真机调试设备连接一直忙碌如何处理!(真机调试各种错误提示解决)
- Xcode 真机调试 iOS 应用的各种问题和解决方法
- iOS开发工具-如何使用网络封包分析工具Charles,通过配置proxy对http、https、tcp、udp 等协议的请求响应过程交互信息进行分析、判断、解决我们移动开发中的遇到的各种实际问题。
- 基于Swift的iOS应用程序开发:使用xcode进行iOS应用程序开发时,各种Launch Image尺寸清单
- 个人在iOS开发过程中真机调试遇到的问题及解决方法 推荐
- 快速解决低版本Xcode不支持高版本iOS真机调试的问题方法
- Xcode -- Xcode5.1使用低版本模拟器进行开发调试的方法
- 个人在iOS开发过程中真机调试遇到的问题及解决方法
- 使用 Xcode 在越狱 iOS 设备上进行开发调试
- IOS真机开发调试碰到的问题及解决方法
- iOS开发-低版本XCode如何支持高版本iOS系统进行真机调试
- XE7 & IOS开发之开发账号(2):发布证书、发布授权profile的申请使用,附Ad hoc真机调试、生成ipa文件演示(XCode所有版本通用,有图有真相)
- iOS开发之使用Xcode和Instruments调试解决iOS内存泄露
- 使用 Xcode 在越狱 iOS 设备上进行开发调试
- 使用 Xcode 在越狱 iOS 设备上进行开发调试
- 使用 Xcode 在越狱 iOS 设备上进行开发调试
- XE7 & IOS开发之开发账号(1):开发证书、AppID、设备、开发授权profile的申请使用,附Debug真机调试演示(XCode所有版本通用,有图有真相)
- 高德IOS真机调试LMAMapKit出错问题的解决方法(directory not found for option)
- Xcode 4.1/4.2/4.3/4.4/4.5 + iOS 5.1.1免证书(iDP)开发+真机调试+生成IPA全攻略
- IOS开发各种问题解决方法记录