Visual Studio for Mac checks to see if the device is registered on the Apple Developer Portal. If it is not, then the device is added and a new provisioning profile is generated. The bundle ID of your app is changed. Visual Studio for Mac updates the app ID to match the bundle ID. A new provisioning profile containing this app ID is generated. How to build Cordova iOS app with Visual Studio and test using TestFlight? – How to navigate through Mac and find the remote build that was pushed from Visual Studio to Mac – Open iOS project in XCode in Mac. It took me a while get full grasp of provisioning profile concept and all the certs. Best is to play around with this a bit.
HockeyApp helps you to collect the device IDs (UDIDs) from you testers, but has no access to your Apple ID, so you need to create or update your iOS provisioning profile with those UDIDs and create a new build with this profile, then upload that build to HockeyApp. See the following article for information about. With iOS ad-hoc provisioning, you will need to add new devices to your provisioning profile by UDID. (You can use more than one Apple Developer Account from the same HockeyApp account, but you can only use one Apple Developer Account per app. You can also have multiple devices associated with one user account, or one device associated with multiple user accounts.) When you publish apps to the App Store, they are signed for the specific use of the buyer and there is no provisioning profile and no need for UDID collection and registration. Apps that qualify to use enterprise provisioning profiles with the are exempt from needing to import UDIDs into the provisioning profile. (Mixing ad-hoc and enterprise builds in the same app is not supported.
You need to split ad-hoc and enterprise builds into two different apps.) The following steps describe how to add new devices to your iOS provisioning profile by UDID:. Sign in to HockeyApp. Click on your app, then on 'Users'. Select 'Export Unprovisioned Devices', then a file will be downloaded to your Mac or PC. Or click on a user and copy his UDIDs. Note that you can only add a maximum of 100 UDIDs for iPhone, iPods, iPads, and WATCH to the provisioning portal.
Depending on your app and target platform, this can allow for 400 different devices. Sign in to. Click on 'Certificates, Identifiers & Profiles' in the right sidebar. Click on 'Devices', then on the + button.
Select 'Register Multiple Devices' and choose the downloaded device file. Click on 'Continue'. Confirm the list of imported devices with 'Register'. Click on 'Distribution' below 'Provisioning Profiles'. Click on the + button, select 'Ad Hoc', then click on 'Continue'.
Select the for your app, then click on 'Continue'. If you have no corresponding App ID, please follow Apple’s documentation:. Select your certificate, then click on 'Continue'. If you have not yet created a certificate, please follow Apple’s documentation:. Notice that you need a distribution certificate for ad-hoc distribution.
Now you should see all devices registered in the portal. Select all or just the ones that you want to include in this provisioning profile. Then click on 'Continue'. Enter a name for the profile. Confirm with 'Generate'. The portal will now show 'Loading' for some time, then you can download the profile. Drag & drop the downloaded profile to Xcode.
In Xcode, select your project in the left sidebar, then 'Build Settings'. Enter 'code sign' in the search field. Select the line for your release configuration and choose the downloaded profile. Create a build through 'Product Archive'. Finally, upload the new build to HockeyApp and notify your testers.