Notice: The Monaca & Onsen UI Community Forum is shutting down.

For Onsen UI bug reports, feature requests and questions, please use the Onsen UI GitHub issues page. For help with Monaca, please contact Monaca Support Team.

Thank you to all our community for your contributions to the forum. We look forward to hearing from you in the new communication channels.

IOS Debugger UTF8 Build Error

  • I’m using the OneSignal plugin to use push notifications.
    I already managed to build a debugger build for android.

    Now i tried the same for IOS and get following error.
    It seems that there is a lack of utf8 support, what is very unlikely in my opinion.
    Do you have any suggestions?

    • Cordova plugin add -
      $ /data/build-server/cordova/6.5.0/bin/cordova plugin add mobi.monaca.plugins.Monaca@3.1.0
      $ /data/build-server/cordova/6.5.0/bin/cordova plugin add cordova-plugin-whitelist@1.3.1
      $ /data/build-server/cordova/6.5.0/bin/cordova plugin add cordova-plugin-splashscreen@4.0.3
      $ /data/build-server/cordova/6.5.0/bin/cordova plugin add cordova-custom-config@2.0.3
      $ /data/build-server/cordova/6.5.0/bin/cordova plugin add /tmp/monaca/59a91fee8034517c5d9408fb/output/plugins/onesignal-cordova-plugin
      Installing “onesignal-cordova-plugin” for ios
      Failed to install ‘onesignal-cordova-plugin’:Error: pod: Command failed with exit code 1 Error output:
      WARNING: CocoaPods requires your terminal to be using UTF-8 encoding.
      Consider adding the following to ~/.profile:

      export LANG=en_US.UTF-8
      /Library/Ruby/Gems/2.0.0/gems/cocoapods-1.2.0/lib/cocoapods/user_interface/error_report.rb:14:in report': incompatible character encodings: UTF-8 and US-ASCII (Encoding::CompatibilityError) from /Library/Ruby/Gems/2.0.0/gems/cocoapods-1.2.0/lib/cocoapods/command.rb:66:inreport_error’
      from /Library/Ruby/Gems/2.0.0/gems/claide-1.0.1/lib/claide/command.rb:396:in handle_exception' from /Library/Ruby/Gems/2.0.0/gems/claide-1.0.1/lib/claide/command.rb:337:inrescue in run’
      from /Library/Ruby/Gems/2.0.0/gems/claide-1.0.1/lib/claide/command.rb:325:in run' from /Library/Ruby/Gems/2.0.0/gems/cocoapods-1.2.0/lib/cocoapods/command.rb:52:inrun’
      from /Library/Ruby/Gems/2.0.0/gems/cocoapods-1.2.0/bin/pod:55:in <top (required)>' from /usr/local/bin/pod:23:inload’
      from /usr/local/bin/pod:23:in `<main>'
      at ChildProcess.whenDone (/private/tmp/monaca/59a91fee8034517c5d9408fb/project/platforms/ios/cordova/node_modules/cordova-common/src/superspawn.js:169:23)
      at emitTwo (events.js:87:13)
      at ChildProcess.emit (events.js:172:7)
      at maybeClose (internal/child_process.js:827:16)
      at Socket.<anonymous> (internal/child_process.js:319:11)
      at emitOne (events.js:77:13)
      at Socket.emit (events.js:169:7)
      at Pipe._onclose (net.js:486:12)

    Change Xcode Version to 8

  • I think this problem is related to the monaca cloud, because when i try to compile it with phonegap it works.