无法把 SDK 编译成 framework

使用下载的sdk(iOS)中的ruby脚本编译时报错:

ruby build-framework.rb

ruby: No such file or directory — build-framework.rb (LoadError)

ACA801E8:leancloud-objc-sdk leebeen$ ruby build-framework.rb

ruby: No such file or directory — build-framework.rb (LoadError)

ACA801E8:leancloud-objc-sdk leebeen$ cd Legacy_script/

ACA801E8:Legacy_script leebeen$ ruby build-framework.rb

/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require’: cannot load such file — xcodeproj (LoadError)

from /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require’

from build-framework.rb:8:in `<main>’

该肿么办呢?

谢谢。

    原文作者:been lee
    原文地址: https://zhuanlan.zhihu.com/p/42250600
    本文转自网络文章,转载此文章仅为分享知识,如有侵权,请联系博主进行删除。
点赞