[Share Content Plugin] Error compiling iOS app (Social.framework)
share-content-plugin
Mobile icon
Forge component by Pedro Marques

Hello everyone!   

I'm currently trying to build mobile apps with the new MABS 8.0 version but I'm getting an error for Share Content Plugin for iOS:

Cannot create property 'Social.framework' on string '{"SystemConfiguration.framework":1,"CoreTelephony.framework":1,"AVFoundation.framework":2,"AudioToolbox.framework":2}'


 [ERROR] [Build] No scripts found for hook "before_plugin_add".

 [ERROR] [Build] Calling plugman.fetch on plugin "https://github.com/kelter-antunes/SocialSharing-PhoneGap-Plugin.git#OS1.0.4"

 [ERROR] [Build] fetch: Installing https://github.com/kelter-antunes/SocialSharing-PhoneGap-Plugin.git#OS1.0.4 to source

 [ERROR] [Build] Running command: npm install https://github.com/kelter-antunes/SocialSharing-PhoneGap-Plugin.git#OS1.0.4 --save-exact

 [ERROR] [Build] Command finished with error code 0: npm install,https://github.com/kelter-antunes/SocialSharing-PhoneGap-Plugin.git#OS1.0.4,--save-exact

 [ERROR] [Build] Copying plugin "source/node_modules/cordova-plugin-x-socialsharing" => "source/plugins/cordova-plugin-x-socialsharing"

 [ERROR] [Build] Calling plugman.install on plugin "source/plugins/cordova-plugin-x-socialsharing" for platform "ios

 [ERROR] [Build] Installing "cordova-plugin-x-socialsharing" for ios

 [ERROR] [Build] Dependencies detected, iterating through them...

 [ERROR] [Build] Requesting plugin "es6-promise-plugin@^4.1.0".

 [ERROR] [Build] Plugin dependency "es6-promise-plugin" not fetched, retrieving then installing.

 [ERROR] [Build] fetch: Installing es6-promise-plugin@^4.1.0 to source

 [ERROR] [Build] Running command: npm install es6-promise-plugin@^4.1.0 --save-exact

 [ERROR] [Build] Command finished with error code 0: npm install,es6-promise-plugin@^4.1.0,--save-exact

 [ERROR] [Build] Copying plugin "source/node_modules/es6-promise-plugin" => "source/plugins/es6-promise-plugin"

 [ERROR] [Build] Installing "es6-promise-plugin" for ios

 [ERROR] [Build] Finding scripts for "before_plugin_install" hook from plugin es6-promise-plugin on ios platform only.

 [ERROR] [Build] No scripts found for hook "before_plugin_install".

 [ERROR] [Build] Install start for "es6-promise-plugin" on ios.

 [ERROR] [Build] Platform API successfully found in: source/platforms/ios/cordova/Api.js

 [ERROR] [Build] Beginning processing of action stack for ios project...

 [ERROR] [Build] Action stack processing complete.

 [ERROR] [Build] pods.json found in platforms/ios

 [ERROR] [Build] Podfile found in platforms/ios

 [ERROR] [Build] Install complete for es6-promise-plugin on ios.

 [ERROR] [Build] Finding scripts for "after_plugin_install" hook from plugin es6-promise-plugin on ios platform only.

 [ERROR] [Build] No scripts found for hook "after_plugin_install".

 [ERROR] [Build] Finding scripts for "before_plugin_install" hook from plugin cordova-plugin-x-socialsharing on ios platform only.

 [ERROR] [Build] No scripts found for hook "before_plugin_install".

 [ERROR] [Build] Install start for "cordova-plugin-x-socialsharing" on ios.

 [ERROR] [Build] Beginning processing of action stack for ios project...

 [ERROR] [Build] Error during processing of action! Attempting to revert...

 [ERROR] [Build] Failed to install 'cordova-plugin-x-socialsharing': TypeError: Uh oh!

[ERROR] [Build] Cannot create property 'Social.framework' on string '{"SystemConfiguration.framework":1,"CoreTelephony.framework":1,"AVFoundation.framework":2,"AudioToolbox.framework":2}'

 [ERROR] [Build]     at install (source/platforms/ios/cordova/lib/plugman/pluginHandlers.js:96:49)

 [ERROR] [Build]     at ActionStack.process (source/node_modules/cordova-common/src/ActionStack.js:56:25)

 [ERROR] [Build]     at PluginManager.doOperation (source/node_modules/cordova-common/src/PluginManager.js:112:24)

 [ERROR] [Build]     at PluginManager.addPlugin (source/node_modules/cordova-common/src/PluginManager.js:142:21)

 [ERROR] [Build]     at Api.addPlugin (source/platforms/ios/cordova/Api.js:254:10)

 [ERROR] [Build]     at handleInstall (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/install.js:561:10)

 [ERROR] [Build]     at /usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/install.js:344:28

 [ERROR] [Build]     at processTicksAndRejections (internal/process/task_queues.js:97:5)

 [ERROR] [Build] TypeError: Uh oh!

 [ERROR] [Build] Cannot create property 'Social.framework' on string '{"SystemConfiguration.framework":1,"CoreTelephony.framework":1,"AVFoundation.framework":2,"AudioToolbox.framework":2}'

 [ERROR] [Build]     at install (source/platforms/ios/cordova/lib/plugman/pluginHandlers.js:96:49)

 [ERROR] [Build]     at ActionStack.process (source/node_modules/cordova-common/src/ActionStack.js:56:25)

 [ERROR] [Build]     at PluginManager.doOperation (source/node_modules/cordova-common/src/PluginManager.js:112:24)

 [ERROR] [Build]     at PluginManager.addPlugin (source/node_modules/cordova-common/src/PluginManager.js:142:21)

 [ERROR] [Build]     at Api.addPlugin (source/platforms/ios/cordova/Api.js:254:10)

 [ERROR] [Build]     at handleInstall (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/install.js:561:10)

 [ERROR] [Build]     at /usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/install.js:344:28

 [ERROR] [Build]     at processTicksAndRejections (internal/process/task_queues.js:97:5)

 [ERROR] [Build] Uh oh!

 [ERROR] [Build] Cannot create property 'Social.framework' on string '{"SystemConfiguration.framework":1,"CoreTelephony.framework":1,"AVFoundation.framework":2,"AudioToolbox.framework":2}'

 [ERROR] [Build] Build failed with the following error: Couldn't install the Cordova plugin cordova-plugin-x-socialsharing.

 [INFO] [Build] Zipping application source...

 [INFO] [Build] Application was not successfully generated!

 [INFO] [Build] Execution time: 189332ms



Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.