简体   繁体   English

iOS 9新功能免费配置(在设备上运行您的应用程序,只需使用Apple ID,无Apple开发者资格)

[英]iOS 9 new feature Free Provisioning (Run your app on a device, just with your Apple ID, without Apple developer membership)

Would like to know about the new feature Free Provisioning introduced in iOS9 & Xcode 7. 想了解iOS9和Xcode 7中引入的新功能免费配置

How Apple is now achieving that, as before we knew our device ids were enrolled in the profiles and hence it was possible to deploy the app on devices. Apple如何实现这一目标,就像之前我们知道我们的设备ID已在配置文件中注册一样,因此可以在设备上部署应用程序。

Now only with Apple ID how the things in the background are achieved, also is there any restrictions on how many number of devices I can add my build with Free Provisioning. 现在只有使用Apple ID才能实现后台的工作,对于我可以使用Free Provisioning添加构建的设备数量也有任何限制。

Any help is greatly appreciated thanks... 非常感谢任何帮助...

1. How it works? 1.它是如何工作的?

Apple Ref : How to use free provisioning Apple Ref:如何使用免费配置

As stated in above link under Launch Your App on Devices Using Free Provisioning point 6. " Xcode creates a free provisioning profile for you " 如上面的链接所述, 在使用免费配置的设备上启动您的应用程序点6. Xcode为您创建免费的配置文件

Update: Above point 6 is removed from link, but there is no change in the way it works and steps in above link still work! 更新:上面的第6点已从链接中删除,但其工作方式没有变化,上述链接中的步骤仍然有效!

Profile created in this way is tied to your apple id, when you try to run app on new device that device's UDID gets added in this profile. 当您尝试在新设备上运行应用程序的UDID添加到此配置文件中时,以这种方式创建的配置文件与您的apple ID相关联。


2. How to use free provisioning? 2.如何使用免费配置?

Requirements: Apple ID, XCode 7 or above 要求: Apple ID,XCode 7或更高版本

Steps: 脚步:

  1. Go to XCode Preference 转到XCode首选项

  2. Go to Accounts tab and hit plus "+" button on bottom left to add your Apple ID. 转到“帐户”标签,然后点击左下角的“+”按钮添加Apple ID。

  3. After successfully adding Apple ID click on view details on bottom right 成功添加Apple ID后,单击右下角的查看详细信息 在此输入图像描述

  4. Click the Create button next to "iOS Development" 单击“iOS开发”旁边的“创建”按钮

    在此输入图像描述

  5. Connect your device and select your device as build destination. 连接您的设备并选择您的设备作为构建目标。

  6. In target's general setting, 在目标的一般设置中,

    a. 一个。 Set app identifier you want to give to your free profile 设置您要提供给您的免费个人资料的应用标识符

    b. set team id as your apple id 将团队ID设置为您的苹果ID

    c. C。 If using XCode 7, hit Fix Issue button below provisioning profile warning. 如果使用XCode 7,请点击配置文件警告下方的修复问题按钮。

    在此输入图像描述

    If using XCode 8, there is no Fix Issue button XCode will automatically do this. 如果使用XCode 8,则没有“ 修复问题”按钮,XCode将自动执行此操作。 在此输入图像描述

    In both cases of XCode versions, Xcode will either create new profile if not found for your apple id or add new device to your existing profile. 在XCode版本的两种情况下,如果找不到您的苹果ID,Xcode将创建新的配置文件,或者将新设备添加到您现有的配置文件中。

  7. Run the app, this will install app. 运行应用程序,这将安装应用程序。

  8. Click app icon to start app manually, you will get "Untrusted Developer" dialog. 单击应用程序图标以手动启动应用程序,您将看到“不受信任的开发人员”对话框。 To trust your apple id, Go to iPhone setting > General > Device Management > Select your apple id and click trust. 要信任您的苹果ID,请转到iPhone设置>常规>设备管理>选择您的苹果ID并单击信任。
  9. After step 8 you can run and debug app using free provisioning. 在第8步之后,您可以使用免费配置运行和调试应用程序。

3. What are the Limitations? 3.有什么限制?

I tried to install app with free provisioning and could run/debug app. 我尝试使用免费配置安装应用程序,并可以运行/调试应用程序。 But there are few catches. 但捕获量很少。 Profile created by XCode is bit different than our usual developer profiles XCode创建的配置文件与我们通常的开发人员配置文件略有不同

From profile raw file 从配置文件原始文件

  1. There is new key LocalProvision with value true 有一个新的关键LocalProvision值为true

    <key>LocalProvision</key>

    <true/>

    Many services like following are not available, See full list of services 许多服务如下所示, 请参阅完整的服务列表

    Apple Pay, Game Center, iCloud, In-App Purchasing, Push Notifications, Wallet (Was Passbook) Apple Pay,游戏中心,iCloud,应用程序内购买,推送通知,钱包(Passbook)

  2. Expires in 7 days (this was changed sometime in May, previously it was 90 days). 在7天后到期(这在5月的某个时间更改,之前为90天)。

    <key>TimeToLive</key>

    <integer>7</integer>

    Old: 90 days 旧: 90天 在此输入图像描述 New: 7 days 新: 7天 在此输入图像描述

  3. Under <key>ProvisionedDevices</key> there is list of devices on which I tried to install app, still unknown maximum number of devices possible, I tried to install on 3 devices which worked successfully. <key>ProvisionedDevices</key>有我尝试安装应用程序的设备列表,可能还有未知的最大设备数量,我尝试在3台成功安装的设备上安装。

  4. This is not alternative to publishing app for free on app store, you still need to enroll to developer program to publish apps. 这不是在应用程序商店免费发布应用程序的替代方法,您仍需要注册到开发人员计划才能发布应用程序。

  5. Testflight based internal / External testing is not possible. 基于Testflight的内部/外部测试是不可能的。

