adamwaite / iOS-Build-Kit

☠️ BuildKit is a modular command line interface for automating iOS project builds. Bundled build tasks include: Increment app version • Xcode build • Overlay version number on icon files • Run unit tests • Create .ipa artefact.
MIT License
568 stars 54 forks source link

can not download #29

Closed ghost closed 9 years ago

ghost commented 9 years ago

can not download, are there other ways to use?

esttorhe commented 9 years ago

@z306007236 what exactly do you mean by "can not download" ?

Are you running:

gem install ios_build_kit

And its failing somehow?

If so could you paste the error? If not; could you provide what you are attempting to do that is failing?

ghost commented 9 years ago

I'm in China, perhaps is the network has made the limits to us.do you have any offline installation method?

ghost commented 9 years ago

/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby extconf.rb checking if the C compiler accepts ... yes checking if the C compiler accepts -Wno-error=unused-command-line-argument-hard-error-in-future... no Building nokogiri using packaged libraries. checking for iconv... yes


IMPORTANT NOTICE:

Buidling Nokogiri with a packaged version of libxml2-2.9.2 with the following patches applied:

Team Nokogiri will keep on doing their best to provide security updates in a timely manner, but if this is a concern for you and want to use the system library instead; abort this installation process and reinstall nokogiri as follows:

gem install nokogiri -- --use-system-libraries
    [--with-xml2-config=/path/to/xml2-config]
    [--with-xslt-config=/path/to/xslt-config]

If you are using Bundler, tell it to use the option:

bundle config build.nokogiri --use-system-libraries
bundle install

Note, however, that nokogiri is not fully compatible with arbitrary versions of libxml2 provided by OS/package vendors.


Extracting libxml2-2.9.2.tar.gz into tmp/x86_64-apple-darwin13/ports/libxml2/2.9.2... OK Running patch with /Library/Ruby/Gems/2.0.0/gems/nokogiri-1.6.5/ports/patches/libxml2/0001-Revert-Missing-initialization-for-the-catalog-module.patch... Running 'patch' for libxml2 2.9.2... OK Running patch with /Library/Ruby/Gems/2.0.0/gems/nokogiri-1.6.5/ports/patches/libxml2/0002-Fix-missing-entities-after-CVE-2014-3660-fix.patch... Running 'patch' for libxml2 2.9.2... OK Running 'configure' for libxml2 2.9.2... OK Running 'compile' for libxml2 2.9.2... OK Running 'install' for libxml2 2.9.2... OK Activating libxml2 2.9.2 (from /Library/Ruby/Gems/2.0.0/gems/nokogiri-1.6.5/ports/x86_64-apple-darwin13/libxml2/2.9.2)...


IMPORTANT NOTICE:

Buidling Nokogiri with a packaged version of libxslt-1.1.28 with the following patches applied:

Team Nokogiri will keep on doing their best to provide security updates in a timely manner, but if this is a concern for you and want to use the system library instead; abort this installation process and reinstall nokogiri as follows:

gem install nokogiri -- --use-system-libraries
    [--with-xml2-config=/path/to/xml2-config]
    [--with-xslt-config=/path/to/xslt-config]

If you are using Bundler, tell it to use the option:

bundle config build.nokogiri --use-system-libraries
bundle install

