Skip to main content
cybobear
Inspiring
Apr 3, 2018 8:29 PM UTC
Answered

iOS simulator broken with new updates

I get an error when trying to build a simulator IPA for testing on OSx.

Here is the error:

ld: unexpected token: !tapi-tbd-v3 file '/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/usr/lib/libc++.tbd' for architecture x86_64

Compilation failed while executing : ld64

I'm guessing this is related to updates to xcode, simulator, itunes etc...

Any direction greatly appreciated.

Thanks for looking,

-cybo

This topic is closed to new replies. Start a new post to keep the conversation going.
pravishtis
pravishtisCorrect answer
Adobe Employee
May 8, 2018 3:06 AM UTC

Hi Pravishti,

Is there any update on this issue or a workaround?

The simulator is a really powerful tool for testing on various iOS devices.

-cybo


Hi,

Could you please try once with following workaround and let us know if things are working fine for you:

  • Replace the Runtime LD located at the path <AIRSDK>/lib/aot/bin/ld64/ld64 with the one which comes with Xcode 9.3.
  • You can find it at location: <Xcode9.3InstallDir>/Xcode.app/Contents/Developer/usr/bin/ld.

Also, do not forget to rename ld to ld64.

Thanks,

Pravishti | Adobe AIR Engineering

25 replies

Inspiring
Nov 10, 2018 11:32 PM UTC

This might be related: Unable to debug on new iPhones

Translate
grahamsmith10151448
Inspiring
Nov 2, 2018 9:44 PM UTC

Are we any nearer getting a solution for this ?...   it's a vital feature were missing here .

Translate
Inspiring
Apr 3, 2018 11:13 PM UTC

I am experiencing the same issue. I am able to package for release, but I cannot package for debug on either device or in simulator. Full error:

ld: unexpected token: !tapi-tbd-v3 file '/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/lib/libc++.tbd' for architecture arm64

ld: unexpected token: !tapi-tbd-v3 file '/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/lib/libc++.tbd' for architecture armv7

Compilation failed while executing : ld64

Translate
Inspiring
Apr 5, 2018 9:47 PM UTC

Is there any update from Adobe regarding this? It's completely impossible to compile iOS currently.

Translate
cybobear
cybobearAuthor
Inspiring
Apr 5, 2018 10:02 PM UTC

Perhaps we can elevate it to the bug tracker? There must be lots of users experiencing this if it's not isolated to us.

Translate