Skip to content

zhuowei/fake-arm-macOS-sdk

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 

Tool to create a fake macOS Arm SDK by Frankensteining a macOS and an iOS SDK together.

Usage:

bash makesdk.sh
clang -target arm64e-apple-macosx10.15.0 -isysroot macOSArm.sdk hello.c
swiftc -target arm64e-apple-macosx10.15.0 -sdk macOSArm.sdk -v hello.swift

Thanks to @stroughtonsmith for discovering how to do this:

https://twitter.com/stroughtonsmith/status/807664599260688384 https://twitter.com/stroughtonsmith/status/1232104689069674496 https://twitter.com/stroughtonsmith/status/1270902332373585922

About

Obsolete: Xcode 12 Beta's out now. -- Script that modifies Xcode 11’s macOS SDK to build for ARM

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published