Extracting libxslt-1.1.28.tar.gz into tmp/x86_64-apple-darwin13/ports/libxslt/1.1.28... OK Running patch with /Library/Ruby/Gems/2.0.0/gems/nokogiri-1.6.5/ports/patches/libxslt/0001-Adding-doc-update-related-to-1.1.28.patch... Running 'patch' for libxslt 1.1.28... OK Running patch with /Library/Ruby/Gems/2.0.0/gems/nokogiri-1.6.5/ports/patches/libxslt/0002-Fix-a-couple-of-places-where-f-printf-parameters-wer.patch... Running 'patch' for libxslt 1.1.28... OK Running patch with /Library/Ruby/Gems/2.0.0/gems/nokogiri-1.6.5/ports/patches/libxslt/0003-Initialize-pseudo-random-number-generator-with-curre.patch... Running 'patch' for libxslt 1.1.28... OK Running patch with /Library/Ruby/Gems/2.0.0/gems/nokogiri-1.6.5/ports/patches/libxslt/0004-EXSLT-function-str-replace-is-broken-as-is.patch... Running 'patch' for libxslt 1.1.28... OK Running patch with /Library/Ruby/Gems/2.0.0/gems/nokogiri-1.6.5/ports/patches/libxslt/0006-Fix-str-padding-to-work-with-UTF-8-strings.patch... Running 'patch' for libxslt 1.1.28... OK Running patch with /Library/Ruby/Gems/2.0.0/gems/nokogiri-1.6.5/ports/patches/libxslt/0007-Separate-function-for-predicate-matching-in-patterns.patch... Running 'patch' for libxslt 1.1.28... OK Running patch with /Library/Ruby/Gems/2.0.0/gems/nokogiri-1.6.5/ports/patches/libxslt/0008-Fix-direct-pattern-matching.patch... Running 'patch' for libxslt 1.1.28... OK Running patch with /Library/Ruby/Gems/2.0.0/gems/nokogiri-1.6.5/ports/patches/libxslt/0009-Fix-certain-patterns-with-predicates.patch... Running 'patch' for libxslt 1.1.28... OK Running patch with /Library/Ruby/Gems/2.0.0/gems/nokogiri-1.6.5/ports/patches/libxslt/0010-Fix-handling-of-UTF-8-strings-in-EXSLT-crypto-module.patch... Running 'patch' for libxslt 1.1.28... OK Running patch with /Library/Ruby/Gems/2.0.0/gems/nokogiri-1.6.5/ports/patches/libxslt/0013-Memory-leak-in-xsltCompileIdKeyPattern-error-path.patch... Running 'patch' for libxslt 1.1.28... OK Running patch with /Library/Ruby/Gems/2.0.0/gems/nokogiri-1.6.5/ports/patches/libxslt/0014-Fix-for-bug-436589.patch... Running 'patch' for libxslt 1.1.28... OK Running patch with /Library/Ruby/Gems/2.0.0/gems/nokogiri-1.6.5/ports/patches/libxslt/0015-Fix-mkdir-for-mingw.patch... Running 'patch' for libxslt 1.1.28... OK Running 'configure' for libxslt 1.1.28... OK Running 'compile' for libxslt 1.1.28... OK Running 'install' for libxslt 1.1.28... OK Activating libxslt 1.1.28 (from /Library/Ruby/Gems/2.0.0/gems/nokogiri-1.6.5/ports/x86_64-apple-darwin13/libxslt/1.1.28)... checking for main() in -llzma... yes checking for xmlParseDoc() in libxml/parser.h... no checking for xmlParseDoc() in -lxml2... no

checking for xmlParseDoc() in -llibxml2... no

libxml2 is missing. Please locate mkmf.log to investigate how it is failing.

* extconf.rb failed * Could not create Makefile due to some reason, probably lack of necessary libraries and/or headers. Check the mkmf.log file for more details. You may need configuration options.

Provided configuration options: --with-opt-dir --without-opt-dir --with-opt-include --without-opt-include=${opt-dir}/include --with-opt-lib --without-opt-lib=${opt-dir}/lib --with-make-prog --without-make-prog --srcdir=. --curdir --ruby=/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby --help --clean --use-system-libraries --enable-static --disable-static --with-zlib-dir --without-zlib-dir --with-zlib-include --without-zlib-include=${zlib-dir}/include --with-zlib-lib --without-zlib-lib=${zlib-dir}/lib --enable-cross-build --disable-cross-build --with-xml2lib --without-xml2lib --with-libxml2lib --without-libxml2lib

ghost commented 9 years ago

