简体   繁体   English

框架链接

[英]Framework Linking

I have created a simple framework for the arithmetic operations and another project for using that framework, even after adding the framework, It is giving framework not found or framework not found MathFunctionFramework (where MathFunctionFramework is the name of my framework) 我已经为算术运算创建了一个简单的框架,并为使用该框架创建了另一个项目,即使在添加了框架之后,它也为未找到框架或未找到框架提供了MathFunctionFramework(其中MathFunctionFramework是我的框架的名称)

在此处输入图片说明

在此处输入图片说明

Make sure your framework is added to the Embedded Binaries section on the General pane. 确保将您的框架添加到“常规”窗格的“ Embedded Binaries部分。 Also check that your framework appears in the Link Binary With Libraries & Embed Frameworks sections in the Build Phases pane. 另外,还要检查您的框架是否在“构建阶段”窗格的“ Link Binary With LibrariesEmbed Frameworks部分中显示。

If the framework is being dynamically linked, please check that the correct path value is present in the Framework Search Paths setting in Build Settings. 如果框架是动态链接的,请检查Framework Search Paths构建设置”中的“ Framework Search Paths设置中是否存在正确的路径值。

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM