Ian H Stewart
Ian H Stewart

Reputation: 7

LAME.framework for Apple Silicon / M1

I found this for IOS, but I need help getting LAME.framework to build for MacOS intel AND arm64.

https://github.com/Superbil/build-lame-for-iOS/blob/master/build_ios.sh

Can anyone point me to a build script similar to this please? Target is Big Sur if that makes a difference.

Frameworks are a mystery to me so I have been lucky finding these in the past. No idea how to create this.

PS I did try to change the iphonesdk line(s) to macOS, but it fails (no sdk in path) Probably not the right way to do it anyway.

Upvotes: 0

Views: 949

Answers (1)

MongoTheGeek
MongoTheGeek

Reputation: 294

What I did was.

  1. Download the source from sourceforge.
  2. run config
  3. copy config.h into the macOS folder
  4. open the project file
  5. select the architectures that I wanted and appropriate SDKs
  6. build the framework.
  7. include the framework into my project(making sure to embed and sign

Upvotes: 0

Related Questions