Skip to content

leejunkit/arm64-to-sim-script

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

arm64-to-sim-script

Need to build your iOS project for the Apple Silicon iOS simulator but have legacy static libraries with no arm64 simulator slice?

This is a helper script that accepts a traditional .framework that has the following slices:

  • armv7 (device)
  • arm64 (device)
  • x86_64 (simulator)

It transmorgifies the arm64 slice using Bogo's script and outputs an .xcframework in the current directory with support for the following:

  • armv7 (device)
  • arm64 (device)
  • x86_64 (simulator)
  • arm64 (simulator)

Usage

# Clone submodules
$ git submodule init
$ git submodule update

# Invoke
# (in this case we're converting the Google Cast SDK)
$ ./create-xcframework.sh ../MyIOSProject/Pods/google-cast-sdk-no-bluetooth/GoogleCastSDK-ios-4.6.1_static/GoogleCast.framework

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages