azami1986
azami1986

Reputation: 93

Cannot start iPhone Simulator

I have Unity 5.0.2p1 Personal and Xcode Version 6.3.1 (6D1002).

Here are some steps for anyone hoping to reproduce the problem:

  1. A new blank Unity project
  2. IOS Player Settings > SDK Version : Simulator SDK
  3. Build and Run produces this when app is launched in simulator:

Warning: Error creating LLDB target at path '/Users/...(user name).../Library/Developer/Xcode/DerivedData/Unity-iPhone-couukthirzleocbdfmbmdpjhxrtr/Build/Products/Debug-iphonesimulator/ProductName.app'- using an empty LLDB target which can cause slow memory reads from remote devices.

dyld: Symbol not found: __ZN5metal16g_CurrentEncoderE

Referenced from: /Users/...(user name).../Library/Developer/CoreSimulator/Devices/530A44CB-5978-4926-9E91-E9DBD5BFB105/data/Containers/Bundle/Application/07612A5C-659D-4C04-ACD3-D211D2830E17/ProductName.app/ProductName

Expected in: flat namespace

in /Users/...(user name).../Library/Developer/CoreSimulator/Devices/530A44CB-5978-4926-9E91-E9DBD5BFB105/data/Containers/Bundle/Application/07612A5C-659D-4C04-ACD3-D211D2830E17/ProductName.app/ProductName

Then, if you select Standard Architecture in Xcode Build Settings and build and run again it produces this:

dyld: lazy symbol binding failed: Symbol not found: _UnityRegisterProInterface

Referenced from: /Users/...(user name).../Library/Developer/CoreSimulator/Devices/530A44CB-5978-4926-9E91-E9DBD5BFB105/data/Containers/Bundle/Application/444E88D1-3B5D-46FA-A143-B8634F56398E/ProductName.app/ProductName

Expected in: flat namespace

dyld: Symbol not found: _UnityRegisterProInterface

Referenced from: /Users/...(user name).../Library/Developer/CoreSimulator/Devices/530A44CB-5978-4926-9E91-E9DBD5BFB105/data/Containers/Bundle/Application/444E88D1-3B5D-46FA-A143-B8634F56398E/ProductName.app/ProductName

Expected in: flat namespace

(lldb)

The same results occur for various settings in Unity iOS Player Settings:

Also get the same results using Xcode Build Settings:

Any hints are very appreciated.

Upvotes: 7

Views: 2582

Answers (1)

Louis
Louis

Reputation: 1

This is solved in Patch Release 5.1.0p1 : https://unity3d.com/unity/qa/patch-releases

Check out the Release Notes : (696798) - iOS: Fixed simulator crashing on startup due to "Symbol not found: __ZN5metal16g_CurrentEncoderE".

Upvotes: 0

Related Questions