Cannot install to iphone after upgrading to ios 7

Hi Everyone

I just upgraded my iphone to ios 7, and re-compiled the application using build 1210. I have also upgraded the Xcode to 5.0 (not sure whether that matters).

I can add the application to the iphone configuration utility, but when I tried to install the app to iphone, it came back with an error “Could not inspect the application package”.

Please help.

Regards

Jim

Hm, I had this error one or two weeks ago. There was an issue with my code after I upgraded to a newer daily build. Which daily build were you using before?

Max / CineTek

Hi Max

I was using build 1194 before, and it deploy to ios 6 without problem.

This is the first time after I upgrade my iphone to ios 7 and try to put the app to there.

Regards

Jim

Hm, there were some problems with a new transition 2.0 update a few days ago… Sometimes Corona does not show any errors if the issue is deep in the code. The problem was caused by transitions of nil objects, the “old” transition library did not show you the error even though there were some invisible problems.

So I recommend to check any transitions with a print statement. But this may not be the cause of your problem.

Max

Hi Max

Thanks for the reply.

But if that’s the case, it will be really weird. What you describe should be a runtime error, which should happen AFTER I installed the app on iphone and RUN it, then it crashes.

However, at the moment, I cannot even get it to INSTALL on iphone, the iphone configuration utility REFUSES to install the app.

Anyway, I will have a look at transition statements.

Thanks

Jim

Hi Jim,

Please test out daily build 1215 as well. This brings back “transition.dissolve” and (I believe) fixes the issue with the transitions on nil objects.

Best regards,

Brent

Hi Brent

I tried build 1215, same result.

I have tried to build a simple project and install to iphone without problem, so it seems that it has something to do with some special requirements of my project.

The only external libraries that I used were widget candy (I have upgraded to the new 1.0.975, but I tried both versions) and flot (javascript charting library), all others are internal to Corona.

Any advices/help will be much appreciated.

Regards

Jim

Hi Jim,

You’ve upgraded to Xcode5, I assume? And did you try to install the app on the phone using the XCode Organizer (or even iTunes) versus the iPhone Config Utility?

Brent

Hi Brent

Yes, I have upgraded to xcode 5.

I have tried to use Xcode - Organizer, and tried to add the Application to iPhone, but experiences the same error, “Could not inspect the application package”

I have also looked at the console log, and they basically got the same error:

26/09/13 4:49:43.289 PM Xcode[18989]: AMDeviceSecureTransferPath (thread 0x1221c2000): AMDeviceSecureTransferPath:1592 finished delta_transfer_directory

26/09/13 4:49:43.387 PM Xcode[18989]: call_and_response (thread 0x1221c2000): GOT AN ERROR 0xe8000051

26/09/13 4:49:43.388 PM Xcode[18989]: perform_command (thread 0x1221c2000): There was an error communicating with the service agent: 0xe8000051

Regards

Jim

Hi Brent

The following is the Xcode Organizer log when I tried to add the application to the iphone:

Regards

Jim

Sep 26 16:56:06 Jims-iPhone mobile_installation_proxy[1326] <Warning>: LaunchServices: Please include the kCFBundleIdentifierKey in the options dictionary when installing an app.

Sep 26 16:56:06 Jims-iPhone mobile_installation_proxy[1326] <Warning>: LaunchServices: installing app for existing placeholder (null)

Sep 26 16:56:06 Jims-iPhone installd[1423] <Notice>: 0x2c3000 handle_install_for_ls: Install of “/var/mobile/Media/PublicStaging/au.com.gammacore.LHCHeadacheDiary.app” requested by mobile_installation_proxy

Sep 26 16:56:06 Jims-iPhone installd[1423] <Error>: 0x2c3000 peruse_package: App info dict loaded from “/var/tmp/install_staging.KsRXu2/au.com.gammacore.LHCHeadacheDiary.app” did not have bundle identifier

Sep 26 16:56:06 Jims-iPhone installd[1423] <Error>: 0x2c3000 stage_package: Could not peruse package at /var/tmp/install_staging.KsRXu2/au.com.gammacore.LHCHeadacheDiary.app

Sep 26 16:56:06 Jims-iPhone installd[1423] <Error>: 0x2c3000 MobileInstallationInstall_Server: Could not stage the package

Sep 26 16:56:06 Jims-iPhone mobile_installation_proxy[1326] <Error>: 0x241000 MobileInstallationInstallForLaunchServices: failed with -1

Sep 26 16:56:06 Jims-iPhone mobile_installation_proxy[1326] <Warning>: ERROR: MobileInstallationInstallForLaunchServices returned nil

Sep 26 16:56:06 Jims-iPhone mobile_installation_proxy[1326] <Error>: 0x241000 handle_install: Installation failed: Error Domain=LaunchServicesError Code=0 “The operation couldn’t be completed. (LaunchServicesError error 0.)” UserInfo=0x1556abb0 {Error=PackageInspectionFailed}

Sep 26 16:56:06 Jims-iPhone installd[1423] <Error>: 0x2c3000 handle_install_for_ls: API failed

