Howdy, Stranger!

It looks like you're new here. Sign in or register to get started.

If you have any questions, reports, suggestions, or requests about Live2D, please send them to this forum.
※We cannot guarantee statements or answers from Live2D staff. Thank you for your understanding in advance.
 
Live2D Cubism
Cubism Products and Downloads
Cubism product manuals and tutorials
Cubism Editor Manual    Cubism Editor Tutorial    Cubism SDK Manual    Cubism SDK Tutorial
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!

Comments

  • Hi @yartag

    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.
Sign In or Register to comment.