Comments (5)
Fix your problems using brew doctor
first, that is likely the source of your error.
What does xcode-select --print-path
show for you? Switch back to the Xcode 4 command line tools to see if that fixes it.
from ios-sim.
xcode-select --print-path
/Applications/Xcode5-DP3.app/Contents/Developer
Setting it to 4... and it installes without error!
Now trying to set it back to 5-DP3... and it still launches. Great! So something about 5-DP3 for install makes it choke.
from ios-sim.
I had this issue too because of the Xcode dev preview. Your fix worked a treat. For reference:
1: Check selected
xcode-select --print-path /Applications/Xcode5-DP2.app/Contents/Developer
2: Switch to Xcode 4
sudo xcode-select --switch /Applications/Xcode.app/
3: Install again
brew install ios-sim
4: Fire up phonegap
phonegap run ios
from ios-sim.
Just updated to Xcode 5.1 and basically get the same error. Since I updated via the App Store there is not an older version in Applications. Any idea how to fix this? Thank you!
$ brew upgrade ios-sim
==> Upgrading 1 outdated package, with result:
ios-sim 1.8.2
==> Upgrading ios-sim
==> Downloading https://github.com/phonegap/ios-sim/archive/1.8.2.tar.gz
Already downloaded: /Library/Caches/Homebrew/ios-sim-1.8.2.tar.gz
==> /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/rake install prefix=/usr/local/Cellar/ios-sim/1.8.2
(2 failures)
rake aborted!
Command failed with status (65): [xcodebuild -project ios-sim.xcodeproj -con...]
/private/tmp/ios-sim-GmoD/ios-sim-1.8.2/Rakefile:7
(See full trace by running task with --trace)
READ THIS: https://github.com/Homebrew/homebrew/wiki/troubleshooting
from ios-sim.
from ios-sim.
Related Issues (20)
- convert module to oclif
- complete coverage for command `install` HOT 1
- complete coverage for command `launch`
- complete coverage for command `start` HOT 1
- List empty of devices simulator with Xcode 10.2 HOT 60
- Log more information about simulator being launched
- List empty of devices simulator with Xcode 11 HOT 3
- Error: Cannot read property 'toLowerCase' of undefined
- --devicetypeid was not specified, using first available device: null. HOT 4
- Add support to non binary Info.plist files
- How to run ios-sim all command through python script
- TypeError: Cannot read property 'devicetypes' of undefined HOT 8
- Unable to install the application in simulator HOT 5
- Unhandled Error: launch.js line 51. this.log undefined. HOT 4
- Custom simulators not appearing in showdevicetypes
- BUG: `npm list` errors on this module on global mode
- Bump simctl to 2.0.1 for security updates
- remove appveyor and travis ci, use Github Actions HOT 2
- node.js 16 test failures HOT 1
- 9a4d6fb8494aed1dbe29d5577c5204a27e27060e
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ios-sim.