ERROR ITMS-90174: “Missing Provisioning Profile - iOS Apps must contain a provisioning profile in a file named embedded.mobileprovision.”

后端 未结 10 1663
庸人自扰
庸人自扰 2020-12-07 15:54

When I upload to Application Loader I receive the following message:

ERROR ITMS-90174: \"Missing Provisioning Profile - iOS Apps must contain a provisioning          


        
10条回答
  •  心在旅途
    2020-12-07 16:01

    To locate the embedded provisioning profile in the app binary:

    In Xcode, select your project in the project navigator. Click the disclosure triangle next to the project to reveal the contents. Click the disclosure triangle next to Products to reveal the binary. Control-click the binary file, and choose “Show in Finder” from the shortcut menu to go to the Xcode build location in the Finder.

    https://developer.apple.com/library/ios/documentation/IDEs/Conceptual/AppDistributionGuide/Art/13_locateprofileinbinary_1_2x.png

    In the Finder, Control-click the binary file, and choose Show Package Contents from the shortcut menu.

    For iOS apps, a provisioning profile called embedded.mobileprovision appears in the Finder window.

    For Mac apps, the embedded file is called embedded.provisionprofile.

    ../Art/13_locateprofileinbinary_2_2x.png

    To verify the entitlements of the embedded provisioning profile

    Launch Terminal (located in /Applications/Utilities), and enter this text (do not press Return):

    security cms -D -i

    In the Finder, drag the provisioning profile in the app binary to Terminal.

    ../Art/13_verifyentitlementsinapp_1_2x.png

    Press Return. This command outputs a property list in XML format.

    If you don't have an embedded.mobileprovision file, that seems to be the problem and you probably did not build the app properly for app store distribution.

提交回复
热议问题