Skip to main content
cybobear
Inspiring
April 3, 2018
Answered

iOS simulator broken with new updates

  • April 3, 2018
  • 3 replies
  • 5630 views

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 has been closed for replies.
Correct answer pravishtis

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

3 replies

Inspiring
November 10, 2018

This might be related: Unable to debug on new iPhones

grahamsmith10151448
Inspiring
November 2, 2018

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

Inspiring
April 3, 2018

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

Inspiring
April 5, 2018

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

cybobear
cybobearAuthor
Inspiring
April 5, 2018

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