I use Xcode 6.3.2 and Unity 5.1.1f1 on my mac mini. Unfortunately, I keep getting the following error message:"dyld`dyld_fatal_error" in XCode, if I try to run the app on the Iphone6 plus device, then app just crashed. The build is always succesful.
xcode 6.3 message:
**1**、dyld`dyld_fatal_error:
-> 0x1200b9088 <+0>: brk #0x3 Thread 1: EXC_BREAKPOINT(code=1, subcode=0x1200b9088)
2、
0 dyld_fatal_error
1 dyld::halt(char const*)
2 dyld::fastBindLazySymbol(ImageLoader*, unsigned long)
3 dyld_stub_binder
4 ImageLoaderMachO::doModInitFunctions(ImageLoader::LinkContext const&)
.
.
.
.
.
11 _dyld_start
My Demo is very simple just content only have a cube,No various plugins!
When testing an app in Simulator, it is easiest to launch and run your app in Simulator directly from your Xcode project. To run your app in Simulator, choose an iOS simulator—for example, iPhone 6 Plus, iPad Air, or iPhone 6 + Apple Watch - 38mm—from the Xcode scheme pop-up menu, and click Run.
You can't really compare device to simulator here as the simulator doesn't have any GPS hardware xcode is sending coordinates to the simulator. you assign a new alloc inited object every 30 seconds, wow, that's not really top notch code right there.
To add a simulator. Choose Hardware > Device > Manage Devices. Xcode opens the Devices window. At the bottom of the left column, click the Add button (+). In the dialog that appears, enter a name in the Simulator Name text field and choose the device from the Device Type pop-up menu.
Control-click the Xcode icon in the Dock, and from the shortcut menu, choose Open Developer Tool > Simulator (watchOS). Simulator opens and displays the Home screen of whichever simulated device was last used.
Ok I had the same issue and I made it works by doing these things.
To solve "weird" issue like that, consider these step first :
Product
> Clean
- Product
> Build
)Windows
> Projects
. (Select your project) > delete
)After these two steps, it still did not works for me so I switched enable bitcode
off, following to a warning. So I made this :
Enable Bitcode
to "off". in the (YourAppName) Target
-> Build Settings
.More information about enable bitcode
are available in this great answer.
Clean and Build.
(Product > Clean - Product > Build)
Clean derived data.
(Windows > Projects . (Select your project) > delete)
Worked for me.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With