Apple haven't disclosed the thing like, how they are managing on their developer portal. Apple没有透露他们如何管理他们的开发者门户网站。 But I think they just removed the restriction of Paid Developer program & rest of the thing kept as it is. 但我认为他们刚刚取消了付费开发者计划的限制,其余部分保留原样。

For standard developer Program Apple support 100 device so I think same will apply here. 对于标准开发人员计划Apple支持100设备,所以我认为这同样适用于此。

Refer this link for more info.. 有关详细信息,请参阅此链接 ..

Copied from: https://developer.xamarin.com/guides/ios/getting_started/installation/device_provisioning/free-provisioning/ 复制自: https//developer.xamarin.com/guides/ios/getting_started/installation/device_provisioning/free-provisioning/

Limitations 限制

Apple has imposed a number of limitations on when and how you can use free provisioning to run your application on an iOS device, ensuring that you can only deploy to your device. Apple对何时以及如何使用免费配置在iOS设备上运行您的应用程序施加了许多限制,确保您只能部署到您的设备。 These are listed in this section. 这些都列在本节中。

Access to iTunes Connect is also limited and therefore services such as publishing to the App Store and TestFlight are unavailable to developers provisioning their applications freely. 对iTunes Connect的访问也是有限的,因此开发人员无法自由配置应用程序等服务,例如发布到App Store和TestFlight。 An Apple Developer Account (Enterprise or Personal) is required to distribute via Ad Hoc and In-House means. Apple开发者帐户(企业或个人)需要通过Ad Hoc和In-House方式进行分发。

Provisioning Profiles created in this way will expire after three months, Signing Identities after one year. 以这种方式创建的供应配置文件将在三个月后过期,一年后签署身份。 Furthermore, provisioning profiles will only be created with explicit App IDs and so you will need to follow the instructions above for every app that you wish to install. 此外,只有使用显式应用程序ID创建配置文件,因此您需要按照上面的说明为您要安装的每个应用程序。

Provisioning for most application services is also not possible with free provisioning. 使用免费配置也无法为大多数应用程序服务供应。 This includes: 这包括:

Apple Pay Apple Pay

Game Center 游戏中心

iCloud iCloud的

In-App Purchasing 应用内购买

Push Notifications 推送通知

Wallet (Was Passbook) 钱包(是存折)

Some more informations. 一些更多的信息。

You can archive app with free provisioning profile. 您可以使用免费配置文件归档应用程序。 But You can't export ipa in "XCode 7" 但你无法在“XCode 7”中导出ipa

在此输入图像描述

But you can use XCode 5 or Command line "xcodebuild" to export ipa file. 但您可以使用XCode 5或命令行“xcodebuild”来导出ipa文件。

I tried using OTA to install this ipa file. 我尝试使用OTA来安装这个ipa文件。 And it's work! 它的工作!

So... If there has a way to add UUID to your account without XCode (REST api calls). 所以...如果有办法在没有XCode(REST api调用)的情况下将UUID添加到您的帐户。 You can distribute your app to anyone you want. 您可以将应用分发给任何人。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Apple Developer注册过期后,您是否仍可以从iOS访问您的应用程序? - Can you still access your app from iOS after your Apple Developer enrollment is expired? 使用免费的Apple Developer帐户删除App ID - Remove App ID with free Apple Developer Account 在没有苹果开发者程序或越狱的设备上测试 iOS 应用程序 - Test iOS app on device without apple developer program or jailbreak 如何在没有Apple开发人员帐户的设备上运行应用程序 - How do I run an app on a device without an Apple developer account Xcode免费配置:“Apple推送通知”功能仅适用于注册Apple Developer Program的用户 - Xcode free provisioning: The 'Apple Push Notification' feature is only available to users enrolled in Apple Developer Program 在没有Apple开发人员ID的设备上安装应用程序 - Installing application on device without an apple developer ID iOS应用测试; iPad必须使用与iOS开发者计划会员资格相同的Apple ID - iOS app testing; does iPad have to use same Apple ID as iOS developer program membership 有没有办法在不使用Apple开发人员门户的情况下将设备添加到配置文件? - Is there a way to add a device to a provisioning profile without using Apple developer portal? “您的 Apple ID 未启用 iTunes Connect。” 对于新的付费开发者帐户 - “Your Apple ID isn't enabled for iTunes Connect.” for new paid developer account 使用免费的 Apple ID 将 Apple iOS Swift 应用程序部署到 iPhone - Deploy Apple iOS Swift App to iPhone with Free Apple ID
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM