weixin_39761491
weixin_39761491
2020-12-09 09:29

Mac Catalyst xcframework

In order to support Mac Catalyst you'll need to start producing an xcframework. I've already got it working for CPAProxy: https://github.com/ursachec/CPAProxy/blob/marzipan/scripts/build-cpaproxy-xcframework.sh

The main takeaways are that I first had to create an xcframework of the C static libraries libcpaproxy.xcframework, and then statically linked that into the main framework CPAProxy.xcframework.

If you want to also support Catalyst you need to build another architecture with flags -target x86_64-apple-ios-macabi -miphoneos-version-min=13.0.

该提问来源于开源项目:iCepa/Tor.framework

  • 点赞
  • 回答
  • 收藏
  • 复制链接分享

8条回答

为你推荐

换一换