开发者

Extract embedded profile from ipa in PHP

开发者 https://www.devze.com 2023-03-22 12:39 出处:网络
I want to create a web server like testflight. I want to up开发者_如何学Pythonload only the ipa file and fetch the provision profile. So the user don\'t need to add the provision profile. Is there a s

I want to create a web server like testflight. I want to up开发者_如何学Pythonload only the ipa file and fetch the provision profile. So the user don't need to add the provision profile. Is there a solution for this?

Also, how is testflight working to install an application in a device?


For anyone who wants a "real" answer you would use PHP to extract the IPA(zip) and the provision is available in the XXXX.app folder in the Payload folder

$zip = new ZipArchive;
    if ($zip->open('FirstApp.ipa') === TRUE) {
        $zip->extractTo('/dir/');
        $zip->close();
    }


Actually the embedded profile in your ad-hoc distribution will install on the user's device automatically while downloaded OTA. Check Apples docs on Distributing Enterprise Apps for iOS 4 Devices, section Installing Apps Wirelessly. For a full sample read [deleted]

Edit: The link above was broken, and seems to have moved to: http://aaronparecki.com/articles/2011/01/21/1/how-to-distribute-your-ios-apps-over-the-air

Also since iOS 7.0.3, the plist (not the ipa) must be hosted on a ssl secured site (https).

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号