ok, a little awkward, but sometimes you spend hours on the most idiotic mistakes -
so I run the application in DEBUG mode instead of AD-HOC .
to change this do:
scheme → Change scheme ...
select Run on the left and select Ad-Hoc dist in the Build Configuration section.
*, of course, you need to have a suitable adhoc provisioning profile when installing the assembly \ code signing, as well as the corresponding APNS certificate attached to it when creating the provisioning profile.
** after starting it, it will be crushed because it does not work in DEBUG mode, but you can still run it from the device.

Aviram Netanel Jul 21 '15 at 11:54 2015-07-21 11:54
source share