Monaca Onsen UI Discord Chat Github Repo

iCloud with a Monaca built app



  • Hi all,

    I’m trying to use iCloud through a plug-in in a Monaca built app.
    I did all the required entitlement configuration through config.xml but when I compile I receive the following error:

    Error Domain=IDEFoundationErrorDomain Code=1 “exportOptionsPlist error for key ‘iCloudContainerEnvironment’: expected one of {Development, Production}, but no value was provided” UserInfo={NSLocalizedDescription=exportOptionsPlist error for key ‘iCloudContainerEnvironment’: expected one of {Development, Production}, but no value was provided}

    It seems that I have to specify a value for the key iCloudContainerEnvironment in the exportOptions.Plist flle, by modifying the build.json, which it seems not to be possible in the MONACA IDE.

    Does anybody successfully configured iCloud in Monaca?

    Thanks in advance.

    Pier Alberto