Skip to main content
cybobear
Inspiring
April 3, 2018
Answered

iOS simulator broken with new updates

  • April 3, 2018
  • 3 replies
  • 5662 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

pravishtis
Adobe Employee
Adobe Employee
April 6, 2018

Hi,

Thanks for reporting this issue. We're currently investigating it and we'll keep you posted.

Thanks,

Pravishti | Adobe AIR Engineering

cybobear
cybobearAuthor
Inspiring
May 7, 2018

There is a workaround, Mohanaraj​ , can that be shared here?

Even with the work around there isn't an easy way to do iPhone X testing in the simulator, but I found a tolerable solution to that too. Here's the StackOverflow discussion I followed:

xcode - Is there a way to move my iOS Simulator app data from one simulator (iPhone 7) to another (iPad Pro 12.9)? - Sta…


Hi Colin,

Fingers crossed that workaround can be shared.

What's the issue with iPhone X, before this error happened I'm pretty sure I was able to run it in the sim?

Thanks for the reply.

-cybo