Xcode: Could not inspect the application package

后端 未结 19 1366
孤街浪徒
孤街浪徒 2020-12-08 09:57

I am running Xcode 6 and iOS 8 GM. Every other time I run my app I get this message from Xcode:

\"Could not inspect the application package\"

19条回答
  •  春和景丽
    2020-12-08 10:12

    I had the same issue, And was unable to install the ipa. It always ended with an error "Could not inspect the application package." and some warnings in device console

    Feb 10 17:38:16 iPhone mobile_installation_proxy[356] : LaunchServices: Please include the kCFBundleIdentifierKey in the options   dictionary when installing an app.
    Feb 10 17:38:16 iPhone mobile_installation_proxy[356] : LaunchServices: installing app with unknown bundleID
    .
    .
    Feb 10 17:38:16 iPhone installd[44] : 0x101bcc000 -[MIBundle _validateWithError:]: 28: Failed to load Info.plist from bundle at path
    Feb 10 17:38:16 iPhone installd[44] : 0x101bcc000 + [MIInstallable installablesAtURL:packageFormat:userOptions:error:]: Failed  to create bundle for …
    

    After spending hours, I got it fixed by adding the "Application requires iPhone environment" in info.plist

    LSRequiresIPhoneOS
    
    

提交回复
热议问题