Re: Developer


Alexander von Below
 

Maybe this helps: Code to decode mobileprovisions https://github.com/below/cgjprofile

Von meinem iPhone gesendet

Am 19.10.2019 um 08:43 schrieb Gerriet M. Denkmann <gerriet@...>:



On 18 Oct 2019, at 06:26, Carl Hoefs <newslists@...> wrote:

Did you find out anything more about this problem? We're experiencing it too. iPhone app builds expire after 1 year, but last only a week or two on the iPad. My boss just got bitten by this at a demo.

-Carl


On Oct 6, 2019, at 2:20 AM, Gerriet M. Denkmann <gerriet@...> wrote:

A friend of mine has a problem:

When he installs an app (via Xcode) on his iPhone it works fine (probably the app will expire after one year).
But when he installs the same app on his iPad, the app will expire after just one week.

What could be the reason for this behaviour?

Find …/Your iOS.app/embedded.mobileprovision, open in some editor and delete the first 62 bytes, so that it starts with:
“<?xml version="1.0" encoding="UTF-8”?>”
Save as: /anyPath/anyName.plist and open this in Xcode.

Look at ProvisionedDevices and TimeToLive.

It seems that every Developer Team has a List of (up to 100) ProvisionedDevices, which will build with TimeToLive = 365.
Building for a device which is *not* in ProvisionedDevices will get TimeToLive = 7.

So the problem reduces to: How to add a device to the list of ProvisionedDevices.
And I do not know the answer.
My Xcode seems to add any new device to this list by some kind of magic.

The Xcode of your boss (and of my poor friend) seems not to do this.


Gerriet.




Join cocoa@apple-dev.groups.io to automatically receive all group messages.