Open oslTrifork opened 4 years ago
I believe entitlements is embedded in the provisioning profile itself and when the app is signed, it gets written to entitlements.plist
If entitlements.plist is modified, I'm not sure if the signature would be valid anymore.
I can certainly look into it though
Hi Dan
Thanks for the quick response.
I assume you extract the entitlements from the provisioning profile and replace the old entitlements file ? from command line, I usually create a new entitlements.plist file, which has been modified to look the same as before the re-sign and use that when calling 'codesign', I would assume you can do the same?
They mention that you can edit the entitlements manually so I would think it's doable. https://developer.apple.com/documentation/bundleresources/entitlements
Hi
We just bumped into an issue where after we resigned our app, app-switch via universal linking stopped working, after debugging I found out that it's because the app is fully resigned, which is usually what we want but it looks like Apple adds info to the provisioning profile when distributing, for example the associated-domain field is left empty when generating but the distributed app contains additional information, like the associated-domain field. Would it be possible extract this information from the old app and add it to the new entitlements.plist