适用于有限或受限制的受众群体

时间:2013-11-20 05:50:19

标签: iphone objective-c itunes

我想知道可以为有限的受众保留iphone应用程序。应用程序只能由不同位置的成员访问。我不想要Ad hoc发行版,因为它仅限于100台设备,但应该是无限用户。

我如何在iPhone上实现这一目标?

4 个答案:

答案 0 :(得分:3)

您只需添加授权即可。并为俱乐部会员提供登录/密码。当然,它需要一个autherization服务器,但这是我目前唯一的想法。 当您提交应用时,您必须为Apple审核小组提供测试帐户。

答案 1 :(得分:2)

您可以分发应用程序的Add-hoc版本,该版本仅安装在授权设备上

答案 2 :(得分:2)

您可以拥有该应用的企业版,即添加您想要访问的所有人的设备的udid,并通过专用网络分发应用。该数字有一个限制,100。如果数量很大,您可能需要多个帐户。

修改

Enterprise Distribution (Enterprise Program, $299 / Must have D-U-N-S number)
The iOS Developer Enterprise Program is intended for companies who create proprietary, in-house iOS apps for internal deployment within the company only. A valid Dun & Bradstreet (D-U-N-S) number is required for program enrollment.

Ad Hoc Distribution (Available in Standard Program, $99)
The Standard and Enterprise Programs allow you to share your application with up to 100 other iPhone or iPod touch users with Ad Hoc distribution. Share your application through email or by posting it to a web site or server.

如果您使用Apple在企业开发计划中注册,则可以执行link

答案 3 :(得分:2)

您只需按照以下步骤即可实现此目的。它可能对你有帮助。

  • 应用商店配置文件 - 您需要为App Store分发创建配置文件,并使用此代码签名标识进行构建(.ipa)。
    当xcode询问您的分发类型时,请选择Ad-hoc分发并在您的计算机系统中保存.ipa文件。
    所以现在这个.ipa与您从应用程序商店下载的相同而且 不限于100设备 即可。
    请按照以下步骤创建.ipa文件。

    Launch Xcode 5 (Product -> Archive to build the archive)
    Goto Window -> Organizer 
    Select the latest archive and click the Distribute button
    Select Save for enterprise or ad-hoc deployment
    Select your App Store provisioning profile and then Export
    Choose a location to save the .ipa file
    
  • 创建清单文件 - 这是一个简单的.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>http://www.xyz.com/foldername/AdHocDemo.ipa</string>
                 </dict>
             </array>
             <key>metadata</key>
             <dict>
                 <key>bundle-identifier</key>
                 <string>com.xyx.AdHocDemo</string>
                 <key>bundle-version</key>
                 <string>1.0</string>
                 <key>kind</key>
                 <string>software</string>
                 <key>title</key>
                 <string>AdHoc Demo</string>
             </dict>
          </dict>
         </array>
     </dict>
     </plist>
    

    上述文件中需要为您的应用修改的键是:

    1. items.assets。[1] .URL
    2. items.assets.metadata.bundle标识符
    3. items.assets.metadata.bundle版本
    4. items.assets.metadata.title。
  • 创建HTML文件 - 使用以下超链接创建简单的html文件。您需要在url标记下方提供清单文件的网址。

    <a href="itms-services://?action=download-manifest&amp; url=http://www.xyz.com/foldername/AdHocDemo.plist"> click this link to install </a>

  • 身份验证 - 此步骤适用于您的应用分发,但每个人都可以安装具有HTML文件链接的构建。因此,您需要为HTML页面上方的访问创建身份验证,因此只有授权成员才能下载应用程序。

  • 通过这种方式你不需要去苹果应用商店。人/会员可以从您自己的网站下载应用程序。它正在调用Ad-hoc / Enterprise发行版。