-
1. Re: cannot install app on ios 7: PackageInspectionFailed, did not have bundle identifier
sakjain1 Aug 30, 2013 5:24 AM (in response to notmoresca)Hello,
Could you please confirm following:
-Is your iOS7 device added in the certificate.p12 you are using to package the ipa?
-Command you are using for installing the app?
Thanks,
Sakshi
Adobe AIR Team
-
2. Re: cannot install app on ios 7: PackageInspectionFailed, did not have bundle identifier
notmoresca Aug 31, 2013 5:58 AM (in response to sakjain1)Before I upgraded to ios 7, I could install the app.
My ios 7 device has the correct provision file(I opend the provision file in a text editor, and can find the device id there). I opened the gerenated ipa file, and extracted the info.plist file, the bundle name is there in the plist file.
The ios 7 build configuration is the same as ios 6( I haven't changed certificate, provision files)
I use ant to build the ipa.
<java jar="${ADT}" dir="${airpackage.dir}" fork="true" failonerror="true">
<arg line="-package"/>
<arg line="-target ipa-ad-hoc"/>
<arg line="-storetype pkcs12"/>
<arg line="-keystore ${ios.certificate.file}"/>
<arg line="-storepass ${ios.certificate.pass}"/>
<arg line="-provisioning-profile ${ios.provisioning.profile}"/>
<arg value="${app.name}.ipa"/>
<arg value="${ios.app.descriptor}"/>
<arg line="${app.name}.swf"/>
<arg line="-C . Default-Landscape.png"/>
<arg line="-C . Default-Landscape@2x.png"/>
<arg line="-extdir ane"/>
</java>
-
3. Re: cannot install app on ios 7: PackageInspectionFailed, did not have bundle identifier
notmoresca Sep 3, 2013 11:42 PM (in response to notmoresca)I used the same provision and key to package another app and installed on the same ios 7 device successfully. so the problem doesn't relate to provision profile.
One difference is the one with problems uses some ANEs.
what's going on here?
-
4. Re: cannot install app on ios 7: PackageInspectionFailed, did not have bundle identifier
notmoresca Sep 4, 2013 11:34 PM (in response to notmoresca)The problem was caused by the presence of a folder called "resources" packaged into the ipa:
here's the relavant line passed to adt in ant:
<arg line="-C . resources"/>
Once I changed it "resources" to something else, the installation worked on ios 7.
-
5. Re: cannot install app on ios 7: PackageInspectionFailed, did not have bundle identifier
vitorvtb2013 Sep 28, 2013 4:52 PM (in response to notmoresca)Yeah... just rename "resources" directory (to “res”, for example) and works!!!!
Thank you!!
-
6. Re: cannot install app on ios 7: PackageInspectionFailed, did not have bundle identifier
nya Oct 9, 2013 1:58 PM (in response to vitorvtb2013)Hello, I am having the same problem. But I am not installing using adt. In FB, I just click on "Project" -> "Export release build" to create an .ipa file to install via iTunes.
Can someone help me fix this? I obviously can't chnange the line of code!What "Resource" directory are you referring to?
Thank you!
-
7. Re: cannot install app on ios 7: PackageInspectionFailed, did not have bundle identifier
vitorvtb2013 Oct 10, 2013 1:16 PM (in response to nya)If you have any folder named "resources" in your project change it to another name.
You should also check if you have file names without UTF-8 characters.
-
8. Re: cannot install app on ios 7: PackageInspectionFailed, did not have bundle identifier
SarahNorthway Oct 18, 2013 5:39 AM (in response to notmoresca)I have found this PackageInspectionFailed error happens totally randomly. I will build, it works, I change nothing and build again, it fails. I reboot the computer and build again, it works. No "resources" folder involved. For me it's happening on both iOS 6 and 7, and it's the IPA files themselves which are corrupt. When it happens to production builds they can't be uploaded to the App Store and I get a similar error about codesign verification failing. I've reported it to Adobe and they suggest we vote for them to fix this issue:
-
9. Re: cannot install app on ios 7: PackageInspectionFailed, did not have bundle identifier
nya Oct 22, 2013 12:10 PM (in response to vitorvtb2013)Thank you for replying. I check my project folder under "Adobe Flash Builder 4.7", there isn't any folder named "resources".... The only ones that actuall have the word "resources" are under the metadata\.plugins folder, those of org.eclipse.core.resources . Other than that, I don't see any other folder named "resources".
Do you have any other suggestion? Thank you!
-
10. Re: cannot install app on ios 7: PackageInspectionFailed, did not have bundle identifier
terstepki Oct 25, 2013 4:24 AM (in response to notmoresca)I have the same problem. Can't install ipa to iOS7 devices with correct cert and provision files. I dont have any resources directory. (Air 3.8)
-
11. Re: cannot install app on ios 7: PackageInspectionFailed, did not have bundle identifier
terstepki Oct 25, 2013 5:51 AM (in response to terstepki)No chance with Air 3.9 too
-
12. Re: cannot install app on ios 7: PackageInspectionFailed, did not have bundle identifier
shermanwellons Nov 6, 2013 8:15 PM (in response to terstepki)Terstepki, SarahNorthway, nya.
I made the mistake of updating my Ipad 4 to IOS 7.0. Now my .ipa file out of Flash Builder 4.7 using AIR SDK 3.9 found here:
http://www.adobe.com/devnet/air/air-sdk-download.html
Will not install. Basically the icon is greyed out and everytime I touch the icon underneath the graphic I get the "Installing" word which sits there for hours (got fustrated so I needed a dinner break).
This did not happen on IOS 5 and 6. Has anybody found a solution for this? I am not using ADT. I am using the Run Configurations to create a .ipa out of Flash Builder. Any insight on this would be greatly appreciated.
I get the same results on my Macintosh machine running 10.7.5 and on the laptop running 10.8.5. Thanks........
-
13. Re: cannot install app on ios 7: PackageInspectionFailed, did not have bundle identifier
amitpalscorp Dec 3, 2013 4:45 AM (in response to shermanwellons)I am facing same issue .. please help.
-
14. Re: cannot install app on ios 7: PackageInspectionFailed, did not have bundle identifier
Edison Muñoz Dec 3, 2013 8:13 PM (in response to notmoresca)hi
i had the same problem, and the solution that i found was that when yo create your iOS App ID, just enables the push notifications for that app, and that's it
-
15. Re: cannot install app on ios 7: PackageInspectionFailed, did not have bundle identifier
July Chen Dec 8, 2013 11:49 PM (in response to notmoresca)Same as nya,how can I fix this with "Project" -> "Export release build"????THX.....
-
16. Re: cannot install app on ios 7: PackageInspectionFailed, did not have bundle identifier
July Chen Dec 8, 2013 11:51 PM (in response to nya)Did you get this work??? I got the same problem.....
-
17. Re: cannot install app on ios 7: PackageInspectionFailed, did not have bundle identifier
Edison Muñoz Dec 9, 2013 8:02 AM (in response to July Chen)as i said, in the apple developer platform, i just enabled the push notifications, and in the application description i put this:
...
<iPhone>
<Entitlements>
<![CDATA[
<key>get-task-allow</key>
<true/>
<key>aps-environment</key>
<string>production</string><!-- development -->
<key>application-identifier</key>
<string>AppPrefix.AppId</string>
<key>keychain-access-groups</key>
<array>
<string>AppPrefix.*</string>
</array>
]]>
</Entitlements>
...
pd: change AppPrefix for your own Application Prefix and AppId for your Application Id, that is given when you create your AppId in the Apple Developer Platform, remember to enable your PushNotification option
i found this solution after 48h searching for it, i know that this is not the best solution, but it works
hope it works for you too
-
18. Re: cannot install app on ios 7: PackageInspectionFailed, did not have bundle identifier
July Chen Dec 11, 2013 1:12 AM (in response to Edison Muñoz)I did what you said but still have the problem, which SDK do you use? I did not set the icon in the application description..
-
19. Re: cannot install app on ios 7: PackageInspectionFailed, did not have bundle identifier
tomaugerdotcom Feb 4, 2014 9:05 AM (in response to notmoresca)The problem with this error is that there are too many conditions that cause the same Error message with no additional information about what is the root cause.
So some of the answers on this post (eg: folder name conflict) may be relevant to some cases, and other answers (clean the project) solve other issues, but there is no one answer to the PackageInspectionFailed error.
It's extremely frustrating - are there logs somewhere that can provide more details about what is causing the failure?
-
20. Re: cannot install app on ios 7: PackageInspectionFailed, did not have bundle identifier
guiyom20 Apr 17, 2014 8:38 AM (in response to notmoresca)It's the same with directory named "contents" in the ipa package.
Is there a list of "forbidden" words? -
21. Re: cannot install app on ios 7: PackageInspectionFailed, did not have bundle identifier
SammyT May 10, 2014 4:22 AM (in response to shermanwellons)I am experiencing the same problem, did anyone find a solution for this?
-
22. Re: cannot install app on ios 7: PackageInspectionFailed, did not have bundle identifier
B.Holzem Jun 17, 2014 8:24 AM (in response to notmoresca)I have the same problem.
If i try to install the .ipa over iTunes it stuck by installing.(instead of running normally its name changes to "installing" and it never changes until app is deleted from the device)ere'
Here's the errors i get:
Jun 11 16:23:56 iPad itunesstored[97] <Warning>: LaunchServices: Creating installProgressForApplication:LSApplicationProxy: com.workid.dev.myapptest (Placeholder) withPhase:0
Jun 11 16:23:56 iPad lsd[69] <Warning>: LaunchServices: Updating installState for parent <NSProgress: phase=Installing; state=Failed; fractionCompleted=0.000000> to LSInstallStateWaiting
Jun 11 16:23:56 iPad lsd[69] <Warning>: LaunchServices: Updating installPhase for parent <NSProgress: phase=Installing; state=Waiting; fractionCompleted=0.000000> to 0
Jun 11 16:24:05 iPad SpringBoard[33] <Warning>: Killing com.workid.dev.myapptest for app installation
Jun 11 16:24:05 iPad itunesstored[97] <Warning>: LaunchServices: installing app for existing placeholder LSApplicationProxy: com.workid.dev.myapptest (Placeholder)
Jun 11 16:24:05 iPad itunesstored[97] <Warning>: LaunchServices: Creating installProgressForApplication:LSApplicationProxy: com.workid.dev.myapptest (Placeholder) withPhase:1
Jun 11 16:24:05 iPad lsd[69] <Warning>: LaunchServices: Updating installPhase for parent <NSProgress: phase=Loading; state=Active; fractionCompleted=0.560000> to 1
Jun 11 16:24:05 iPad installd[60] <Notice>: 0x283000 handle_install_for_ls: Install of "/var/mobile/Media/Downloads/2756300775725993031/-7186270216561608137" requested by itunesstored
Jun 11 16:24:09 iPad installd[60] <Notice>: 0x283000 MobileInstallationInstall_Server: Installing app com.workid.dev.myapptest
Jun 11 16:24:09 iPad installd[60] <Error>: profile not valid: 0xe8008012
Jun 11 16:24:09 iPad installd[60] <Error>: 0x283000 install_embedded_profile: Could not install embedded profile: 0xe8008012
Jun 11 16:24:10 iPad installd[60] <Error>: 0x283000 verify_signer_identity: MISValidateSignatureAndCopyInfo failed for /var/tmp/install_staging.V0AUjh/foo_extracted/Payload/MyAppTest.app/MyAppTest: 0xe8008015
Jun 11 16:24:10 iPad installd[60] <Error>: 0x283000 do_preflight_verification: Could not verify executable at /var/tmp/install_staging.V0AUjh/foo_extracted/Payload/MyAppTest.app
Jun 11 16:24:10 iPad installd[60] <Error>: 0x283000 install_application: Could not preflight application install
Jun 11 16:24:10 iPad itunesstored[97] <Error>: 0x1d77000 MobileInstallationInstallForLaunchServices: failed with -1
Jun 11 16:24:10 iPad itunesstored[97] <Warning>: ERROR: MobileInstallationInstallForLaunchServices returned nil
Jun 11 16:24:10 iPad lsd[69] <Warning>: LaunchServices: installation failed for app com.workid.dev.myapptest
Jun 11 16:24:10 iPad itunesstored[97] <Warning>: LaunchServices: installPhaseFinishedForProgress: com.workid.dev.myapptest.Installing - <NSProgress: phase=Installing; state=Failed; fractionCompleted=0.000000> called, removing progress from cache
Jun 11 16:24:10 iPad lsd[69] <Warning>: LaunchServices: installation failed for app com.workid.dev.myapptest
Jun 11 16:24:10 iPad itunesstored[97] <Warning>: LaunchServices: installPhaseFinishedForProgress: com.workid.dev.myapptest.Loading - <NSProgress: phase=Loading; state=Failed; fractionCompleted=1.000000> called, removing progress from cache
Jun 11 16:24:10 iPad installd[60] <Error>: 0x283000 handle_install_for_ls: API failed -
23. Re: cannot install app on ios 7: PackageInspectionFailed, did not have bundle identifier
JorikeLangerman Nov 11, 2014 11:41 PM (in response to notmoresca)I looked into all the above suggestions, but no joy.
My solution was to use an EXPLICIT App ID for development (previously I had a wildcard App ID and it worked just fine...). Sure, that buggers up debugging directly from Flash Builder, but at least the app installed via iTunes. So, steps were:
1. Apple Developer portal -> create new explicit app ID (to use for development and exporting for iTunes install only)
2. Apple Developer portal -> create development provisioning profile with newly created app ID and export
3. Flash Builder -> edit app descriptor xml to use same explicit app ID in <id> tag
4. Flash Builder -> Export release build using development certificate, mobile provisioning file created in point 2 above and choose Ad Hoc
5. iTunes -> add new file to library and install to device. NOTE: in the past it seems to have been necessary to add the mobile provisioning profile to iTunes too, but iTunes 12 doesn't seem to require it. I just add the .ipa and go.
Hope it helps someone.

