The next phase of this glorious journey is to create eight provisioning
profiles: 4 Ad Hoc and 4 App Store. You will
email the four Ad Hoc profiles,
and your P12 certificate (which you will create
after your provisioning profiles), to support@owncloud.com after building your
branded app with the ownBrander app on Customer.owncloud.com. Do not send us the App Store
profiles. All eight of these profiles must be stored on your Mac PC.

Return to the “Your provision profile is ready” screen, scroll to the bottom
and click Add Another. On the following screen select Ad Hoc and click
Continue.

This time select the .DocumentProviderFileProvider app ID and click
Continue.

Select the certificate that you created at the beginning of this process and
click Continue.

Select the devices that you want to install and test your app on, then click
Continue. These must be the same devices you selected for the first
provisioning profile.

Give this provisioning profile the same name as your first profile
plus .DocumentProviderFileProvider and click Generate. There is a
50-character limit, but don’t worry about counting characters because it will
be automatically truncated if you go over.

Download it to your Mac computer, and then double-click to install it in Xcode.

Return to the “Your provision profile is ready” screen, scroll to the bottom
and click Add Another. On the following screen select Ad Hoc and click
Continue.

This time select the .ShareExtApp app ID and click Continue.

Select the certificate that you created at the beginning of this process and
click Continue.

Select the devices that you want to install and test your app on, then click
Continue. These must be the same devices you selected for the first
provisioning profile.

Give this provisioning profile the same name as your first profile
plus .ShareExtApp and click Generate. There is a
50-character limit, but don’t worry about counting characters because it will
be automatically truncated if you go over.

Download it to your Mac computer, and then double-click to install it in Xcode.
You should now see all of your Ad Hoc provisioning profiles listed in your “iOS
Provisioning Profiles”.