开发者

x84_64 compatibility with 10.5.8

开发者 https://www.devze.com 2022-12-08 12:53 出处:网络
I would like开发者_如何学JAVA to build an app with a universal binary containing: ppc, i386 and x86-64.The problem I have is that on 10.5.8 it tries to launch the x86-64 version and fails.

I would like开发者_如何学JAVA to build an app with a universal binary containing: ppc, i386 and x86-64. The problem I have is that on 10.5.8 it tries to launch the x86-64 version and fails.

Is there some configuration that will make 10.5.8 launch with the i386 code?


See this SO question that suggests to configure through Info.plist.


I'm not aware of a method in the OS to target one version of the binary over another. I do know you can use lipo to remove the x86_64 version of the binary, which will cause the OS to run the i386 version, but I do not think it is what you want.

All that being said it would be my recommendation to debug the cause of the x86_64 crash, or only build the i386 version of the binary until you are in a place to debug it.

0

精彩评论

暂无评论...
验证码 换一张
取 消