I want a flow where my project is set up to produce an application signed with the development mobile provisioning profile, that can be resigned for AdHoc or AppStore distribution later on using Xcode's convenient interface for this.
The problem is that when I create an archive signed by a development provisioning profile, both the embedded.mobileprovision
and the application binary itself contain the specification get-task-allowed
set to true
, but when I re-sign that application using Xcode's UI for this, the result is an application where embedded.mobileprovision
has get-task-allowed
set to false
(as I want), but the binary itself still contains get-task-allowed
set to true
(not what I want).
So how do I resign the application properly so that my distribution profile used for re-signing gets properly applied throughout the resulting application?