File transfer on iOS issue

#1

Hi,

I have an Ionic 3 App in which i’d like to use cordova file transfer plugin (@ionic-native/file-transfer) to allow users on iOS to upload files from iCloud or Dropbox (if installed).

When i try to build my iOS version via Ionic Pro (Appflow), i get the following error :

[15:32:59]: ▸ ❌  error: Provisioning profile "MyAppName distribution" doesn't support the iCloud.com.MyAppName iCloud Container. (in target 'MyAppName')
[15:32:59]: ▸ ❌  error: Provisioning profile "MyAppName distribution" doesn't include the com.apple.developer.icloud-container-identifiers and com.apple.developer.icloud-services entitlements and doesn't match the entitlements file's value for the com.apple.developer.ubiquity-container-identifiers entitlement. (in target 'MyAppName')
[15:32:59]: ▸ ** ARCHIVE FAILED **

❌  error: Provisioning profile "MyAppName distribution" doesn't support the iCloud.com.MyAppName iCloud Container. (in target 'MyAppName')

❌  error: Provisioning profile "MyAppName distribution" doesn't include the com.apple.developer.icloud-container-identifiers and com.apple.developer.icloud-services entitlements and doesn't match the entitlements file's value for the com.apple.developer.ubiquity-container-identifiers entitlement. (in target 'MyAppName')

i actually created a production certificate, generated an iCloud Containers named icloud.com.myappname, have an App ID which includes icloud container configuration (tested both version of Xcode 5 & 6), and created a distribution provisionning profile which was accepted by Ionic Pro (Appflow).

My questions are the following :

  • Is there anything that must be done in my ionic project like adding lines in the config.xml or package.json ?
  • Do i have to manually modify the .mobileprovision file generated by Apple to make it works with Ionic Pro (Appflow) ?
  • Is the problem coming from a problem in Certificates configuration/naming ?

Thank you