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)

查看:205
本文介绍了iOS 9新功能免费配置(在设备上运行您的应用程序,只需使用Apple ID,无Apple开发者资格)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

想了解iOS9及其中推出的新功能免费配置 Xcode 7。



Apple如何实现这一目标,因为之前我们知道我们的设备ID已在配置文件中注册,因此可以在设备上部署应用程序。 / p>

现在只有Apple ID才能实现后台的工作,对于我可以使用Free Provisioning添加构建的设备数量也有任何限制。



非常感谢任何帮助,谢谢......

解决方案

<强> 1。它是如何工作的?




  • 单击创建按钮到iOS开发




  • Connect您的设备并选择您的设备作为构建目的地。


  • 在目标的常规设置中,



    a。设置您要提供给您的免费个人资料的应用标识符



    b。将团队ID设置为您的苹果ID



    c。如果使用XCode 7,请点击配置文件警告下方的修复问题按钮。





    如果使用XCode 8,则没有修复问题按钮,XCode会自动执行此操作。



    在XCode版本的两种情况下,如果找不到您的apple ID,Xcode将创建新的配置文件或者将新设备添加到现有个人资料中。


  • 运行应用,这将安装应用。


  • 单击应用程序图标以手动启动应用程序,您将收到不受信任的开发人员对话框。要信任您的苹果ID,请转到iPhone设置>常规>设备管理>选择您的苹果ID并单击信任。

  • 在步骤8之后,您可以使用免费配置运行和调试应用程序。






  • 3。有什么限制?



    我尝试使用免费配置安装应用程序并可以运行/调试应用程序。但捕获量很少。由XCode创建的配置文件与我们通常的开发者配置文件略有不同



    从配置文件原始文件


    1. 有新密钥 LocalProvision ,其值 true



      < key> LocalProvision< / key>



      < true />



      以下许多服务都不可用,
      新: 7天


    2. < key> ProvisionedDevices< / key> 下有列表我试图安装应用程序的设备,仍然是未知的最大设备数量,我尝试在3台成功安装的设备上安装。


    3. 这不是替代方案要在应用商店免费发布应用,您仍需要注册开发者计划才能发布应用。


    4. 无法进行基于Testflight的内部/外部测试。



    Would like to know about the new feature Free Provisioning introduced in 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.

    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.

    Any help is greatly appreciated thanks...

    解决方案

    1. How it works?

    Apple Ref : How to use free provisioning

    As stated in above link under Launch Your App on Devices Using Free Provisioning point 6. "Xcode creates a free provisioning profile for you"

    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!

    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.


    2. How to use free provisioning?

    Requirements: Apple ID, XCode 7 or above

    Steps:

    1. Go to XCode Preference

    2. Go to Accounts tab and hit plus "+" button on bottom left to add your Apple ID.

    3. After successfully adding Apple ID click on view details on bottom right

    4. Click the Create button next to "iOS Development"

    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

      c. If using XCode 7, hit Fix Issue button below provisioning profile warning.

      If using XCode 8, there is no Fix Issue button XCode will automatically do this.

      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.

    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.
    9. After step 8 you can run and debug app using free provisioning.


    3. What are the Limitations?

    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

    From profile raw file

    1. There is new key LocalProvision with value 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)

    2. Expires in 7 days (this was changed sometime in May, previously it was 90 days).

      <key>TimeToLive</key>

      <integer>7</integer>

      Old: 90 days New: 7 days

    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.

    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.

    这篇关于iOS 9新功能免费配置(在设备上运行您的应用程序,只需使用Apple ID,无Apple开发者资格)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

    查看全文
    相关文章
    登录 关闭
    扫码关注1秒登录
    发送“验证码”获取 | 15天全站免登陆