Hi Everyone

Problem resolved.

The problem was caused by having a directory named “resources” in the application directory, I have to renamed the directory and then change all references in the application. Then it worked like a charm.

It probably is a reserved directory, but it works fine before.

Anyway, thank you everyone for your help and suggestions.

Regards

Jim

Hm, I had this error one or two weeks ago. There was an issue with my code after I upgraded to a newer daily build. Which daily build were you using before?

Max / CineTek

Hi Max

I was using build 1194 before, and it deploy to ios 6 without problem.

This is the first time after I upgrade my iphone to ios 7 and try to put the app to there.

Regards

Jim

Hm, there were some problems with a new transition 2.0 update a few days ago… Sometimes Corona does not show any errors if the issue is deep in the code. The problem was caused by transitions of nil objects, the “old” transition library did not show you the error even though there were some invisible problems.

So I recommend to check any transitions with a print statement. But this may not be the cause of your problem.

Max

Hi Max

Thanks for the reply.

But if that’s the case, it will be really weird. What you describe should be a runtime error, which should happen AFTER I installed the app on iphone and RUN it, then it crashes.

However, at the moment, I cannot even get it to INSTALL on iphone, the iphone configuration utility REFUSES to install the app.

Anyway, I will have a look at transition statements.

Thanks

Jim

Hi Jim,

Please test out daily build 1215 as well. This brings back “transition.dissolve” and (I believe) fixes the issue with the transitions on nil objects.

Best regards,

Brent

Hi Brent

I tried build 1215, same result.

I have tried to build a simple project and install to iphone without problem, so it seems that it has something to do with some special requirements of my project.

The only external libraries that I used were widget candy (I have upgraded to the new 1.0.975, but I tried both versions) and flot (javascript charting library), all others are internal to Corona.

Any advices/help will be much appreciated.

Regards

Jim

Hi Jim,

You’ve upgraded to Xcode5, I assume? And did you try to install the app on the phone using the XCode Organizer (or even iTunes) versus the iPhone Config Utility?

Brent

Hi Brent

Yes, I have upgraded to xcode 5.

I have tried to use Xcode - Organizer, and tried to add the Application to iPhone, but experiences the same error, “Could not inspect the application package”

I have also looked at the console log, and they basically got the same error:

26/09/13 4:49:43.289 PM Xcode[18989]: AMDeviceSecureTransferPath (thread 0x1221c2000): AMDeviceSecureTransferPath:1592 finished delta_transfer_directory

26/09/13 4:49:43.387 PM Xcode[18989]: call_and_response (thread 0x1221c2000): GOT AN ERROR 0xe8000051

26/09/13 4:49:43.388 PM Xcode[18989]: perform_command (thread 0x1221c2000): There was an error communicating with the service agent: 0xe8000051

Regards

Jim

Hi Brent

The following is the Xcode Organizer log when I tried to add the application to the iphone:

Regards

Jim

Sep 26 16:56:06 Jims-iPhone mobile_installation_proxy[1326] <Warning>: LaunchServices: Please include the kCFBundleIdentifierKey in the options dictionary when installing an app.

Sep 26 16:56:06 Jims-iPhone mobile_installation_proxy[1326] <Warning>: LaunchServices: installing app for existing placeholder (null)

Sep 26 16:56:06 Jims-iPhone installd[1423] <Notice>: 0x2c3000 handle_install_for_ls: Install of “/var/mobile/Media/PublicStaging/au.com.gammacore.LHCHeadacheDiary.app” requested by mobile_installation_proxy

Sep 26 16:56:06 Jims-iPhone installd[1423] <Error>: 0x2c3000 peruse_package: App info dict loaded from “/var/tmp/install_staging.KsRXu2/au.com.gammacore.LHCHeadacheDiary.app” did not have bundle identifier

Sep 26 16:56:06 Jims-iPhone installd[1423] <Error>: 0x2c3000 stage_package: Could not peruse package at /var/tmp/install_staging.KsRXu2/au.com.gammacore.LHCHeadacheDiary.app

Sep 26 16:56:06 Jims-iPhone installd[1423] <Error>: 0x2c3000 MobileInstallationInstall_Server: Could not stage the package

Sep 26 16:56:06 Jims-iPhone mobile_installation_proxy[1326] <Error>: 0x241000 MobileInstallationInstallForLaunchServices: failed with -1

Sep 26 16:56:06 Jims-iPhone mobile_installation_proxy[1326] <Warning>: ERROR: MobileInstallationInstallForLaunchServices returned nil

Sep 26 16:56:06 Jims-iPhone mobile_installation_proxy[1326] <Error>: 0x241000 handle_install: Installation failed: Error Domain=LaunchServicesError Code=0 “The operation couldn’t be completed. (LaunchServicesError error 0.)” UserInfo=0x1556abb0 {Error=PackageInspectionFailed}

Sep 26 16:56:06 Jims-iPhone installd[1423] <Error>: 0x2c3000 handle_install_for_ls: API failed