如何将本地软件包添加到Xcode Swift项目?
我想将SwiftyDropbox软件包本地添加到我的Xcode Swift项目中,以使其构建最快。
我在swiftydropbox github url上增加了依赖性,它运行正常,但是在Xcode Clean(即RealClean)之后需要一分钟的时间才能构建。
我正在关注Apple的文章“将软件包依赖关系编辑为本地软件包”,但步骤3不起作用:“在Finder中选择Swift软件包的文件夹并将其拖动到项目Navigator中”。
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您可以使用添加本地... 按钮
You can use the Add Local... button

我已经将其添加到本地存储库中,然后将本地路径添加到该仓库的文件夹中。
file:/// absolute_path
I've added it to the local repo and then added the local path to the folder of that repo.
file:///absolute_path