Skip to content

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

Notifications You must be signed in to change notification settings

zhuowei/fake-arm-macOS-sdk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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