Skip to content

Instantly share code, notes, and snippets.

@jeangui
Created March 3, 2015 15:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jeangui/be7374057da53a6db268 to your computer and use it in GitHub Desktop.
Save jeangui/be7374057da53a6db268 to your computer and use it in GitHub Desktop.
Build Meteor Cordova on Mac for ios
MacBook-de-Magali-Houitte:meteoric1 houitte$ meteor
[[[[[ ~/SANDBOX/METEOR/METEOR_IONIC/meteoric1 ]]]]]
=> Started proxy.
=> Started MongoDB.
=> Started your app.
=> App running at: http://localhost:3000/
^C
MacBook-de-Magali-Houitte:meteoric1 houitte$ rm -rf .meteor/local/cordova-build
MacBook-de-Magali-Houitte:meteoric1 houitte$ meteor run ios -p 3000 --verbose
% Parsing the --port option
% Will compile mobile builds
Local package version is up-to-date: accounts-password@1.0.6
Local package version is up-to-date: aldeed:autoform@4.2.2
Local package version is up-to-date: blaze@2.0.4
Local package version is up-to-date: random@1.0.2
Local package version is up-to-date: fourseven:scss@2.0.0
Local package version is up-to-date: mobile-status-bar@1.0.2
Local package version is up-to-date: deps@1.0.6
Local package version is up-to-date: follower-livedata@1.0.3
Local package version is up-to-date: aldeed:collection2@2.3.1
Local package version is up-to-date: spacebars@1.0.5
Local package version is up-to-date: wizonesolutions:underscore-string@1.0.0
Local package version is up-to-date: spacebars-compiler@1.0.4
Local package version is up-to-date: launch-screen@1.0.1
Local package version is up-to-date: iron:location@1.0.7
Local package version is up-to-date: http@1.0.10
Local package version is up-to-date: json@1.0.2
Local package version is up-to-date: check@1.0.4
Local package version is up-to-date: retry@1.0.2
Local package version is up-to-date: zimme:iron-router-active@1.0.1
Local package version is up-to-date: id-map@1.0.2
Local package version is up-to-date: reactive-dict@1.0.5
Local package version is up-to-date: callback-hook@1.0.2
Local package version is up-to-date: sha@1.0.2
Local package version is up-to-date: meteor@1.1.4
Local package version is up-to-date: fastclick@1.0.2
Local package version is up-to-date: minifiers@1.1.3
Local package version is up-to-date: aldeed:simple-schema@1.1.0
Local package version is up-to-date: anti:fake@0.4.1
Local package version is up-to-date: meteoric:ionic-sass@0.1.9
Local package version is up-to-date: webapp@1.1.6
Local package version is up-to-date: ejson@1.0.5
Local package version is up-to-date: iron:controller@1.0.7
Local package version is up-to-date: meteoric:ionic@0.1.16
Local package version is up-to-date: npm-bcrypt@0.7.7
Local package version is up-to-date: base64@1.0.2
Local package version is up-to-date: url@1.0.3
Local package version is up-to-date: localstorage@1.0.2
Local package version is up-to-date: blaze-tools@1.0.2
Local package version is up-to-date: ddp@1.0.14
Local package version is up-to-date: srp@1.0.2
Local package version is up-to-date: iron:core@1.0.7
Local package version is up-to-date: momentjs:moment@2.8.4
Local package version is up-to-date: observe-sequence@1.0.4
Local package version is up-to-date: reactive-var@1.0.4
Local package version is up-to-date: webapp-hashing@1.0.2
Local package version is up-to-date: mongo@1.0.11
Local package version is up-to-date: htmljs@1.0.3
Local package version is up-to-date: ui@1.0.5
Local package version is up-to-date: meteor-platform@1.2.1
Local package version is up-to-date: meteoric:ionicons-sass@0.1.6
Local package version is up-to-date: ordered-dict@1.0.2
Local package version is up-to-date: session@1.0.5
Local package version is up-to-date: livedata@1.0.12
Local package version is up-to-date: templating@1.0.11
Local package version is up-to-date: coffeescript@1.0.5
Local package version is up-to-date: binary-heap@1.0.2
Local package version is up-to-date: accounts-base@1.1.3
Local package version is up-to-date: tracker@1.0.5
Local package version is up-to-date: autoupdate@1.1.5
Local package version is up-to-date: html-tools@1.0.3
Local package version is up-to-date: reload@1.1.2
Local package version is up-to-date: application-configuration@1.0.4
Local package version is up-to-date: matb33:collection-hooks@0.7.11
Local package version is up-to-date: underscore@1.0.2
Local package version is up-to-date: iron:dynamic-template@1.0.7
Local package version is up-to-date: routepolicy@1.0.4
Local package version is up-to-date: iron:router@1.0.7
Local package version is up-to-date: meteoric:autoform-ionic@0.1.5
Local package version is up-to-date: iron:layout@1.0.7
Local package version is up-to-date: email@1.0.5
Local package version is up-to-date: geojson-utils@1.0.2
Local package version is up-to-date: minimongo@1.0.6
Local package version is up-to-date: iron:url@1.0.7
Local package version is up-to-date: jquery@1.11.3
Local package version is up-to-date: service-configuration@1.0.3
Local package version is up-to-date: boilerplate-generator@1.0.2
Local package version is up-to-date: iron:middleware-stack@1.0.7
Local package version is up-to-date: logging@1.0.6
% Running build for platforms: [ 'ios' ]
Running command /usr/bin/xcrun cc --version
% Building the cordova build project
% Bundling the web.cordova program of the app
% Ensuring the cordova build project
% Cordova build project doesn't exist, creating one
Using (built-in) Android SDK at /Users/houitte/.meteor/android_bundle/android-sdk
% Running synchronously: /Users/houitte/.meteor/packages/meteor-tool/.1.0.41.azxhr5++os.osx.x86_64+web.browser+web.cordova/meteor-tool-os.osx.x86_64/tools/cordova-scripts/cordova.sh [ 'create', 'cordova-build', 'com.meteor.meteoric1', 'meteoric1' ]
% Reading the mobile control file
% Running the mobile control file
% Copying resources for mobile apps
% Writing new config.xml
% Ensuring that platforms in cordova build project are in sync
Using (built-in) Android SDK at /Users/houitte/.meteor/android_bundle/android-sdk
% Running synchronously: /Users/houitte/.meteor/packages/meteor-tool/.1.0.41.azxhr5++os.osx.x86_64+web.browser+web.cordova/meteor-tool-os.osx.x86_64/tools/cordova-scripts/cordova.sh [ 'platform', 'list' ]
% The output of `cordova platforms list`: Installed platforms:
Available platforms: amazon-fireos, android, blackberry10, firefoxos, ios
% The platform is not in the Cordova project: ios
Running command /usr/bin/xcrun cc --version
% Adding a platform ios
Using (built-in) Android SDK at /Users/houitte/.meteor/android_bundle/android-sdk
% Running synchronously: /Users/houitte/.meteor/packages/meteor-tool/.1.0.41.azxhr5++os.osx.x86_64+web.browser+web.cordova/meteor-tool-os.osx.x86_64/tools/cordova-scripts/cordova.sh [ 'platform', 'add', 'ios' ]
% Ensuring plugins in the cordova build project are in sync { 'org.apache.cordova.console': '0.2.10',
'org.apache.cordova.file': '1.3.0',
'org.apache.cordova.file-transfer': '0.4.4',
'org.apache.cordova.device': '0.2.11',
'com.meteor.cordova-update': 'https://github.com/meteor/com.meteor.cordova-update/tarball/92fe99b7248075318f6446b288995d4381d24cd2',
'com.ionic.keyboard': '1.0.4',
'org.apache.cordova.statusbar': '0.1.7',
'org.apache.cordova.splashscreen': '0.3.3' }
% Getting installed plugins for project
Using (built-in) Android SDK at /Users/houitte/.meteor/android_bundle/android-sdk
% Running synchronously: /Users/houitte/.meteor/packages/meteor-tool/.1.0.41.azxhr5++os.osx.x86_64+web.browser+web.cordova/meteor-tool-os.osx.x86_64/tools/cordova-scripts/cordova.sh [ 'plugin', 'list' ]
% The output of `cordova plugins list`: No plugins added. Use `cordova plugin add <plugin>`.
% Will check for cordova-tarball-plugins.json for tarball-url-based plugins previously installed.
% The tarball plugins file was not found.
% Getting installed plugins for project
Using (built-in) Android SDK at /Users/houitte/.meteor/android_bundle/android-sdk
% Running synchronously: /Users/houitte/.meteor/packages/meteor-tool/.1.0.41.azxhr5++os.osx.x86_64+web.browser+web.cordova/meteor-tool-os.osx.x86_64/tools/cordova-scripts/cordova.sh [ 'plugin', 'list' ]
% The output of `cordova plugins list`: No plugins added. Use `cordova plugin add <plugin>`.
% Will check for cordova-tarball-plugins.json for tarball-url-based plugins previously installed.
% The tarball plugins file was not found.
% Ensuring that platforms in cordova build project are in sync
Using (built-in) Android SDK at /Users/houitte/.meteor/android_bundle/android-sdk
% Running synchronously: /Users/houitte/.meteor/packages/meteor-tool/.1.0.41.azxhr5++os.osx.x86_64+web.browser+web.cordova/meteor-tool-os.osx.x86_64/tools/cordova-scripts/cordova.sh [ 'platform', 'list' ]
% The output of `cordova platforms list`: Installed platforms: ios 3.5.0
Available platforms: amazon-fireos, android, blackberry10, firefoxos
% Installing a plugin org.apache.cordova.console 0.2.10
Using (built-in) Android SDK at /Users/houitte/.meteor/android_bundle/android-sdk
% Running synchronously: /Users/houitte/.meteor/packages/meteor-tool/.1.0.41.azxhr5++os.osx.x86_64+web.browser+web.cordova/meteor-tool-os.osx.x86_64/tools/cordova-scripts/cordova.sh [ 'plugin', 'add', 'org.apache.cordova.console@0.2.10' ]
% Installing a plugin org.apache.cordova.file 1.3.0
Using (built-in) Android SDK at /Users/houitte/.meteor/android_bundle/android-sdk
% Running synchronously: /Users/houitte/.meteor/packages/meteor-tool/.1.0.41.azxhr5++os.osx.x86_64+web.browser+web.cordova/meteor-tool-os.osx.x86_64/tools/cordova-scripts/cordova.sh [ 'plugin', 'add', 'org.apache.cordova.file@1.3.0' ]
% Installing a plugin org.apache.cordova.file-transfer 0.4.4
Using (built-in) Android SDK at /Users/houitte/.meteor/android_bundle/android-sdk
% Running synchronously: /Users/houitte/.meteor/packages/meteor-tool/.1.0.41.azxhr5++os.osx.x86_64+web.browser+web.cordova/meteor-tool-os.osx.x86_64/tools/cordova-scripts/cordova.sh [ 'plugin', 'add', 'org.apache.cordova.file-transfer@0.4.4' ]
% Installing a plugin org.apache.cordova.device 0.2.11
Using (built-in) Android SDK at /Users/houitte/.meteor/android_bundle/android-sdk
% Running synchronously: /Users/houitte/.meteor/packages/meteor-tool/.1.0.41.azxhr5++os.osx.x86_64+web.browser+web.cordova/meteor-tool-os.osx.x86_64/tools/cordova-scripts/cordova.sh [ 'plugin', 'add', 'org.apache.cordova.device@0.2.11' ]
% Installing a plugin com.meteor.cordova-update https://github.com/meteor/com.meteor.cordova-update/tarball/92fe99b7248075318f6446b288995d4381d24cd2
% Fetching a tarball from url: https://github.com/meteor/com.meteor.cordova-update/tarball/92fe99b7248075318f6446b288995d4381d24cd2
% Downloading with curl
% Running synchronously: curl [ '-L',
'https://github.com/meteor/com.meteor.cordova-update/tarball/92fe99b7248075318f6446b288995d4381d24cd2',
'-o',
'/Users/houitte/SANDBOX/METEOR/METEOR_IONIC/meteoric1/.meteor/local/cordova-build/local-plugins/com.meteor.cordova-update.tgz' ]
% Create a folder for the plugin /Users/houitte/SANDBOX/METEOR/METEOR_IONIC/meteoric1/.meteor/local/cordova-build/local-plugins/com.meteor.cordova-update
% Untarring the tarball with plugin
% Running synchronously: tar [ 'xf',
'/Users/houitte/SANDBOX/METEOR/METEOR_IONIC/meteoric1/.meteor/local/cordova-build/local-plugins/com.meteor.cordova-update.tgz',
'-C',
'/Users/houitte/SANDBOX/METEOR/METEOR_IONIC/meteoric1/.meteor/local/cordova-build/local-plugins/com.meteor.cordova-update',
'--strip-components=1' ]
% Untarring succeeded, removing the tarball
Using (built-in) Android SDK at /Users/houitte/.meteor/android_bundle/android-sdk
% Running synchronously: /Users/houitte/.meteor/packages/meteor-tool/.1.0.41.azxhr5++os.osx.x86_64+web.browser+web.cordova/meteor-tool-os.osx.x86_64/tools/cordova-scripts/cordova.sh [ 'plugin',
'add',
'/Users/houitte/SANDBOX/METEOR/METEOR_IONIC/meteoric1/.meteor/local/cordova-build/local-plugins/com.meteor.cordova-update' ]
% Will check for cordova-tarball-plugins.json for tarball-url-based plugins previously installed.
% The tarball plugins file was not found.
% Will write cordova-tarball-plugins.json
% Installing a plugin com.ionic.keyboard 1.0.4
Using (built-in) Android SDK at /Users/houitte/.meteor/android_bundle/android-sdk
% Running synchronously: /Users/houitte/.meteor/packages/meteor-tool/.1.0.41.azxhr5++os.osx.x86_64+web.browser+web.cordova/meteor-tool-os.osx.x86_64/tools/cordova-scripts/cordova.sh [ 'plugin', 'add', 'com.ionic.keyboard@1.0.4' ]
% Installing a plugin org.apache.cordova.statusbar 0.1.7
Using (built-in) Android SDK at /Users/houitte/.meteor/android_bundle/android-sdk
% Running synchronously: /Users/houitte/.meteor/packages/meteor-tool/.1.0.41.azxhr5++os.osx.x86_64+web.browser+web.cordova/meteor-tool-os.osx.x86_64/tools/cordova-scripts/cordova.sh [ 'plugin', 'add', 'org.apache.cordova.statusbar@0.1.7' ]
% Installing a plugin org.apache.cordova.splashscreen 0.3.3
Using (built-in) Android SDK at /Users/houitte/.meteor/android_bundle/android-sdk
% Running synchronously: /Users/houitte/.meteor/packages/meteor-tool/.1.0.41.azxhr5++os.osx.x86_64+web.browser+web.cordova/meteor-tool-os.osx.x86_64/tools/cordova-scripts/cordova.sh [ 'plugin', 'add', 'org.apache.cordova.splashscreen@0.3.3' ]
% Copying the JS/CSS files one level up
% Removing the www folder
% Writing www/application folder
% Writing index.html
% Writing meteor_cordova_loader
% Writing a default index.html for cordova app
% Running the build command
Using (built-in) Android SDK at /Users/houitte/.meteor/android_bundle/android-sdk
% Running synchronously: /Users/houitte/.meteor/packages/meteor-tool/.1.0.41.azxhr5++os.osx.x86_64+web.browser+web.cordova/meteor-tool-os.osx.x86_64/tools/cordova-scripts/cordova.sh [ '--verbose', 'build', 'ios' ]
% Done building the cordova build project
[[[[[ ~/SANDBOX/METEOR/METEOR_IONIC/meteoric1 ]]]]]
=> Started proxy.
% Execing cordova for platform ios
% isDevice: false
% Running emulator: /Users/houitte/.meteor/packages/meteor-tool/.1.0.41.azxhr5++os.osx.x86_64+web.browser+web.cordova/meteor-tool-os.osx.x86_64/tools/cordova-scripts/cordova.sh [ 'run', '--verbose', '--emulator', 'ios' ]
Using (built-in) Android SDK at /Users/houitte/.meteor/android_bundle/android-sdk
% Running asynchronously: /Users/houitte/.meteor/packages/meteor-tool/.1.0.41.azxhr5++os.osx.x86_64+web.browser+web.cordova/meteor-tool-os.osx.x86_64/tools/cordova-scripts/cordova.sh [ 'run', '--verbose', '--emulator', 'ios' ]
% Printing logs for ios emulator, tailing file /Users/houitte/SANDBOX/METEOR/METEOR_IONIC/meteoric1/.meteor/local/cordova-build/platforms/ios/cordova/console.log
ios: failed to start the app.
ENOENT, open '/Users/houitte/SANDBOX/METEOR/METEOR_IONIC/meteoric1/.meteor/local/cordova-build/platforms/ios/cordova/console.log'
=> Started app on iOS Simulator.
cordova library for "ios" already exists. No need to download. Continuing.
Generating config.xml from defaults for platform "ios"
Calling plugman.prepare for platform "ios"
Preparing ios projectcation -
Processing configuration changes for plugins.
Iterating over installed plugins: [ 'com.ionic.keyboard',
'com.meteor.cordova-update',
'org.apache.cordova.console',
'org.apache.cordova.device',
'org.apache.cordova.file',
'org.apache.cordova.file-transfer',
'org.apache.cordova.splashscreen',
'org.apache.cordova.statusbar' ]
Writing out cordova_plugins.js...
Wrote out iOS Bundle Identifier to "fr.yourwelcome.alert1"
Wrote out iOS Bundle Version to "0.0.1"
iOS Product Name has not changed (still "Alert1")
Running command: /Users/houitte/platforms/ios/cordova/run --emulator
Build settings from command line:
ARCHS = i386
CONFIGURATION_BUILD_DIR = /Users/houitte/platforms/ios/build/emulator
SDKROOT = iphonesimulator8.1
VALID_ARCHS = i386
=== BUILD TARGET CordovaLib OF PROJECT CordovaLib WITH CONFIGURATION Debug ===
Check dependencies
=== BUILD TARGET Alert1 OF PROJECT Alert1 WITH CONFIGURATION Debug ===
Check dependencies
PhaseScriptExecution Copy\ www\ directory build/Alert1.build/Debug-iphonesimulator/Alert1.build/Script-304B58A110DAC018002A0835.sh
cd /Users/houitte/platforms/ios
/bin/sh -c /Users/houitte/platforms/ios/build/Alert1.build/Debug-iphonesimulator/Alert1.build/Script-304B58A110DAC018002A0835.sh
real 0m0.312s
user 0m0.073s
sys 0m0.142s
ProcessInfoPlistFile build/emulator/Alert1.app/Info.plist Alert1/Alert1-Info.plist
cd /Users/houitte/platforms/ios
export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/Users/houitte/.meteor/packages/meteor-tool/.1.0.41.azxhr5++os.osx.x86_64+web.browser+web.cordova/meteor-tool-os.osx.x86_64/tools/cordova-scripts/../../dev_bundle/bin:/Users/houitte/.meteor/android_bundle/apache-ant-1.9.4/bin:/Users/houitte/.meteor/android_bundle/android-sdk/tools:/Users/houitte/.meteor/android_bundle/android-sdk/platform-tools:/Users/houitte/.meteor/packages/meteor-tool/.1.0.41.azxhr5++os.osx.x86_64+web.browser+web.cordova/meteor-tool-os.osx.x86_64/tools/cordova-scripts/../../dev_bundle/lib/ios-sim:/Users/houitte/.meteor/packages/meteor-tool/.1.0.41.azxhr5++os.osx.x86_64+web.browser+web.cordova/meteor-tool-os.osx.x86_64/tools/cordova-scripts/../../dev_bundle/lib/ios-deploy:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/local/git/bin:/Users/houitte/.meteor/android_bundle/android-sdk/tools:/Users/houitte/.meteor/android_bundle/android-sdk/platform-tools"
builtin-infoPlistUtility /Users/houitte/platforms/ios/Alert1/Alert1-Info.plist -genpkginfo /Users/houitte/platforms/ios/build/emulator/Alert1.app/PkgInfo -expandbuildsettings -format binary -platform iphonesimulator -additionalcontentfile /Users/houitte/platforms/ios/build/Alert1.build/Debug-iphonesimulator/Alert1.build/MainViewController-PartialInfo.plist -o /Users/houitte/platforms/ios/build/emulator/Alert1.app/Info.plist
GenerateDSYMFile build/emulator/Alert1.app.dSYM build/emulator/Alert1.app/Alert1
cd /Users/houitte/platforms/ios
export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/Users/houitte/.meteor/packages/meteor-tool/.1.0.41.azxhr5++os.osx.x86_64+web.browser+web.cordova/meteor-tool-os.osx.x86_64/tools/cordova-scripts/../../dev_bundle/bin:/Users/houitte/.meteor/android_bundle/apache-ant-1.9.4/bin:/Users/houitte/.meteor/android_bundle/android-sdk/tools:/Users/houitte/.meteor/android_bundle/android-sdk/platform-tools:/Users/houitte/.meteor/packages/meteor-tool/.1.0.41.azxhr5++os.osx.x86_64+web.browser+web.cordova/meteor-tool-os.osx.x86_64/tools/cordova-scripts/../../dev_bundle/lib/ios-sim:/Users/houitte/.meteor/packages/meteor-tool/.1.0.41.azxhr5++os.osx.x86_64+web.browser+web.cordova/meteor-tool-os.osx.x86_64/tools/cordova-scripts/../../dev_bundle/lib/ios-deploy:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/local/git/bin:/Users/houitte/.meteor/android_bundle/android-sdk/tools:/Users/houitte/.meteor/android_bundle/android-sdk/platform-tools"
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/dsymutil /Users/houitte/platforms/ios/build/emulator/Alert1.app/Alert1 -o /Users/houitte/platforms/ios/build/emulator/Alert1.app.dSYM
Touch build/emulator/Alert1.app
cd /Users/houitte/platforms/ios
export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/Users/houitte/.meteor/packages/meteor-tool/.1.0.41.azxhr5++os.osx.x86_64+web.browser+web.cordova/meteor-tool-os.osx.x86_64/tools/cordova-scripts/../../dev_bundle/bin:/Users/houitte/.meteor/android_bundle/apache-ant-1.9.4/bin:/Users/houitte/.meteor/android_bundle/android-sdk/tools:/Users/houitte/.meteor/android_bundle/android-sdk/platform-tools:/Users/houitte/.meteor/packages/meteor-tool/.1.0.41.azxhr5++os.osx.x86_64+web.browser+web.cordova/meteor-tool-os.osx.x86_64/tools/cordova-scripts/../../dev_bundle/lib/ios-sim:/Users/houitte/.meteor/packages/meteor-tool/.1.0.41.azxhr5++os.osx.x86_64+web.browser+web.cordova/meteor-tool-os.osx.x86_64/tools/cordova-scripts/../../dev_bundle/lib/ios-deploy:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/local/git/bin:/Users/houitte/.meteor/android_bundle/android-sdk/tools:/Users/houitte/.meteor/android_bundle/android-sdk/platform-tools"
/usr/bin/touch -c /Users/houitte/platforms/ios/build/emulator/Alert1.app
** BUILD SUCCEEDED **
2015-03-03 16:21:59.138 ios-sim[11712:507] stderrPath: /Users/houitte/platforms/ios/cordova/console.log
2015-03-03 16:21:59.139 ios-sim[11712:507] stdoutPath: /Users/houitte/platforms/ios/cordova/console.log
=> Started MongoDB.
Command finished with error code 0: /Users/houitte/platforms/ios/cordova/run --emulator
=> Started your app.
=> App running at: http://localhost:3000/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment