简体   繁体   English

如何从第三方框架和源代码创建框架?

[英]How can i create a framework from a third party framework and my source code?

i compile opencv from source code to opencv2.framework file. 我将opencv从源代码编译为opencv2.framework文件。 And i wrote some code that using opencv2.framework. 我写了一些使用opencv2.framework的代码。 Now, i have to create package from my code for third party developer. 现在,我必须根据我的代码为第三方开发人员创建包。

mysource(objective-c) + opencv2.framework(compiled from c++) => package => thirparty developer will use that. mysource(objective-c)+ opencv2.framework(从c ++编译)=> package =>第三方开发人员将使用它。

(it can be two seperate framework or a static library+opencv2.framework or one framework file together ) (它可以是两个单独的框架 ,也可以是一个静态库+ opencv2.framework一个框架文件

you can have your own custom framework and the client can add both framework to the project and compile with no errors. 您可以拥有自己的自定义框架,客户端可以将这两个框架都添加到项目中并进行编译而不会出错。 You can see how to create a framework here . 您可以在此处查看如何创建框架 just create a bundle target and add the files you want to include in your framework. 只需创建一个包目标并添加要包含在框架中的文件即可。 add new aggrigated target copy the lipo script and you will get a framework done 添加新的凝集目标,复制lipo脚本,您将完成一个框架

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何摆脱第三方框架中的内存泄漏(gstreamer) - How to get rid of the memory leaks in third party framework(gstreamer) 如何访问第三方源文件中的功能? - How do I access functions in a third party source file? 如何为第三方旧版代码创建测试对象 - How Do You Create Test Objects For Third Party Legacy Code 如何使我的应用程序使用Visual Studio查找第三方DLL? - How can I make my application find a third-party DLL using Visual Studio? 如何从 constexpr function 中未标记为 constexpr 的第三方库调用 function? - How can I call a function from a third party lib that is not marked constexpr from a constexpr function? 与第三方框架一起编译时tensorflow protobuf冲突 - tensorflow protobuf conflict when compiling with third party framework 从第三方代码检查库版本 - Check library version from third party code 如何从支持 linux/mac os 的第 3 方代码为我的 c# 项目制作 dll? - How can i make a dll for my c# project from a linux/mac os supported 3rd party code? 只能使用(稳定)第三方库使我的代码无法正常工作 - Can merely using (stable) third party library render my code not working 当我在 compile OR-Tools using tools\make cc 中构建 OR-Tools 的源代码时,未找到第三方 SCIP 文件 - Third party SCIP files was not found when I build the source code of OR-Tools in compile OR-Tools using tools\make cc
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM