Giter VIP home page Giter VIP logo

Comments (11)

alloy avatar alloy commented on August 26, 2024

If you’re on Xcode 4.3 then please try the master version.

from ios-sim.

firedev avatar firedev commented on August 26, 2024

You mean from here? Yes I am on Xcode 4.3.1

from ios-sim.

alloy avatar alloy commented on August 26, 2024

Sorry, I meant to create a checkout of the current HEAD version of this repo and install from there.

from ios-sim.

firedev avatar firedev commented on August 26, 2024

Build succeeded. However:

$ ios-sim
dyld: Library not loaded: @rpath/DevToolsFoundation.framework/Versions/A/DevToolsFoundation
Referenced from: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/PrivateFrameworks/iPhoneSimulatorRemoteClient.framework/Versions/A/iPhoneSimulatorRemoteClient
Reason: image not found
Trace/BPT trap: 5

$ which ios-sim
/usr/local/bin/ios-sim

from ios-sim.

shazron avatar shazron commented on August 26, 2024

This commit for Xcode 4.3 support should have fixed it -- it added the path to OtherFrameworks which DevToolsFoundation resides in:
4987e07

from ios-sim.

firedev avatar firedev commented on August 26, 2024

Will it appear in brew?

from ios-sim.

shazron avatar shazron commented on August 26, 2024

It's in brew right now.

from ios-sim.

firedev avatar firedev commented on August 26, 2024

Oh, right it works now, I just had a non-brew version in usr/local/bin, thanks!

from ios-sim.

namuchi avatar namuchi commented on August 26, 2024

I installed Xcdoe 4.4. And also tried to install iOS-sim, but unfortunately failed.
Why? Where is the cause? Please inform me, if someone knows.
Message from terminal is bellow.

$ brew install ios-sim
==> Downloading https://github.com/phonegap/ios-sim/tarball/1.4
Already downloaded: /Library/Caches/Homebrew/ios-sim-1.4.tgz
==> rake install prefix=/usr/local/Cellar/ios-sim/1.4
xcodebuild -project ios-sim.xcodeproj -configuration Release SYMROOT=build
(in /private/tmp/homebrew-ios-sim-1.4-tA5h/phonegap-ios-sim-0d756d0)
Build settings from command line:
SYMROOT = build

=== BUILD NATIVE TARGET ios-sim OF PROJECT ios-sim WITH CONFIGURATION Release ===
Check dependencies
error: There is no SDK with the name or path '/tmp/homebrew-ios-sim-1.4-tA5h/phonegap-ios-sim-0d756d0/macosx10.6'

** BUILD FAILED **

The following build commands failed:
Check dependencies
(1 failure)
rake aborted!
Command failed with status (65): [xcodebuild -project ios-sim.xcodeproj -con...]
/private/tmp/homebrew-ios-sim-1.4-tA5h/phonegap-ios-sim-0d756d0/Rakefile:7
(See full trace by running task with --trace)
==> Build Environment
HOMEBREW_VERSION: 0.9.2
HEAD: (none)
CPU: dual-core 64-bit core2
OS X: 10.7.4-i386
Xcode: 4.4
CLT: N/A
X11: 2.6.4 @ /usr/X11
CC: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang
CXX: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ => /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang
LD: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang
CFLAGS: -Os -w -pipe -march=native -Qunused-arguments -mmacosx-version-min=10.7 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk -isystem /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk/usr/include -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk/usr/include
CXXFLAGS: -Os -w -pipe -march=native -Qunused-arguments -mmacosx-version-min=10.7 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk -isystem /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk/usr/include -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk/usr/include
CPPFLAGS: -isystem /usr/local/include -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk -isystem /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk/usr/include -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk/usr/include
CMAKE_PREFIX_PATH: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk/usr
LDFLAGS: -L/usr/local/lib -L/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk/usr/lib -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk/usr/include
MACOSX_DEPLOYMENT_TARGET: 10.7
MAKEFLAGS: -j2
Error: Failed executing: rake install prefix=/usr/local/Cellar/ios-sim/1.4 (ios-sim.rb:9)
This may help you fix or report the issue if brew doctor does not:
https://github.com/mxcl/homebrew/wiki/bug-fixing-checklist

from ios-sim.

shazron avatar shazron commented on August 26, 2024

@namuchi Not sure, I'll take a look at it and fix after the weekend.

from ios-sim.

shazron avatar shazron commented on August 26, 2024

@namuchi - closing this, tracking in #27

from ios-sim.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.