"xcrun clang -o conftest -I/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/include/ruby-2.0.0/universal-darwin14 -I/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/include/ruby-2.0.0/ruby/backward -I/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/include/ruby-2.0.0 -I. -I/Library/Ruby/Gems/2.0.0/gems/nokogiri-1.6.6.2/ports/x86_64-apple-darwin14/libxslt/1.1.28/include -I/Library/Ruby/Gems/2.0.0/gems/nokogiri-1.6.6.2/ports/x86_64-apple-darwin14/libxml2/2.9.2/include/libxml2 -I/Library/Ruby/Gems/2.0.0/gems/nokogiri-1.6.6.2/ports/x86_64-apple-darwin14/libxml2/2.9.2/include/libxml2 -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -DNOKOGIRI_LIBXML2_PATH\=\"/Library/Ruby/Gems/2.0.0/gems/nokogiri-1.6.6.2/ports/x86_64-apple-darwin14/libxml2/2.9.2\" -DNOKOGIRI_LIBXML2_PATCHES\=\"0001-Revert-Missing-initialization-for-the-catalog-module.patch\ 0002-Fix-missing-entities-after-CVE-2014-3660-fix.patch\" -DNOKOGIRI_LIBXSLT_PATH\=\"/Library/Ruby/Gems/2.0.0/gems/nokogiri-1.6.6.2/ports/x86_64-apple-darwin14/libxslt/1.1.28\" -DNOKOGIRI_LIBXSLT_PATCHES\=\"0001-Adding-doc-update-related-to-1.1.28.patch\ 0002-Fix-a-couple-of-places-where-f-printf-parameters-wer.patch\ 0003-Initialize-pseudo-random-number-generator-with-curre.patch\ 0004-EXSLT-function-str-replace-is-broken-as-is.patch\ 0006-Fix-str-padding-to-work-with-UTF-8-strings.patch\ 0007-Separate-function-for-predicate-matching-in-patterns.patch\ 0008-Fix-direct-pattern-matching.patch\ 0009-Fix-certain-patterns-with-predicates.patch\ 0010-Fix-handling-of-UTF-8-strings-in-EXSLT-crypto-module.patch\ 0013-Memory-leak-in-xsltCompileIdKeyPattern-error-path.patch\ 0014-Fix-for-bug-436589.patch\ 0015-Fix-mkdir-for-mingw.patch\" -g -Os -pipe -DHAVE_GCC_SYNC_BUILTINS -DNOKOGIRI_USE_PACKAGED_LIBRARIES conftest.c -L. -L/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib -L/Library/Ruby/Gems/2.0.0/gems/nokogiri-1.6.6.2/ports/x86_64-apple-darwin14/libxml2/2.9.2/lib -L/Library/Ruby/Gems/2.0.0/gems/nokogiri-1.6.6.2/ports/x86_64-apple-darwin14/libxslt/1.1.28/lib -L. -L/usr/local/lib -arch x86_64 -arch i386 /Library/Ruby/Gems/2.0.0/gems/nokogiri-1.6.6.2/ports/x86_64-apple-darwin14/libxslt/1.1.28/lib/libexslt.a -lm -liconv -lpthread -lz /Library/Ruby/Gems/2.0.0/gems/nokogiri-1.6.6.2/ports/x86_64-apple-darwin14/libxml2/2.9.2/lib/libxml2.a /Library/Ruby/Gems/2.0.0/gems/nokogiri-1.6.6.2/ports/x86_64-apple-darwin14/libxslt/1.1.28/lib/libxslt.a -lm -liconv -lpthread -lz /Library/Ruby/Gems/2.0.0/gems/nokogiri-1.6.6.2/ports/x86_64-apple-darwin14/libxml2/2.9.2/lib/libxml2.a -llzma -lruby.2.0.0 -llibxml2 /Library/Ruby/Gems/2.0.0/gems/nokogiri-1.6.6.2/ports/x86_64-apple-darwin14/libxslt/1.1.28/lib/libexslt.a -lm -liconv -lpthread -lz /Library/Ruby/Gems/2.0.0/gems/nokogiri-1.6.6.2/ports/x86_64-apple-darwin14/libxml2/2.9.2/lib/libxml2.a /Library/Ruby/Gems/2.0.0/gems/nokogiri-1.6.6.2/ports/x86_64-apple-darwin14/libxslt/1.1.28/lib/libxslt.a -lm -liconv -lpthread -lz /Library/Ruby/Gems/2.0.0/gems/nokogiri-1.6.6.2/ports/x86_64-apple-darwin14/libxml2/2.9.2/lib/libxml2.a -llzma -lpthread -ldl -lobjc " conftest.c:7:27: error: too few arguments to function call, single argument 'cur' was not specified int t(void) { xmlParseDoc(); return 0; }


/Library/Ruby/Gems/2.0.0/gems/nokogiri-1.6.6.2/ports/x86_64-apple-darwin14/libxml2/2.9.2/include/libxml2/libxml/parser.h:841:11: note: 'xmlParseDoc' declared here
XMLPUBFUN xmlDocPtr XMLCALL
          ^
1 error generated.
checked program was:
/\* begin _/
 1: #include "ruby.h"
 2: 
 3: #include <libxml/parser.h>
 4: 
 5: /_top_/
 6: extern int t(void);
 7: int t(void) { xmlParseDoc(); return 0; }
 8: int main(int argc, char *_argv)
 9: {
10:   if (argc > 1000000) {
11:     printf("%p", &t);
12:   }
13: 
14:   return 0;
15: }
/\* end */

---
adamwaite commented 9 years ago

This isn't formatted well enough to warrant me blowing time helping. If it's still an issue, create a new issue and provide detail in a readable format. Thanks.