Resign decrypted ipa with adhoc provisioning profile

时间:2017-06-15 10:26:54

标签: ios xcode code-signing provisioning-profile adhoc

I wanted to resign a decrypted ipa with an adhoc profile by me. I changed the bundle id of the decrypted ipa to an own bundle id (com.example.decripa). I registered that bundle id in my developer portal and created an adhoc provisioning profile from that. I downloaded it and used iReSign to resign the decrypted ipa. The parameters in iReSign:

ipa: the decrypted ipa (DecrIpa.ipa)

provisioning profile: the adhoc provisioning profile I created (DecrIpa.mobileprovision)

entitlements.plist:

<?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>
    <key>application-identifier</key>
    <string>developerID.com.example.decripa</string>
    <key>aps-environment</key>
    <string>production</string>
    <key>get-task-allow</key>
    <false/>
    <key>keychain-access-groups</key>
    <array>
        <string>developerID.com.example.decripa</string>
    </array>
</dict>
</plist>

After that I created the other necessary files using BetaBuilder and uploaded them to my website. The process using BetaBuilder worked for other apps (by me) where I could archive them for adhoc use right out of Xcode.

But if I downloaded the manifest.plist the app would install but be greyed out. There was no option to trust the developer in settings.

I only have a normal developer account and not an enterprise account.

How can I resign a decrypted ipa for adhoc use? I have no access to the project, only to the ipa.

Thank you for your help!


PS: All italic written IDs and names are not real, I just used them here to make things easier.

PPS: I added my UDID to the adhoc provisioning profile, as I said, the process already worked for another app (by me) where I could archive it for adhoc use right out of Xcode.


EDIT: Here is the system log: The system log

1 个答案:

答案 0 :(得分:0)

使用此mac应用程序通过新证书和配置或不同的捆绑标识符来重新签名您的ipa。我已成功辞职xcode 8.3

链接:https://github.com/DanTheMan827/ios-app-signer