After installing XCode 7 I can't build and run

2019-02-10 21:51发布

EDIT: This question refers to teh pre-release version of XCode 7, hence it may not be relevant if you are running the currently released version as some issues may have been fixed.


I get the following:

Failed to connect with the iOS agent. Please file a bug report at bugreport.apple.com.

enter image description here

Why is that?

If I look at the details I get:

=================================

ERROR:

Failed to find or create execution context for description System content 1x for IBCocoaTouchFramework-EightAndLater w/ default fidelity (Failure reason: Software caused connection abort): Failed to find newest available Simulator runtime (Failure reason: Software caused connection abort): Simulator verification failed. (Failure reason: A connection to the simulator verification service could not be established.)

Error Domain=NSPOSIXErrorDomain Code=53 "Failed to find or create execution context for description System content 1x for IBCocoaTouchFramework-EightAndLater w/ default fidelity" UserInfo=0x7fcf5961ebd0 {NSLocalizedDescription=Failed to find or create execution context for description System content 1x for IBCocoaTouchFramework-EightAndLater w/ default fidelity, NSUnderlyingError=0x7fcf58b72950 "Failed to find newest available Simulator runtime"}

标签: ios xcode xcode7
7条回答
Root(大扎)
2楼-- · 2019-02-10 22:28

Verify you have the latest Xcode Beta installation with Xcode-beta open click "About Xcode" and check the build number.

Then check the Current build number of the latest Xcode-beta on the Xcode Downloads Page:

https://developer.apple.com/xcode/downloads/

查看更多
登录 后发表回答