Thread Rating:
  • 2 Vote(s) - 4.5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Bug / Crash  Doesn't build for latest XCode (11.4)
#62
(08-05-2020, 08:44 AM)josemendez Wrote: Good news everyone: Apple has confirmed this is a bug in XCode, and suggested a potential workaround:


In other words, the culprit is indeed link-time optimization (LTO), which I tried to disable before without success. Since the library contains bitcode files (to be able to deploy to the store), LTO is mandatory. However the linker gets stuck trying to optimize a specific function. The workaround they propose is flagging that function with (optnone), to prevent the linker from attempting to optimize it and getting stuck.

They also mention they're working to fix the linker in an upcoming update. In the meantime, I will try their workaround and see if it actually works.

Hi i also have the same problem~~
expect to that get fixed~~
Reply


Messages In This Thread
RE: Doesn't build for latest XCode (11.4) - by shadercoder - 12-05-2020, 10:01 AM