Monaca Onsen UI Discord Chat Github Repo

Build ios failed (plugin onesignal)



  • Hi all,

    Cannot build onesignal plugin.

    Cordova-cli 9.0.0
    Cordova-ios 5.0.1
    xcode 10.2.1

    Monaca.io log:

    Installing "onesignal-cordova-plugin" for ios
    "framework" tag with type "podspec" is deprecated and will be removed. Please use the "podspec" tag.
    Running command: pod install --verbose
    Failed to install 'onesignal-cordova-plugin': Error: pod: Command failed with exit code 31
        at ChildProcess.whenDone (/private/tmp/download/node_modules/cordova-common/src/superspawn.js:135:23)
        at ChildProcess.emit (events.js:189:13)
        at maybeClose (internal/child_process.js:970:16)
        at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)
    Failed to restore plugin "onesignal-cordova-plugin" from config.xml. You might need to try adding it again. Error: Error: pod: Command failed with exit code 31
    

    Is there anything i can do? Am i missing something? Can you build onesignal plugin?