Skip to content

编译Apple平台并启用xcframework 缺少头文件 #798

Answered by domchen
0x1306a94 asked this question in General
Discussion options

You must be logged in to vote

这个功能不是在编译工具控制的,对于静态库的打包xcframework就是只处理静态库,好比之前静态库的fat-library的合并功能。如果需要头文件这是framework提供的功能,要在cmake里配置一下支持编译为framework,例如libpag库里就是支持了的:https://github.com/Tencent/libpag/blob/main/CMakeLists.txt#L551。目前 tgfx 还主要是给项目嵌入源码编译使用的,之前没有遇到需要预编译 framework 的需求,这个我们可以增加一下支持。那个PR暂时先关闭了,多谢提交。

Replies: 5 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by domchen
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants