'm1 pro build iOS app runtime error: COLLADA files are not supported on this platform

In m1pro chip (my new MacBook Pro 14'), iOS App load dae file error. Crash both in simulator and devices.

    func makeUIView(context: Context) -> UIView {
        let scene = SCNScene(named: "art.scnassets/3dmodel.dae")!   //crash here, error "COLLADA files are not supported on this platform."
        ...other code...
    }

But the same code works well with intel chip (MacBook Pro 13' 2017) built iOS APP

Question: Does the apple m1pro chip not support dae files? But c4d works well in m1pro.

Environment:

  • MacOS12.1
  • xcode 13.1

Have Tried:

  • MacOS12.0.1 -> MacOS12.1

  • xcode 12 -> xcode 13

  • Simulator and iOS Devices

  • iOS 14 -> iOS 15

all above not works.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source