迦太基:没有iOS平台的共享框架方案(对于我自己的框架) [英] Carthage: no shared framework schemes for iOS platform (for my own framework)

查看:446
本文介绍了迦太基:没有iOS平台的共享框架方案(对于我自己的框架)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我创建了一个构建并测试它的框架(称为ProjectOne)。我想允许在 Carthage 中使用此框架。我编辑了我的方案,并在 XCODE 中共享了默认的ProjectOne方案。我做了一个 carthage build 并验证该框架是在 Carthage / Build / iOS 中构建的。

I create a framework (called ProjectOne) built and tested it. I want to allow this framework to be used in Carthage. I edited my scheme and made the default "ProjectOne" scheme shared in XCODE. I did a carthage build and verified that the framework was build in Carthage/Build/iOS.

然后我推送到github 并创建一个版本。

I then push to github and and create a release.

在另一个项目中,我正在使用这个框架。但是, carthage报告 Dependency ProjectOne没有针对任何平台的共享框架方案:iOS

In another project, I'm using this framework. But, carthage reports "Dependency ProjectOne has no shared framework schemes for any of the platforms: iOS".

我很确定我在ProjectOne中分享了这个计划 - 有谁知道为什么会发生这种情况?

I'm pretty sure I shared the scheme in ProjectOne - does anyone know why this is happening?

推荐答案

迦太基的人帮帮忙我发现了这个问题 - Xcode没有将这些方案添加到git中。确保添加 .xcodeproj / xcshareddata / xcschemes 并将其推送到github。

The folks at Carthage helped me discover the issue - Xcode was not adding the schemes to git. Make sure that .xcodeproj/xcshareddata/xcschemes is added and pushed to github.

这篇关于迦太基:没有iOS平台的共享框架方案(对于我自己的框架)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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