How to check if a static library is built for 64-bit?

后端 未结 3 862
暗喜
暗喜 2020-12-07 08:55

I just built a static library for iOS with the build setting for Architectures set to $(ARCHS_STANDARD_INCLUDING_64_BIT).

I want to make sure that the

3条回答
  •  既然无缘
    2020-12-07 09:39

    Yes, an arm64 slice is there. To see it, you need to use lipo from the iOS toolchain, not from the host system (which doesn’t know about arm64):

    xcrun -sdk iphoneos lipo -info $(FILENAME)
    

提交回复
热议问题