安装xcode6 beta 后调试出现Unable to boot the iOS Simulator以及编译苹果官方Swift的demo报错failed with exit code 1的解决办法
2014-06-04 15:38
781 查看
苹果昨天发布新语言Swift(雨燕),需要安装xcode6 以及mac os 系统为10.9以上。
(xcode6 beta 可在官方下载,需要登录开发者账号;mac os 系统直接更新即可。在此就不具体说明了)
在安装完毕后,打开xcode6,新建一个项目,编译正常,但运行却出错。模拟器无法正常启动(黑屏),xcode弹出Unable to boot the iOS Simulator。
重装xcode6,重启后依旧报错。
后来在苹果官方下载专门演示swift的demo,编译时出错:
iPhone Developer: Kyo Wang (BYF23C3XAC):ambiguous (matches"iPhone Developer: Kyo Wang(BYF23C3XAC)"in/Users/km-cn/Library/Keychains/login.keychain and "iPhoneDeveloper:Kyo Wang (BYF23C3XAC)" in/Library/Keychains/System.keychain)
Command/usr/bin/codesign failed with exit code 1
原来是在安装xcode6的时候不知道怎么的开发者证书被复制并安装了,所以导致重复的开发者账号。打开keychain--login,把里面重复的开发者证书删除。
![](http://img.blog.csdn.net/20140604153657765?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvc2hlbmd5dW1vamlhbg==/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/SouthEast)
重新编译并运行官方demo,通过。
重新编译并运行自己新建的项目,通过。
(xcode6 beta 可在官方下载,需要登录开发者账号;mac os 系统直接更新即可。在此就不具体说明了)
在安装完毕后,打开xcode6,新建一个项目,编译正常,但运行却出错。模拟器无法正常启动(黑屏),xcode弹出Unable to boot the iOS Simulator。
重装xcode6,重启后依旧报错。
后来在苹果官方下载专门演示swift的demo,编译时出错:
iPhone Developer: Kyo Wang (BYF23C3XAC):ambiguous (matches"iPhone Developer: Kyo Wang(BYF23C3XAC)"in/Users/km-cn/Library/Keychains/login.keychain and "iPhoneDeveloper:Kyo Wang (BYF23C3XAC)" in/Library/Keychains/System.keychain)
Command/usr/bin/codesign failed with exit code 1
原来是在安装xcode6的时候不知道怎么的开发者证书被复制并安装了,所以导致重复的开发者账号。打开keychain--login,把里面重复的开发者证书删除。
重新编译并运行官方demo,通过。
重新编译并运行自己新建的项目,通过。
相关文章推荐
- 安装xcode6 beta 后调试出现Unable to boot the iOS Simulator以及编译苹果官方Swift的demo报错failed with exit code 1的解决的方法
- 在Yii下进行模块化(module)编程以及出现Unable to resolve the request的解决办法
- ios在真机上调试时出现“Error launching remote program: failed to get the task for process xxx"解决办法
- ios在真机上调试时出现“Error launching remote program: failed to get the task for process xxx"解决办法(转)
- virtualbox 安装 extension pack 方法以及出现 "The installer failed with exit code 1: VBoxExtPackHelperApp.exe: error: Failed to rename the temporary directory to the final one"的解决办法
- 新安装XCode7/XCode8 模拟器无法运行报-unable to boot the simulator解决方法
- ios在真机上调试时出现“Error launching remote program: failed to get the task for process xxx"解决办法(转)
- 安装虚拟机时出现Failed to create the requested registry key Key installer:Error 1021的解决办法
- Eclipse 更新ADT和SDK后,编译程序出现Unable to execute dex: Java heap space 解决办法
- linux移植时出现 Unable to find the ncurses libraries ....解决办法
- 发布iOS程序出现“an error occurred uploading to the itunes store”问题的解决办法
- ios编译运行提示:unable to boot ios simulator
- 在虚拟机,ios开发,Unable to boot the iOS Simulator
- 编译linux内核前用make menuconfig设置时 Unable to find the ncurses libraries的解决办法
- VMWare安装64位CentOS6.3出现Unable to boot - please use a kernel appropriate for your CPU.解决方法
- 编译安装php容易出现的问题以及解决办法
- 关于 JDeveloper 出现 unable to create an instance of the java virtual machine 错误的解决办法
- GCC编译uboot出现(.ARM.exidx+0x0): undefined reference to `__aeabi_unwind_cpp_pr0'错误的解决办法
- 当打开Oracle Jdevelopler 11g时出现"Unable to create an instace of the jave virtual Machine Located at path"错时解决办法
- Silverlight无法启动调试,错误“Unable to start debugging. The Silverlight Developer Runtime is not installed. Please install a matching version.” 解决办法