dpb_4431
2015-08-28 16:15
浏览 48
已采纳

ios Ad hoc发行

I have created .ipa file with xcode6 then extracted the .plist and .mobileprovision file with php coding and then generated the url and after a hit that url generates this warning...

Warning: the app is not connected to url = itms-services://?action=download-manifest&url=https://mashcharting.com/scdev1/IPA-Distribution-master2/files/cConnects/cConnects.plist

I want to know Does Ad hoc distribution is possible with xcode6 generated ipa file? and if possible then what should be the appropriate procedure to do this

I have gone through number of links but it was all in vain....

  • 写回答
  • 好问题 提建议
  • 追加酬金
  • 关注问题
  • 邀请回答

1条回答 默认 最新

  • dongpengqin3898 2015-08-28 16:21
    最佳回答

    If you are trying to download IPA via a url:

    create a html file and put this code in:

    <a href="itms-services://?action=download-manifest&url=https://xxxxx.com/yyy/manifest.plist"> Download app by clicking here
    

    manifest.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>items</key>
        <array>
            <dict>
                <key>assets</key>
                <array>
                    <dict>
                        <key>kind</key>
                        <string>software-package</string>
                        <key>url</key>
                        <string>https://xxxxx.com/yyy/ipaname.ipa</string>
                    </dict>
                </array>
                <key>metadata</key>
                <dict>
                    <key>bundle-identifier</key>
                    <string>bundleid.com</string>
                    <key>bundle-version</key>
                    <string>1.0.4</string>
                    <key>kind</key>
                    <string>software</string>
                    <key>title</key>
                    <string>appname</string>
                </dict>
            </dict>
        </array>
    </dict>
    </plist>
    

    html file, manifest file & the IPA should be in same folder to make it easy

    just open the html file, click the link should be good to go

    评论
    解决 无用
    打赏 举报

相关推荐 更多相似问题