不使用Xcode 8复制Swift库吗? [英] Do not copy swift libraries with Xcode 8?

查看:77
本文介绍了不使用Xcode 8复制Swift库吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何自动在Xcode 8中嵌入Swift动态库?

How to not automatically embed Swift dynamic libraries in Xcode 8?

我尝试设置 ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES 设置为否(无论如何默认为否),但仍将Swift动态库复制到应用程序包中。

I've tried setting ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES to "No" (defaults to "No" anyway) yet it still copies Swift dynamic libraries into the app bundle.

我正在创建一个助手应用程序将被嵌入到主应用程序中,而后者已经具有前者可以链接到的Swift库。

I'm creating a helper application to be embedded in the main application and the latter already has Swift libraries which the former can link to.

推荐答案

Swift可能即使将 ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES 设置为否,仍将被复制。您可以检查项目中是否存在某些Swift文件或任何依赖项,然后将其删除。

Swift may still be copied even for ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES set to NO. You can check if there is some Swift file in your project or any of your dependencies and remove those.

这篇关于不使用Xcode 8复制Swift库吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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