Apple announced yesterday the new language Swift (SWIFT), need to install XCODE6 and Mac OS system for more than 10.9.
(Xcode6 Beta is available for official download.) You need to log in to the developer account, and the Mac OS system updates directly. It is not explained in detail here)
After the installation is complete, open xcode6, create a new project, compile normally, but execute error. Emulator does not start normally (black screen), Xcode pops up unable to boot the IOS Simulator.
Re-install the xcode6. Still error after reboot.
Later in the official download of the Apple dedicated to the demo of Swift, compile error:
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
It turned out that when installing xcode6, I didn't know how the developer certificate was copied and installed, resulting in a recurring developer account. Open the Keychain--login and remove the developer certificate that is repeated inside.
Compile and execute the official demo once again, through.
Compile and execute your new project once again, through.
Install Xcode6 Beta after debug appears unable to boot the IOS simulator and compile Apple official Swift Demo error failed with exit code 1 workaround