question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ios-sim fails to build (New Xcode?)

See original GitHub issue

Hello - I just updated to the new Xcode (Version 5.1 (5B130a)) today and now ios-sim (used in an Ionic/Cordova/PhoneGap project) fails to build: The following build commands failed: Ld build/ios-sim.build/Release/ios-sim.build/Objects-normal/x86_64/ios-sim normal x86_64 Ld build/ios-sim.build/Release/ios-sim.build/Objects-normal/i386/ios-sim normal i386 (2 failures) rake aborted! Command failed with status (65): [xcodebuild -project ios-sim.xcodeproj -con…] /usr/local/lib/node_modules/ios-sim/Rakefile:7:in block in <top (required)>' Tasks: TOP => build (See full trace by running task with --trace) npm ERR! ios-sim@1.8.2 preinstall:rake build` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the ios-sim@1.8.2 preinstall script. npm ERR! This is most likely a problem with the ios-sim package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! rake build npm ERR! You can get their info via: npm ERR! npm owner ls ios-sim npm ERR! There is likely additional logging output above.

npm ERR! System Darwin 13.1.0 npm ERR! command “node” “/usr/local/bin/npm” “install” “-g” “ios-sim” npm ERR! cwd /Users/fernando/GoogleDrive/Projects/WEB Projects/Angular-Ionic/ionic-todo npm ERR! node -v v0.10.26 npm ERR! npm -v 1.4.4 npm ERR! code ELIFECYCLE npm ERR! npm ERR! Additional logging details can be found in: npm ERR! /Users/fernando/GoogleDrive/Projects/WEB Projects/Angular-Ionic/ionic-todo/npm-debug.log npm ERR! not ok code 0 Fernando:ionic-todo fernando$ npm owner ls ios-sim npm http GET https://registry.npmjs.org/ios-sim npm http 304 https://registry.npmjs.org/ios-sim shazron shazron@gmail.com

There is no npm-debug.log generated.

Cheers! -f

Issue Analytics

  • State:closed
  • Created 10 years ago
  • Comments:29

github_iconTop GitHub Comments

1reaction
mraakcommented, Mar 14, 2014

@tout-ci “Brew is not supported anymore. Use npm”.

sudo npm install -g ios-sim

0reactions
shazroncommented, May 16, 2014
Read more comments on GitHub >

github_iconTop Results From Across the Web

Cannot build archive for XCFrameworks Xcode 12.2 (12B45b)
I am trying to create an XCFramework on Xcode 12.2 (12B45b) and do not get past the archive step for iOS. Simulator archive...
Read more >
Xcode error 'building for iOS Simulator, but linking in dylib built ...
I guess what is happening is that because I excluded arm64 in build setting for iOS simulator, Xcode is attempting to run my...
Read more >
Oh dear! Build errors? - LoopDocs - GitHub Pages
This page contains build error help for people updating their Loop app as well as brand new Loop app builders. Review the "obvious"...
Read more >
Checking out and building Chromium for iOS - Google Git
To change the version of Xcode used to build Chromium on iOS, please follow the steps below: Launch the new version of Xcode.app....
Read more >
Xcode 13: Compilation for iOS simulator fails : KT-47333
Reproducer: try to compile a Kotlin file with fun main() {} for iOS simulator. Output: error: /Applications/Xcode-beta.app/Contents/Developer/Toolchains/ ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found