Hi,
I’m trying add ios platform (android too), but the Ionic throws an Error with no description, as follow:
$ ionic platform add ios
Updated the hooks directory to have execute permissions
Adding ios project...
Running command: /Users/user/.cordova/lib/npm_cache/cordova-ios/3.9.2/package/bin/create /path/to/my/project/platforms/ios my.project.package MyProject --cli
iOS project created with cordova-ios@3.9.2
Running command: /path/to/my/project/hooks/after_prepare/010_add_platform_class.js /path/to/my/project
add to body class: platform-ios
Running command: /path/to/my/project/hooks/after_prepare/010_build_files.js /path/to/my/project
copying /path/to/my/project/config/build/build-extras.gradle to /path/to/my/project/platforms/android/build-extras.gradle
Running command: /path/to/my/project/hooks/after_prepare/020_delete_files.js /path/to/my/project
Deleting unnecessary files...
stdout: [16:57:25] Using gulpfile /path/to/my/project/gulpfile.js
[16:57:25] Starting 'delete-files'...
[16:57:25] Finished 'delete-files' after 80 μs
stderr:
Running command: /path/to/my/project/hooks/after_prepare/ionic-minify.js /path/to/my/project
Running command: /path/to/my/project/hooks/after_prepare/ios_disable_bitcode.js /path/to/my/project
Processing settings for platform: ios
Wrote iOS Plist: /path/to/my/project/platforms/ios/MyProject/MyProject-Info.plist
Error: Unexpected string
Just puts “Error: Unexpected string” and kills the process.
My system/ionic information is:
Cordova CLI: 5.4.1
Gulp version: CLI version 3.9.0
Gulp local: Local version 3.9.1
Ionic Version: 1.2.4
Ionic CLI Version: 1.7.12
Ionic App Lib Version: 0.6.5
ios-deploy version: 1.8.6
ios-sim version: 5.0.6
OS: Mac OS X El Capitan
Node Version: v5.4.0
Xcode version: Xcode 7.3.1 Build version 7D1014
Someone can help me?