Skip to main content
Known Participant
October 29, 2014
Answered

Fb 4.7 air sdk 15.0.0.349 Error occurred while installing the application

  • October 29, 2014
  • 21 replies
  • 7440 views

Hi

Im using fb 4.7 air sdk 15.0.0.349 with Macosx 10.9.4, xcode 6.1 (ios simulator 8.1) and i keep getting the following response when debugging with ios simulator:

Error occurred while installing the application:

Session did end with error (null)

Can you help?  Is this a bug being fixed yet?

Thanks.

zed0784

This topic has been closed for replies.
Correct answer Govind11519869

Hi,

The issue is fixed and will be available in next AIR SDK beta.

To try the fix now,

  • Download isb from https://www.dropbox.com/s/sffwx8um12lkrzy/isb?dl=0

  • Replace it with the one at <sdk>/lib/aot/bin/isb/isb

Thanks

Govind

21 replies

Inspiring
December 16, 2014

I have updated my setup to latest beta 16.0.0.245, but still two issues (see my post with details above) exist:

1. Session could not be started if I'm running app without closing simulator.

2. Changing simulator device command launchctl setenv AIR_IOS_SIMULATOR_DEVICE "iPhone 4s" does not work.

kheftel
Inspiring
January 23, 2015

I was getting this error using the AIR SDK 15 release, but now that I've updated to the 16 release it works!

OSX 10.10.1, XCode 6.1, Flash Builder 4.7

Inspiring
January 24, 2015

Thank you for reply!

Everyone had it with 15 version. Me too. After 16 version I'm able to install app if simulator is closed. But if opened I have this error even with latest beta:

I think it's some sort of issue with my machine settings if no one have same issue.

Second issue for me is solved somehow after I delete some files (din't even notice which one).

Participant
December 12, 2014

So I applied the isb fix to AIR 16 build 222 and now its working. However, now in flashbuilder 4.7, it takes forever to build and launch on the iOS sim. When I build in the AIR simulator, its super quick, but when the debug target is the iOS sim, it takes like 5 minutes! I'm on xcode6 and flashbuilder is pointing to the 8.1 iOS simulator and sdk. Anyone having the same issue? This just started up randomly - it has always built within 30 seconds.

Inspiring
December 5, 2014

Fix is basically working for me with 16.0.0.222 beta. But I have to close simulator each time I want to run app in it. Does anyone face the same behaviour?

zed0784Author
Known Participant
December 9, 2014

what do you mean exactly?  Please detail?

Inspiring
December 9, 2014

Ah, sorry.. Here are details:

I use OS X Mavericks with IntelliJ IDEA 14.0.1, Xcode 6.1 and AIR SDK 16.0.0.222 (where I changed <sdk>/lib/aot/bin/isb/isb with one provided by Govind@adobe). I have run configuration to launch in ios simulator. I use /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.1.sdk path as ios sdk path.

When I click run for the first time everything works fine. Simulator is loading and installing app and launching it correctly. Now if I will press run once again (with simulator opened) I have this kind of error:

Session could not be started..

If I will close my simulator with Command + Q and press run again everything is working correctly again. So for my environment isb patch is working partly and I have to close simulator each time I want to run my app. Before this patch nothing was working at all.

Does anyone have the same situation?

Also I noticed that my environment variable AIR_IOS_SIMULATOR_DEVICE does not influence on device which is used by simulator. I specified iPad 2 before starting IntelliJ IDEA and it makes no changes. Simulator uses only iPhone 5 simulator.


I hope Adobe will release more stable version before new year. It's been long time since everyone started to struggling with this important things. I'm little bit disappointed with the fact that it's not solved yet.

michaelsteuer
Participating Frequently
November 20, 2014

Any word yet? This is beyond ridiculous and as Dennis84 correctly points out, makes one wonder if you still expect the community to take AIR seriously or not. If not, then please make a public announcement and provide a proper migration path.

marchbold
Inspiring
November 21, 2014

Totally agree. This is really making development and testing a lot harder at the moment. 

air native extensions // https://airnativeextensions.com
Govind11519869Correct answer
Adobe Employee
November 21, 2014

Hi,

The issue is fixed and will be available in next AIR SDK beta.

To try the fix now,

  • Download isb from https://www.dropbox.com/s/sffwx8um12lkrzy/isb?dl=0

  • Replace it with the one at <sdk>/lib/aot/bin/isb/isb

Thanks

Govind

stolennickname
Inspiring
November 19, 2014

Error persists in AIR 16.0.0.222.

I have to release an AIR authored iOS app next week. I hope it runs on the devices I can't test against.

zed0784Author
Known Participant
November 19, 2014

Don't bother, Apple will reject it. 

Adobe are to blame for this.

stolennickname
Inspiring
November 18, 2014

Error occurs in OS X 10.10.1 as well.

Participant
November 14, 2014

Juse installed AIR 16.0, have Yosemite and Xcode 6.1 using iOS sdk and sim 8.1 - it worked the first time, and now every other time I'm getting the sessions of end with error (null) error. Is the AIR 16 beta the one that was supposed to fix the issue??

Participating Frequently
November 12, 2014

Same for me. Yostemite, beta 15 and now beta 16. null error when trying to use simulator. This is bad. Adobe needs to fix this asap.

michaelsteuer
Participating Frequently
November 12, 2014

Agreed, the lack of response here and the lack of a resolution is very harmful for AIR as a viable means of developing cross platform mobile apps... This could turn developers away or prevent new ones from joining the bandwagon... Not sure what Adobe is thinking here...

Adobe Employee
November 13, 2014

Hi,

We have fixed (Session did end with error (null)) issue on Yosemite and Xcode6.1. It will be available in next build.

Thanks

Govinda Gupta

stolennickname
Inspiring
November 12, 2014

Issue is still occurring for me with the latest AIR 16.0.0.214 (pure ActionScript app, IntelliJ IDEA 14.0, OS X 10.10, iOS SDK 8.1).

zed0784Author
Known Participant
November 12, 2014

Yeah Latest AIR 16.0.0.214 release notes still mention the install issue as a "known Bug".  Still haven't fixed it.

Not sure why it's pretty important!!!!!!!!!!

stolennickname
Inspiring
November 12, 2014

zed0784 Where did you find the AIR 16 release notes? I'm getting a 404 link not found error when trying to access the link http://labsdownload.adobe.com/pub/labs/flashruntimes/shared/air16_flashplayer16_releasenotes.pdf

Participating Frequently
November 11, 2014

Same problem here. I just updated my development environment to test for iOS 8.1 (AIR 15 SDK 15.0.0.356, Xcode Version 6.1 (6A1052d)) because my App was rejected. Apple said it was crashing on 8.1 and i dont know what the problem is. The 8.1 simulator worked once. Know i have "Session did end with error (null)". I am having the same problem on Yosemite on my MacBook and on Mavericks on my MacPro.

This is a show stopper!

Participating Frequently
November 12, 2014

I found my problems with my app crashing 8.1 were related to the new compiler. Compiling with the old one seems to work.

BUT i still cant test in iOS Simulator. This is a huge problem for our development and for our deadlines.

Known Participant
November 12, 2014

@Dennis84 can you be more specific?  Which old one?

I'm unclear on why we're not hearing anything from Adobe about this major problem....