Code Monkey home page Code Monkey logo

Comments (8)

chucks avatar chucks commented on July 28, 2024

If it's not clear from the console logs, the dylib that can't be resolved by iPhoneSimulatorRemoteClient is:

@rpath/DevToolsFoundation.framework/Versions/A/DevToolsFoundation

from simlaunch.

ashcatch avatar ashcatch commented on July 28, 2024

And the DevToolsFoundation.framework is located in /Applications/Xcode.app/Contents/OtherFrameworks -- see also https://jira.appcelerator.org/browse/TISTUD-1196 for a suggested fix.

from simlaunch.

chucks avatar chucks commented on July 28, 2024

Thanks for the pointer, I'll see if I can adapt this to simlaunch

from simlaunch.

kimhunter avatar kimhunter commented on July 28, 2024

If you run the md query and look for Xcode.app first then for the platform you can retrieve it, I'm working on a patch that will fallback to looking for the platform in Xcode. see below

mdfind "kMDItemDisplayName == 'iPhoneSimulator.platform'"

mdfind -onlyin /Applications/Xcode.app/Contents "kMDItemDisplayName == 'iPhoneSimulator.platform'"
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform

from simlaunch.

kimhunter avatar kimhunter commented on July 28, 2024

I've got it working in Xcode 4.3 alongside 4.2(SL)

https://github.com/mogeneration/simlaunch/commits/standalone_xcode

Its not the best fix but its something i had to get working to get to the bottom of other problems.

from simlaunch.

chucks avatar chucks commented on July 28, 2024

I have slightly different fix for the same issue:

chucks@c96818b#diff-1

from simlaunch.

kimhunter avatar kimhunter commented on July 28, 2024

oh mine also fixes the DevToolsFoundation Framework thing (Edit: just realised you linked it in the project file, damm suppressed diff)

Chucks yours has a hardcoded path :(

Edit:
In my case i've got to support loading over many Xcode versions (nightmare)

from simlaunch.

landonf avatar landonf commented on July 28, 2024

Resolved through significant hackery in trunk. I implemented custom Mach-O parsing and pre-emptive resolution of @rpath-relative LC_LOAD_DYLIB library references. This allows the use of Xcode installed at any location on the drive, and should be backwards compatible with earlier Xcode releases.

This improves on some of the approaches given above, in that they set -rpath to a fixed path to /Applications/Xcode.app. Testing would be most appreciative.

from simlaunch.

Related Issues (15)

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.