4 Replies Latest reply on Sep 20, 2016 9:57 AM by 79137913

    IOS compile error: phonegap-plugin-csdk-client-auth

    ostaral28768068 Level 1

      Hello,

       

      I am trying to use the Creative SDK image editor in my iOS app which has a dependency on the plug-in phonegap-plugin-csdk-client-auth. When I include this plugin I get the following build problem:

       

      Failed to install 'phonegap-plugin-csdk-client-auth':CordovaError: Uh oh!

      Cannot find resource file "/private/project/cordova/plugins/phonegap-plugin-csdk-client-auth/src/ios/AdobeCreativeS DKFrameworks/AdobeCreativeSDKCore.framework/Versions/A/Resources/AdobeCreativeSDKCoreResou rces.bundle" for plugin phonegap-plugin-csdk-client-auth in iOS platform

       

      Could you let me know what the issue is. Below is the full build log:

       

      Build Date: 2016-09-19 05:34:05 -0700

      --------------------------------------------------------------------------------

      PLUGIN OUTPUT

      --------------------------------------------------------------------------------

      Fetching plugin "cordova-plugin-camera" via npm

      Installing "cordova-plugin-camera" at "2.3.0" for ios

      Fetching plugin "cordova-plugin-compat" via npm

      Installing "cordova-plugin-compat" at "1.0.0" for ios

      Fetching plugin "cordova-plugin-device" via npm

      Installing "cordova-plugin-device" at "1.1.3" for ios

      Fetching plugin "cordova-plugin-file" via npm

      Installing "cordova-plugin-file" at "4.3.0" for ios

      Dependent plugin "cordova-plugin-compat" already installed on ios.

       

      The Android Persistent storage location now defaults to "Internal". Please check this plugins README to see if you application needs any changes in its config.xml.

       

      If this is a new application no changes are required.

       

      If this is an update to an existing application that did not specify an "AndroidPersistentFileLocation" you may need to add:

       

        "<preference name="AndroidPersistentFileLocation" value="Compatibility" />"

       

      to config.xml in order for the application to find previously stored files.

      Fetching plugin "cordova-plugin-file-transfer" via npm

      Installing "cordova-plugin-file-transfer" at "1.6.0" for ios

      Dependent plugin "cordova-plugin-file" already installed on ios.

      Fetching plugin "cordova-plugin-network-information" via npm

      Installing "cordova-plugin-network-information" at "1.3.0" for ios

      Fetching plugin "cordova-plugin-geolocation" via npm

      Installing "cordova-plugin-geolocation" at "2.3.0" for ios

      Dependent plugin "cordova-plugin-compat" already installed on ios.

      Fetching plugin "cordova-plugin-inappbrowser" via npm

      Installing "cordova-plugin-inappbrowser" at "1.5.0" for ios

      Fetching plugin "cordova-plugin-globalization" via npm

      Installing "cordova-plugin-globalization" at "1.0.4" for ios

      Fetching plugin "cordova-plugin-whitelist" via npm

      Installing "cordova-plugin-whitelist" at "1.3.0" for ios

      Fetching plugin "https://github.com/gustavocampos/phonegap-plugin-barcodescanner" via git clone

      Using shallow clone

      Repository "https://github.com/gustavocampos/phonegap-plugin-barcodescanner" checked out to git ref "master" at "458986c".

      Installing "phonegap-plugin-barcodescanner" at "5.0.1" for ios

      Fetching plugin "cordova-plugin-keyboard" via npm

      Installing "cordova-plugin-keyboard" at "1.1.4" for ios

      Fetching plugin "cordova-plugin-uniquedeviceid" via npm

      Installing "cordova-plugin-uniquedeviceid" at "1.3.2" for ios

      Fetching plugin "cordova-plugin-statusbar" via npm

      Installing "cordova-plugin-statusbar" at "2.2.0" for ios

      Fetching plugin "sqli-cordova-disk-space-plugin" via npm

      Installing "sqli-cordova-disk-space-plugin" at "1.0.0" for ios

      "plugman install --platform ios --project /project --plugin phonegap-plugin-csdk-client-auth@~1.0.0 --var CSDK_CLIENT_ID_IOS=7ef1943e9d584c2bb3fa4c6d5c76ea2f --var CSDK_CLIENT_SECRET_IOS=772edd62-1267-461f-b6c7-1ae19f7d9158 --var CSDK_CLIENT_ID_ANDROID=f6e8036c859f45b68eec452098ae68cf --var CSDK_CLIENT_SECRET_ANDROID=9b8626d8-3f92-4628-87b1-c39d53d0932a": Fetching plugin "phonegap-plugin-csdk-client-auth@~1.0.0" via npm

      Installing "phonegap-plugin-csdk-client-auth" at "1.0.2" for ios

      Error during processing of action! Attempting to revert...

      Failed to install 'phonegap-plugin-csdk-client-auth':CordovaError: Uh oh!

      Cannot find resource file "/private/project/cordova/plugins/phonegap-plugin-csdk-client-auth/src/ios/AdobeCreativeS DKFrameworks/AdobeCreativeSDKCore.framework/Versions/A/Resources/AdobeCreativeSDKCoreResou rces.bundle" for plugin phonegap-plugin-csdk-client-auth in iOS platform

        at handlers.resource-file.install (/private/project/cordova/lib/plugman/pluginHandlers.js:53:48)

        at Object.ActionStack.process (/private/project/cordova/node_modules/cordova-common/src/ActionStack.js:56:25)

        at PluginManager.doOperation (/private/project/cordova/node_modules/cordova-common/src/PluginManager.js:117:20)

        at PluginManager.addPlugin (/private/project/cordova/node_modules/cordova-common/src/PluginManager.js:147:17)

        at Api.addPlugin (/private/project/cordova/Api.js:219:10)

        at handleInstall (/usr/local/lib/node_modules/pgb-plugman/node_modules/pgb-cordova-lib/src/plugman/install .js:580:6)

        at /usr/local/lib/node_modules/pgb-plugman/node_modules/pgb-cordova-lib/src/plugman/install. js:384:20

        at _fulfilled (/usr/local/lib/node_modules/pgb-plugman/node_modules/q/q.js:787:54)

        at self.promiseDispatch.done (/usr/local/lib/node_modules/pgb-plugman/node_modules/q/q.js:816:30)

        at Promise.promise.promiseDispatch (/usr/local/lib/node_modules/pgb-plugman/node_modules/q/q.js:749:13)

      Uh oh!

      Cannot find resource file "/private/project/cordova/plugins/phonegap-plugin-csdk-client-auth/src/ios/AdobeCreativeS DKFrameworks/AdobeCreativeSDKCore.framework/Versions/A/Resources/AdobeCreativeSDKCoreResou rces.bundle" for plugin phonegap-plugin-csdk-client-auth in iOS platform