XXX application has not been installed ... because the rights are invalid

I'm trying to build an assembly for a small group of non-developer testers to do some beta testing in my application before I post it to iTunes Connect. I read the Developer's Guide for Distributing your Testing Application (you may need to register with Apple to read this), as well as <"TN2250 Technical Note in Ad Hoc Distribution" and countless blog entries and Stack Overflow articles, but for now not reached.

The steps I took:

  • (I am running Xcode 3.2.5.)
  • I created the Development Provisioning Profile in the iOS Provisioning Portal, as well as the device for all testers.
  • I downloaded this profile and installed it in Xcode by dragging and dropping this "Organizer" window, and I can see the profile under Development> Profiling
  • I set this profile as “Signature Identification Code> Any iOS” in both project settings and goals
  • I created the Entitlements.plist file, set the property list type to “iPhone Rights Card”, deleted all the lines except “Can be debugged” and sets it to clear the check box
  • I set the "Sign Code" Rights "to Entitlements.plist (exact case-sensitive name) in both the project and the target settings
  • I have build and archive in my project
  • "" "...", , .ipa
  • .ipa zip .

:

  • , .ipa iTunes
  • .mobileprofile iTunes

, , " [ ] [ ], ."

, , - . , , Xcode.

- , ?

[ Apple .]

+1
3

*.ipa . Windows, zip. zip .

iOS ?

Setting > General > Profiles , . , . , .

, Open These Latest Results as Transcript Text File, CodeSign, , , . Entitlements.plist, , .

, . Can be debugged, application-identifier keychain-access-group, . , :

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <!--- Required entitlements (in most cases shouldn't be changed) --->
    <key>application-identifier</key>
    <string>$(AppIdentifierPrefix)$(CFBundleIdentifier)</string>
    <key>keychain-access-groups</key>
    <array>
        <string>$(AppIdentifierPrefix)$(CFBundleIdentifier)</string>
    </array>

    <!--- Custom entitlements below --->


</dict>
</plist>

- , , Apple ;

  • . , .
  • : iOS: COMPANYNAME
  • " Xcode" " ".
  • Xcode Finder.
  • Xcode .
  • . iOS: COMPANYNAME .
  • .

, -! .

+1

Xcode 4 - . Apple TN2250

+1
  • .
  • " " "".
  • , .
  • "App ID: somenameyouwrote(com.somenameyouwrote)"
  • , , "com.somenameyouwrote"
  • XCode .plist.
  • "bundle identifier:" , 5.
  • In Xcode, click the arrow on "Targets"and double-click the target, which will show the name of your ap.
  • In the information window that opens, make sure that it is selected "Build".
  • Open "Code Signing Identity"and under it select "Any iOS".
  • On the right "Any iOS"side, select a profile whose Ap identifier matches the one you wrote in plist.
  • Bam! Disappointment!
0
source

Source: https://habr.com/ru/post/1764696/


All Articles