Search Unity

Allow my app to run only on certain device

Discussion in 'iOS and tvOS' started by KhaledM, Nov 18, 2015.

  1. KhaledM

    KhaledM

    Joined:
    Sep 29, 2013
    Posts:
    41
    Hi,

    I was contacting a publishing company to help me publish my app, they asked me to send the ipa file for testing, and they sent me their UDIDs for an iPhone and an iPad,
    my question is how to limit my app to only work on those devices?

    Thanks
     
  2. andymads

    andymads

    Joined:
    Jun 16, 2011
    Posts:
    1,614
    When you do an ad-hoc build you specify the devices via the provisioning profile. You can create a new provisioning profile at the Apple Member Center and specify which devices to add. The device UDIDs must have already been added to the device list.

    We use HockeyApp for sending test builds out rather than sending out an IPA.

    1. We send out email invite to new user.
    2. They accept and register device which gives us UDID.
    3. We add UDID to our list of devices in Apple Developer Center .
    4. We do archive build in Xcode which then automatically includes the UDID.
    5. Then we distribute via HockeyApp OSX app.
     
    KhaledM likes this.
  3. KhaledM

    KhaledM

    Joined:
    Sep 29, 2013
    Posts:
    41
    @andymads Thank you very much for your reply