【问题标题】:iOS Carthage "project has no shared schemes" even with manual xcodebuild即使使用手动 xcodebuild,iOS Carthage “项目也没有共享方案”
【发布时间】:2018-08-12 12:11:42
【问题描述】:

这个错误到底是什么意思?

如果项目没有共享方案,是否可以使用xcodebuild -list -project Whatever.xcodeproj 以某种方式创建它们?

似乎很少支持使用 carthage 的 react-native。我可以在我的 Cartfile 中添加 react-native,并且在运行 carthage update 之后,请参阅 Checkouts 中的 react-native。但我也看到了错误"project has no shared schemes"

所以,我手动运行了 xcodebuild -list -project Carthage/Checkouts/react-native/React/React.xcodeproj - 想为 react-native 中的所有库执行此操作,但是我仍然无法执行 #import "React/RCTRootView.h"import React 之类的操作。

我错过了什么?

【问题讨论】:

    标签: ios react-native carthage


    【解决方案1】:

    尝试进入 Xcode > Products > Scheme > Manage Scheme 并确保您的项目方案已共享。

    【讨论】:

      猜你喜欢
      • 2010-09-07
      • 1970-01-01
      • 2018-06-22
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多