Skip to main content
Participant
March 11, 2014
Question

XCode 5.1 updated and now I can't debug AIR apps on iOS Simulator anymore

  • March 11, 2014
  • 12 replies
  • 23036 views

Today XCode updated itself to version 5.1, with new iOS 7.1 platform support. It updated itself without asking permission, and now I can't run my AIR apps on the iOS simulator anymore. All my apps fail with the following error:

'Launching [myApplication]' has encountered a problem.

Error occurred while installing the application:

dyld: Library not loaded: @rpath/iPhoneSimulatorRemoteClient.framework/Versions/A/iPhoneSimulatorRemoteClient

  Referenced from: /Applications/AIR_SDKS/AIRSDK_4.0.0.1628/lib/aot/bin/isb/isb

  Reason: image not found

/var/folders/g1/014r026919j9fkv085ypt31r0000gn/T/cmd7720052456329253213.tmp: line 1:  2126 Trace/BPT trap: 5       "/Applications/AIR_SDKS/AIRSDK_4.0.0.1628/lib/aot/bin/isb/isb" "-install" "-apppath" "/var/folders/g1/014r026919j9fkv085ypt31r0000gn/T/eb03981d-5689-4bb5-821c-78ca84086393/Payload/[myApplication].app" "-sdkpath" "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.1.sdk"

I use AIR SDK 4.0.1628 (the latest version according to the SDK download page today), and it doesn't make a difference if I choose another simulator version (7.0 and 6.1 fail the same way).

I'm developing in Flash Builder 4.7, on OS X 10.9.2

Any ideas of how to fix this? Will using the AIR 13 beta help?

Thanks, Frank

This topic has been closed for replies.

12 replies

Participant
July 7, 2015

Was this ever resolved? I have Flash CC 2015 should I expect to see this issue or are we good now?

Known Participant
June 21, 2014

The simulator is finally working in Flash CC 2014! Now they just need to fix the Format Code error that changes "Vector.<T>" into "Vector. < T >" (causing an error when it compiles because the space after the ".")!

Inspiring
June 19, 2014

A problem i am facing using the command line, to produce the IPA, is that for some reasons it does not include embedded.mobileProvision file into the IPA created. So, on simulator, everything is ok. But when trying to test using adhoc, it doesnot install on test iphone devices. Or when submitting to appstore it produces error.

On the other hand, when using Flash CS6.0 IDE to produce the IPA, it includes the embedded mobileprovision into the IPA, and hence one can test it on Iphone. But still cannot submit it to appstore, since XCode 5.1 and IOS 7 SDK is mandatory.

lumenmedia
Inspiring
June 19, 2014

I just submitted an app using this method to the Apple iTunes App Store and it was accepted.  Here was my command for compiling for the AppStore:

./bin/adt -package -target ipa-app-store -provisioning-profile myApp.mobileprovision  -keystore distrib_cert_using_MYSECRETPASSWORD.p12 -storetype PKCS12 -storepass MYSECRETPASSWORD  myApp.ipa myApp_iOS_dev-app.xml myApp_iOS_dev.swf  Default.png Default-Portrait.png Default@2x.png Default-Portrait@2x.png Default-568h@2x.png Icons/icon-29.png Icons/icon-57.png Icons/icon-57@2x.png Icons/itunes.png Icons/icon-72.png Icons/icon-76.png Icons/icon-40.png Icons/icon-40@2x.png Icons/icon-50.png Icons/icon-50@2x.png Icons/icon-72@2x.png Icons/icon-76@2x.png Icons/itunes@2x.png Icons/icon-29@2x.png Icons/icon-120.png Icons/icon-48.png

with myApp replacing the real app name, Hope that helps ...

Colin Holgate
Inspiring
June 20, 2014

One of the fixes in Flash Pro CC 2014, that came out yesterday, was the ability to test to the iOS Simulator.

It also has an option for faster packaging in the settings dialog.

Known Participant
May 29, 2014

Any word on this status? I haven't noticed any progress on this issue despite update.

Craig Grummitt
Inspiring
June 4, 2014

Using the latest AIR SDK from labs (14.0.0.103) I'm still unable to test on the simulator, nor on my device from Flash CS6 or CC. (I have XCode 5.1.1)

Inspiring
May 10, 2014

I downloaded the Air 14 SDK today ( Download Adobe AIR 14 Beta - Adobe Labs ) . And finally I am able to launch it on Iphone simulator with Xcode 5.1.1 installed.

Colin Holgate
Inspiring
May 10, 2014

The problem for people here is trying to do that in Flash Pro. Even with AIR 14 the option to test on the simulator is grayed out in Flash Pro CC.

Inspiring
May 11, 2014

I am also using Flash Pro. But i am using "adt" , via terminal directly. I had been stuck, since last one month on this, after i had installed XCode 5.1 .  But with AIR 14, it seems the problem is solved.

gonMiguel
Inspiring
May 5, 2014

Hi everyone....

So ... anyone can use Xcode IOS simulator 7.1 (Xcode 5.1)  with flash "professional" ?

I tried air 4 and air 13 without success..

Air 4 can´t launch the debug... air 13 can´t even click on the option...

As i read on this post.... it was noticed a long time ago... Developers still can´t use it ?

Can anyone give me a solution//configuration to run ipad retina simulator with flash professional ?

It start to feel so many obstacles to get it workin... cmon adobe... We support you !

Support US !

lumenmedia
Inspiring
May 6, 2014

Are you working on a Mac or PC? I think I saw a similar post where you were working on a PC. If that's the case then, the Xcode iOS Simulator only comes in an install of Xcode which is an Apple-only Mac IDE.

There are web-based simulators, but they really only work to test websites on iOS, not full iOS apps.

gonMiguel
Inspiring
May 6, 2014

I work mainly on win7 machine and thats why i made that question In other thread.

I Want to be able to do that on windows...

I Work on a Mac too, and thats why i following here...

i Cant get it working with Xcode 5.1 ... neither with air 4, 13 or 14 ...

i only get it working if i use Xcode 5.0 and use air 4. Thats the only configuration i get it workin on Mac.

also, another question is that my monitor is not retina, i get the size i want , but not dpi. I dont know yet how it Will really show on ipad retina...

Participant
April 30, 2014

I've downloaded 13.0.83 and have both xCode 5.0 and 5.1 installed.  Regardless of which SDK / Simulator I target, the iOS Simulator always launches in iPhone Retina Hardware configuration.  I have iPad set as the device I want to simulate in the Project properties and on the simulator have Hardware > Device > iPad selected.  But each time I debug from FB, the Simulator switches back to iPhone Retina.  Anyone else have this issue? It's incredibly annoying and make it impossible to debug via the iOS Simulator.

Known Participant
April 30, 2014

How are you targeting to run on Xcode 5.1 simulator?

Participant
April 30, 2014

Simulator SDK's Location: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs

Which is targeting my xCode 5.1 install and launching the 7.1 simulator...

Participant
April 4, 2014

Any news? I am still not able to test my apps in the simulator, which limits the testing cycle to just a couple of devices. I tried Air 13.0.0.76 and Flash CC. Some said it worked, but not for me.

Inspiring
March 30, 2014

I am getting the same error . Compilation runs. But when trying to use -installApp , i get this error.  I had upgraded to xcode 5.1 yesterday. Using AIR 13 and downloaded the latest AIR SDK. But the error remains the same.

Nuwaus9822267
Participating Frequently
March 28, 2014

Anyone got a proper answer yet?

I'm having the same issue, tried with Apache SDK too, no luck...

If someone succeeded, please provide us the steps you made to make it work.

Thanks!