Iphone 6 Plus Simulator OK Operation Except Device

I am using 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 application on the Iphone6 ​​plus device, the application just crashed. The design is always successful.

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 the content contains only a cube, no different plugins!

+6
source share
2 answers

Well, I had the same problem, and I did this by following these steps.

To solve this "strange" problem, consider this step first:

  • Clean and build. ( Product > Clean - Product > Build )
  • Clear derived data. ( Windows > Projects . (Select Project)> delete )

After these two steps, it still doesn't work for me, so I disabled enable bitcode , following the warning. So I did this:

  • Switch enable bitcode to "off". in (YourAppName) TargetBuild Settings .

how to turn 'enable bitcode' off in xcode

More information on enable bitcode is available in this wonderful answer .

+11
source

Clean and build.

(Product> Clean - Product> Build)

Clear the received data.

(Windows> Projects. (Select Project)> delete)

Worked for me.

+3
source

All Articles