For inquiries regarding issues with license purchases or license activation errors, please contact us through the
email form.Native SDK sample Metal application not working on iphonesimulator on Apple Silicon Mac
The sample application in
https://github.com/Live2D/CubismNativeSamples/tree/develop/Samples/Metal builds and runs fine on a physical iPhone connected to my Apple Silicon Mac, but doesn't work on the XCode iPhone simulator.
I noticed that the libLive2DCubismCore.a distributed for iphonesimulator is only for x86_64 and not arm64. Is there some way to get the Metal sample application to run on XCode iPhone Simulator on Apple Silicon Macs? The README.md in above linked directory mentions:
"Follow the steps below when building for iOS Simulator on a Mac with Apple silicon.
Change the description of Xcode's Project Settings - TARGETS - Demo and Framework's Build Settings - Architectures - Architectures according to the execution environment."
... but I can't seem to figure it out since the slices for iphonesimulator libLive2DCubismCore.a aren't even arm64. Any help or clarification would be greatly appreciated!
0 ·
Comments
Thank you for using our product.
The attached image is a screenshot of the Metal sample from the Cubism 5 SDK for Native R4_1 running on an iPhone simulator on a MacBook with the M3 chip.
Please set the section mentioned in the README you commented on to 'Standard Architectures (arm64, x8664) - $(ARCHSSTANDARD)' as shown in the attached image.
Best regards.