swift - 使用 Cocoapods 时 Generamba 设置失败

标签 swift ruby xcode cocoapods

仅当使用 cocoapods 时(运行 pod install 后),在设置 .xcodeproj 路径时,generamba 安装会失败并显示以下消息。

The path to a .xcodeproj file of the project is 'GrambaSample.xcodeproj'. Do you want to use it? (yes/no) yes
/Library/Ruby/Gems/2.3.0/gems/xcodeproj-1.4.2/lib/xcodeproj/project/object.rb:321:in `configure_with_plist': [!] Xcodeproj doesn't know about the following attributes {"inputFileListPaths"=>[], "outputFileListPaths"=>[]} for the 'PBXShellScriptBuildPhase' isa. (RuntimeError)

如果不使用cocoapods,则不会出现此错误。

如何在使用 cocoapods 时设置 Generamba。

最佳答案

为了避免此问题,您应该通过执行将 CocoaPods 更新到最新的测试版

gem install cocoapods --pre

CocoaPods 的最新测试版现在使用 inputFileListPaths 和 outputFileListPaths。

更多信息here请参阅.xcfilelist 支持

关于swift - 使用 Cocoapods 时 Generamba 设置失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/55470494/

相关文章:

swift - Storyboard或从 ViewController 到 Tabbar Controller 的 segue

ruby - SignatureDoesNotMatch 使用 ruby​​ aws-sdk gem 和预签名 pos

ruby-on-rails - rails : I can't call a function in a module in/lib - what am I doing wrong?

xcode - Xcode 中的 GNU make

ios - 使用选项卡 View Controller 的 Xcode IOS 转换 View

swift - 具有属性的子类 UIButton 不会改变 UI

ios - 类型 'ViewController' 不符合协议(protocol) 'FBSDKLoginButtonDelegate'

ruby-on-rails - 在 rails 中使用 MIME 类型渲染文件

iphone - 如何在 iOS 5 中更改 UITabBarItem 中的文本颜色

swift - 为什么 iPhone 不将数组传输到 Apple Watch?