Giter VIP home page Giter VIP logo

Comments (6)

steven-michaud avatar steven-michaud commented on August 12, 2024

I just had no problem building on macOS 10.12.4 with XCode 8.0 (8A218a). Let me try again with later versions and see what happens. It's possible they're at fault here.

from sandboxmirror.

steven-michaud avatar steven-michaud commented on August 12, 2024

I've confirmed your report. I installed XCode 8.3.2 (8E2002) over my previous copy of XCode 8.0, and I now get exactly the same error as you using xcodebuild (from the command line).

It will take me a while to figure out how to work around this. In the meantime you could try installing XCode 8.0 on your system and using that. You'll need to install it under a different name (or in a different directory). But once you have two versions of XCode installed, you can use xcode-select to choose which is active.

from sandboxmirror.

feicong avatar feicong commented on August 12, 2024

thx, i'll try.

from sandboxmirror.

steven-michaud avatar steven-michaud commented on August 12, 2024

By trial and error, I've found out that XCode 8.0 is the last (most recent) version of XCode that works properly to compile SandboxMirror.kext. I'll look for a way to work around this, but (as I said) that may take a while.

In the meantime you should use XCode 8.0 to compile SandboxMirror.kext on macOS 10.12.

from sandboxmirror.

steven-michaud avatar steven-michaud commented on August 12, 2024

This was suprisingly easy to fix. It turns out that as of XCode 8.1, Apple renumbered the "mpo_reservedNN" members of "struct mac_policy_ops" in the macOS 10.12 SDK's mac_policy.h. Fortunately Apple increments MAC_POLICY_OPS_VERSION whenever it changes this structure. So we can check its value to see what kind of mpo_reservedNN numbering to expect.

Please download the current master branch and try compiling it with XCode 8.3.2.

from sandboxmirror.

steven-michaud avatar steven-michaud commented on August 12, 2024

As best I can tell, this is fixed.

from sandboxmirror.

Related Issues (2)

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.