使用xcode 9编译的SDK在xcode 8中无法正常工作 [英] SDK compiled with xcode 9 does not work fine in xcode 8

查看:53
本文介绍了使用xcode 9编译的SDK在xcode 8中无法正常工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个使用Xcode-9-Beta构建的SDK.但是,我试图在运行Xcode 8.3.3的项目中使用此框架.但是,我收到一个构建错误,指出 ld框架找不到架构x86_64

I've an SDK that I built with Xcode-9-Beta. However, I'm trying to use this framework in a project that's running Xcode 8.3.3. However, I get a build error which says, ld framework not found "FileProvider" for architecture x86_64

现在,此 FileProvider 已在iOS-11中引入,我在SDK代码中的任何地方都未使用它.可能是什么错误.如果您需要更多有关此方面的数据,请发表评论.

Now, this FileProvider has been introduced in iOS-11 and I'm not using it anywhere in the SDK code. What could be the possible error. Please comment if you need further data around this.

推荐答案

按照以下步骤

1)在构建阶段的与库链接二进制文件"部分中添加FileProvider.framework.

1) Add FileProvider.framework in Link Binary With Library section in Build Phase.

2)将其设置为可选,代替必填.

2) Make it Optional in place of Required.

3)清洁项目.

4)运行.

应用程序将运行而不会崩溃.

Application will run without crash.

这篇关于使用xcode 9编译的SDK在xcode 8中无法正常工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