Coder Social home page Coder Social logo

Comments (3)

nmcspadden avatar nmcspadden commented on April 25, 2024 1

Ah, thanks, yeah. We will likely have to abandon this entire code path - Xcode changed the way it stores the version info here. I don't think there's any other safe or sane way to extract the human-readable beta version. Let me do some more investigation.

from recipes-for-autopkg.

bfreezy avatar bfreezy commented on April 25, 2024

I've hit this too and can recreate by running this block here: https://github.com/facebook/Recipes-for-AutoPkg/blob/40202a7dd2db8c39abe9b89c1fa2751a5e6d4613/Xcode/XcodeVersioner.py#L75-L77

❯ /usr/local/autopkg/python
Python 3.7.5 (v3.7.5:5c02a39a0b, Oct 14 2019, 18:49:57)
[Clang 6.0 (clang-600.0.57)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import objc
>>> app_path = '/Users/me/Library/AutoPkg/Cache/local.munki.Xcode/Xcode_unpack/Xcode.app'
>>> DVTFoundation_path = ("%s/Contents/SharedFrameworks/" + "DVTFoundation.framework") % app_path
>>> loaded = {}
>>> objc.loadBundle("DVTFoundation", bundle_path=DVTFoundation_path, module_globals=loaded)
[1]    93269 segmentation fault  /usr/local/autopkg/python

from recipes-for-autopkg.

nmcspadden avatar nmcspadden commented on April 25, 2024

This repo will be decommissioned. If this is still an issue, please open it against nmcspadden-recipes.

from recipes-for-autopkg.

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.