kakashidinho / metalangle

MetalANGLE: OpenGL ES to Metal API translation layer
Other
461 stars 65 forks source link

Question: Easily creating an xcframework to support multiple pltaforms? #75

Open MikeHart66 opened 2 years ago

MikeHart66 commented 2 years ago

Hi, is there an easy way to build a xcframework that contains MetalAngle for all platforms for ios and the simulators? ARM64, X86_64 and x386 might be needed.

Keep up the great work.

Berstanio commented 2 years ago

It should be pretty simple. You can run the command xcodebuild -create-xcframework -framework /path/to/ios/framework/MetalANGLE.framework -framework /path/to/simulator/framework/MetalANGLE.framework -output MetalANGLE.xcframework

MikeHart66 commented 2 years ago

Thanks will give that a try.