Cannot start iPhone Simulator

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

Here are some steps for those who hope to reproduce the problem:

  • New empty Unity project
  • IOS Player Settings> SDK Version: Simulator SDK
  • Build and Run creates this when the application runs in the simulator:

Warning: an error occurred while creating the LLDB target along the 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 reading from remote devices.

dyld: Symbol not found: __ZN5metal16g_CurrentEncoderE

Link to: / Users / ... (username) ... / Library / Developer / CoreSimulator / Devices / 530A44CB-5978-4926-9E91-E9DBD5BFB105 / data / Containers / Package / Application / 07612A5C-659D- 4C04-ACD3 -D211D2830E17 / ProductName.app / ProductName

Expected in: flat namespace

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

Then, if you select Standard Architecture in the Xcode build settings and run and run again, this will result in the following:

dyld: failed lazy character binding: Character not found: _UnityRegisterProInterface

Link: / Users / ... (username) ... / Library / Developer / CoreSimulator / Devices / 530A44CB-5978-4926-9E91-E9DBD5BFB105 / data / Containers / Package / Application / 444E88D1-3B5D- 46FA-A143- B8634F56398E / ProductName.app / ProductName

Expected in: flat namespace

dyld: Character not found: _UnityRegisterProInterface

Link: / Users / ... (username) ... / Library / Developer / CoreSimulator / Devices / 530A44CB-5978-4926-9E91-E9DBD5BFB105 / data / Containers / Package / Application / 444E88D1-3B5D- 46FA-A143- B8634F56398E / ProductName.app / ProductName

Expected in: flat namespace

(lldb)

The same results occur with different settings in the settings of the Unity iOS player:

  • Scripting Backend: Mono (2.0) / IL2CPP
  • Architecture: ARMv7 / ARM64 / Universal
  • Target iOS Version: 6.0 / 8.1
  • Graphic API: Auto / Open GL ES 2.0 / Open GL ES 3.0 / Metal

Also get the same results using the Xcode build settings:

  • Base SDK: iphonesimulator (SDK not found) / Standard architectures (armv7, arm64) - $ (ARCHS_STANDARD)
  • Supported Platforms: iphonesimulator / iOS
  • IOS Deployment Goal: iOS 6.0 / iOS 8.1 / iOS 8.3

Any tips are greatly appreciated.

+7
ios xcode unity3d
source share
1 answer

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

Check out the release notes: (696798) - iOS: Fixed a simulator crash on startup due to “Symbol not found: __ZN5metal16g_CurrentEncoderE”.

0
source share

All Articles