安装xcode6 beta 后调试出现Unable to boot the iOS Simulator以及编译苹果官方Swift的demo报错failed with exit code 1的解决的方法

苹果昨天公布新语言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,把里面反复的开发人员证书删除。

又一次编译并执行官方demo,通过。

又一次编译并执行自己新建的项目,通过。

时间: 2024-08-16 20:32:27

安装xcode6 beta 后调试出现Unable to boot the iOS Simulator以及编译苹果官方Swift的demo报错failed with exit code 1的解决的方法的相关文章

timed out waiting for device to boot,unable to boot the iOS Simulator

平常工作中的关于XCode出现bug解决之后一定要做个记录,要不下次真的再遇到只记得遇到过,怎么解决的是真忘了. COM+R运行xcode之后,模拟器半天没反应,待会会出现这个下面图1这样的弹框,另外timed out waiting for device to boot这句话的一个弹框,不过问题解决了这个图2的弹框没有及时截图,只记得这句话. 出现这种问题大部分都是在升级XCode或者删除XCode再安装新的之后,会遇到的问题,我安装删除循环了N遍,问题还是没解决,网上找了半天也都没有解决,最

添加第三方类库造成的linker command failed with exit code 1 (use -v to see invocation)的错误调试

本文转载至 http://blog.csdn.net/duxinfeng2010/article/details/8265273 linker command failed with exit code 1 (use -v to see invocation)这个错误貌似遇见并不止一次,当我想用某个第三方类库的时候(如SBJson),我直接把类库文件copy到工程目录里面,然后一编译就出现这样错误(并不是一定会出这样错误),开始以为是网上下载的类库本身问题,所以重新找类库或者其他方式将它添加进去

virtualbox 安装 extension pack 方法以及出现 "The installer failed with exit code 1: VBoxExtPackHelperApp.exe: error: Failed to rename the temporary directory to the final one"的解决办法

virtualbox 的版本:5.1.26    下载地址:https://www.virtualbox.org/wiki/Downloads extension pack 的版本:5.1.26    下载地址:https://www.virtualbox.org/wiki/Downloads extension pack 安装: 1. 运行virtualbox,“管理” → “全局设定”: 2. 在弹出的 “全局设定” 界面左侧点击选中 “扩展”,然后在右侧点击添加新包按钮导入extensio

Unable to register the DLL/OCX: RegSvr32 failed with exit code 0x3 我的解决方法

一个在win7 64位下能正常注册的ocx  在XP下注册时报错,Unable to register the DLL/OCX: RegSvr32 failed with exit code 0x3 通过dependency分析也没有发现问题 后来发现是一个依赖的DLL 在VS2013的编译时没有支持XP. 特记录. 原文地址:https://www.cnblogs.com/nomadcirlce/p/8469677.html

解决添加swagger后项目报错 Failed to start bean 'documentationPluginsBootstrapper'

添加swagger后项目报错 Failed to start bean 'documentationPluginsBootstrapper' 因为swagger依赖google的guava,而当前项目的guava版本与之不匹配,将当前项目的guava版本升到swagger子依赖的guaba版本相同即可解决 原文:https://blog.csdn.net/xiaofanren1111/article/details/83011454 解决添加swagger后项目报错 Failed to star

安装android studio报错Failed to install Intel HAXM.

在安装android studio的过程中,安装到android的模拟器加速器(intel HAXM)这一步时,报错: HAXM是用来管理硬件加速的,估计是用了这个东西模拟器就能Eclipse的龟速吧. 解决: 原因:没有找到reg.exe; 给reg.exe配置环境变量. reg.exe一般是在C:\Windows\System32\目录下. 可以将路径C:\Windows\System32\reg.exe配置在PATH下, 也可以直接将%SystemRoot%\system32;%Syste

windows下使用pip安装模块发生“failed with error code 1”的解决方法

win不愧是最烂的开发平台,在安装第三方模块时经常出现些幺蛾子. 今天在window中使用python3自带的pip安装scrapy时,出错,错误代码如下: Command "f:\python\python36\python.exe -u -c "import setuptools, tokenize;__file__='C:\\Users\\WONDER~1\\AppData\\Local\\Temp\\pip-build-90gvzc6m\\Twisted\\setup.py';

ubuntu 执行sudo apt-get install libgtk2.0-devs安装gtk+-2.0时报错Failed to fetch IP:https://的解决

Err:1 https://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic-updates/main amd64 libjpeg-turbo8 amd64 1.5.2-0ubuntu5.18.04.1 404 Not Found [IP: 101.6.8.193 443] Err:2 https://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic-updates/main amd64 libpython2.7-minim

VSphere随笔 - vCenter6.5安装报错 “Failed to authenticate with the guest operating system using the supplied“

今天重新安装VCSA,安装多次一直卡在80%的画面不动,显示正在安装RPM包,同时log日志显示"Failed to authenticate with the guest operating system using the supplied ",登录控制台查看VCSA服务器进度发现root密码没有被设置,手工修改密码也是失败.经过网上查看资料,发现VCSA的安装盘是有过期日的,因为盘内老的root密码已经过期,所以root账户过期后,安装程序在执行过程中将无法按照用户的预设值去修改