Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cocoapods install failed #45

Closed
xx11dragon opened this issue Mar 30, 2018 · 9 comments
Closed

Cocoapods install failed #45

xx11dragon opened this issue Mar 30, 2018 · 9 comments

Comments

@xx11dragon
Copy link

xx11dragon commented Mar 30, 2018

OSX Version: 10.13.3 (17D102)
Xcode Version: 9.2 (9C40b)
Cocoapods Version : 1.3.1

Step:

  1. $brew install autoconf automake
Updating Homebrew...
==> Auto-updated Homebrew!
Updated 1 tap (homebrew/core).
==> Updated Formulae
node ✔              node@4              pandoc-crossref     sysdig
artifactory         node@6              pipenv              unyaffs
coffeescript        node@8              pre-commit          vim
libusb              open-mpi            python              vim@7.4
metabase            osquery             sip

Warning: autoconf 2.69 is already installed
Warning: automake 1.16.1 is already installed
  1. Create empty project.
  2. make Profile.
    platform :ios, '10.0'

    target 'BitcoinKitDemo' do
    use_frameworks!
    pod 'BitcoinKit'
    end
  1. $pod install.
Installing BitcoinKit (0.1.2)
[!] /bin/bash -c 
set -e
sh setup/build_libraries.sh

glibtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'build-aux'.
glibtoolize: copying file 'build-aux/ltmain.sh'
glibtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'build-aux/m4'.
glibtoolize: copying file 'build-aux/m4/libtool.m4'
glibtoolize: copying file 'build-aux/m4/ltoptions.m4'
glibtoolize: copying file 'build-aux/m4/ltsugar.m4'
glibtoolize: copying file 'build-aux/m4/ltversion.m4'
glibtoolize: copying file 'build-aux/m4/lt~obsolete.m4'
checking build system type... x86_64-apple-darwin17.4.0
checking host system type... x86_64-apple-darwin
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for x86_64-apple-darwin-strip... no
checking for strip... strip
checking for a thread-safe mkdir -p... build-aux/install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking how to print strings... printf
checking whether make supports the include directive... yes (GNU style)
checking for x86_64-apple-darwin-gcc... /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... yes
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang accepts -g... yes
checking for /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang option to accept ISO C89... none needed
checking whether /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang understands -c and -o together... yes
checking dependency style of /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang... gcc3
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang... /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld
checking if the linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) is GNU ld... no
checking for BSD- or MS-compatible name lister (nm)... no
checking for x86_64-apple-darwin-dumpbin... no
checking for x86_64-apple-darwin-link... no
checking for dumpbin... no
checking for link... link -dump
checking the name lister (nm) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 196608
checking how to convert x86_64-apple-darwin17.4.0 file names to x86_64-apple-darwin format... func_convert_file_noop
checking how to convert x86_64-apple-darwin17.4.0 file names to toolchain format... func_convert_file_noop
checking for /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld option to reload object files... -r
checking for x86_64-apple-darwin-objdump... no
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for x86_64-apple-darwin-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for x86_64-apple-darwin-ar... no
checking for ar... ar
checking for archiver @FILE support... no
checking for x86_64-apple-darwin-strip... strip
checking for x86_64-apple-darwin-ranlib... no
checking for ranlib... ranlib
checking command to parse nm output from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for x86_64-apple-darwin-mt... no
checking for mt... no
checking if : is a manifest tool... no
checking for x86_64-apple-darwin-dsymutil... no
checking for dsymutil... dsymutil
checking for x86_64-apple-darwin-nmedit... no
checking for nmedit... nmedit
checking for x86_64-apple-darwin-lipo... no
checking for lipo... lipo
checking for x86_64-apple-darwin-otool... no
checking for otool... otool
checking for x86_64-apple-darwin-otool64... no
checking for otool64... no
checking for -single_module linker flag... yes
checking for -exported_symbols_list linker flag... yes
checking for -force_load linker flag... yes
checking how to run the C preprocessor... /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang supports -fno-rtti -fno-exceptions... yes
checking for /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang option to produce PIC... -fno-common -DPIC
checking if /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang PIC flag -fno-common -DPIC works... yes
checking if /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang static flag -static works... no
checking if /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang supports -c -o file.o... yes
checking if /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang supports -c -o file.o... (cached) yes
checking whether the /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin dyld
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking whether make supports nested variables... (cached) yes
checking for x86_64-apple-darwin-pkg-config... no
checking for pkg-config... /usr/local/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for x86_64-apple-darwin-ar... no
checking for ar... /usr/bin/ar
checking for x86_64-apple-darwin-ranlib... no
checking for ranlib... /usr/bin/ranlib
checking for x86_64-apple-darwin-strip... no
checking for strip... /usr/bin/strip
checking for gcc... gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking dependency style of gcc... (cached) gcc3
checking how to run the C preprocessor... gcc -E
checking for /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang option to accept ISO C89... (cached) none needed
checking dependency style of /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang... gcc3
checking if /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang supports -std=c89 -pedantic -Wall -Wextra -Wcast-align -Wnested-externs -Wshadow -Wstrict-prototypes -Wno-unused-function -Wno-long-long -Wno-overlength-strings... yes
checking if /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang supports -fvisibility=hidden... yes
checking for __int128... no
checking for __builtin_expect... yes
checking native compiler: gcc... gcc does not produce working binaries. Please set CC_FOR_BUILD
checking for x86_64 assembly availability... no
checking gmp.h usability... no
checking gmp.h presence... no
checking for gmp.h... no
checking for libcrypto... no
checking openssl/crypto.h usability... no
checking openssl/crypto.h presence... no
checking for openssl/crypto.h... no
checking whether byte ordering is bigendian... universal
configure: Using static precomputation: no
configure: Using assembly optimizations: no
configure: Using field implementation: 32bit
configure: Using bignum implementation: no
configure: Using scalar implementation: 32bit
configure: Using endomorphism optimizations: no
configure: Building benchmarks: yes
configure: Building for coverage analysis: no
configure: Building ECDH module: no
configure: Building ECDSA pubkey recovery module: no
configure: Using jni: no
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating libsecp256k1.pc
config.status: creating src/libsecp256k1-config.h
config.status: executing depfiles commands
config.status: executing libtool commands
  CC       src/bench_verify.o
  CC       src/libsecp256k1_la-secp256k1.lo
  CCLD     libsecp256k1.la
  CCLD     bench_verify
  CC       src/bench_sign.o
  CCLD     bench_sign
  CC       src/bench_internal-bench_internal.o
  CCLD     bench_internal
  CC       src/bench_ecmult-bench_ecmult.o
  CCLD     bench_ecmult
  CC       src/tests-tests.o
  CCLD     tests
  CC       src/exhaustive_tests-tests_exhaustive.o
  CCLD     exhaustive_tests
 build-aux/install-sh -c -d '/var/folders/y3/n5fmrpgd0915mjx4mqfj4lvh0000gn/T/tmp.kokP8Bfr/.build/iphoneos/lib'
 /bin/sh ./libtool   --mode=install /usr/bin/install -c   libsecp256k1.la '/var/folders/y3/n5fmrpgd0915mjx4mqfj4lvh0000gn/T/tmp.kokP8Bfr/.build/iphoneos/lib'
libtool: install: /usr/bin/install -c .libs/libsecp256k1.0.dylib /var/folders/y3/n5fmrpgd0915mjx4mqfj4lvh0000gn/T/tmp.kokP8Bfr/.build/iphoneos/lib/libsecp256k1.0.dylib
libtool: install: (cd /var/folders/y3/n5fmrpgd0915mjx4mqfj4lvh0000gn/T/tmp.kokP8Bfr/.build/iphoneos/lib && { ln -s -f libsecp256k1.0.dylib libsecp256k1.dylib || { rm -f libsecp256k1.dylib && ln -s libsecp256k1.0.dylib libsecp256k1.dylib; }; })
libtool: install: /usr/bin/install -c .libs/libsecp256k1.lai /var/folders/y3/n5fmrpgd0915mjx4mqfj4lvh0000gn/T/tmp.kokP8Bfr/.build/iphoneos/lib/libsecp256k1.la
libtool: install: /usr/bin/install -c .libs/libsecp256k1.a /var/folders/y3/n5fmrpgd0915mjx4mqfj4lvh0000gn/T/tmp.kokP8Bfr/.build/iphoneos/lib/libsecp256k1.a
libtool: install: chmod 644 /var/folders/y3/n5fmrpgd0915mjx4mqfj4lvh0000gn/T/tmp.kokP8Bfr/.build/iphoneos/lib/libsecp256k1.a
libtool: install: /usr/bin/ranlib /var/folders/y3/n5fmrpgd0915mjx4mqfj4lvh0000gn/T/tmp.kokP8Bfr/.build/iphoneos/lib/libsecp256k1.a
 build-aux/install-sh -c -d '/var/folders/y3/n5fmrpgd0915mjx4mqfj4lvh0000gn/T/tmp.kokP8Bfr/.build/iphoneos/include'
 /usr/bin/install -c -m 644 include/secp256k1.h '/var/folders/y3/n5fmrpgd0915mjx4mqfj4lvh0000gn/T/tmp.kokP8Bfr/.build/iphoneos/include'
 build-aux/install-sh -c -d '/var/folders/y3/n5fmrpgd0915mjx4mqfj4lvh0000gn/T/tmp.kokP8Bfr/.build/iphoneos/lib/pkgconfig'
 /usr/bin/install -c -m 644 libsecp256k1.pc '/var/folders/y3/n5fmrpgd0915mjx4mqfj4lvh0000gn/T/tmp.kokP8Bfr/.build/iphoneos/lib/pkgconfig'
checking build system type... x86_64-apple-darwin17.4.0
checking host system type... arm-apple-darwin
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for arm-apple-darwin-strip... no
checking for strip... strip
checking for a thread-safe mkdir -p... build-aux/install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking how to print strings... printf
checking whether make supports the include directive... yes (GNU style)
checking for arm-apple-darwin-gcc... /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... yes
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang accepts -g... yes
checking for /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang option to accept ISO C89... none needed
checking whether /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang understands -c and -o together... yes
checking dependency style of /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang... gcc3
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang... /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld
checking if the linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) is GNU ld... no
checking for BSD- or MS-compatible name lister (nm)... no
checking for arm-apple-darwin-dumpbin... no
checking for arm-apple-darwin-link... no
checking for dumpbin... no
checking for link... link -dump
checking the name lister (nm) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 196608
checking how to convert x86_64-apple-darwin17.4.0 file names to arm-apple-darwin format... func_convert_file_noop
checking how to convert x86_64-apple-darwin17.4.0 file names to toolchain format... func_convert_file_noop
checking for /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld option to reload object files... -r
checking for arm-apple-darwin-objdump... no
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for arm-apple-darwin-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for arm-apple-darwin-ar... no
checking for ar... ar
checking for archiver @FILE support... no
checking for arm-apple-darwin-strip... strip
checking for arm-apple-darwin-ranlib... no
checking for ranlib... ranlib
checking command to parse nm output from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for arm-apple-darwin-mt... no
checking for mt... no
checking if : is a manifest tool... no
checking for arm-apple-darwin-dsymutil... no
checking for dsymutil... dsymutil
checking for arm-apple-darwin-nmedit... no
checking for nmedit... nmedit
checking for arm-apple-darwin-lipo... no
checking for lipo... lipo
checking for arm-apple-darwin-otool... no
checking for otool... otool
checking for arm-apple-darwin-otool64... no
checking for otool64... no
checking for -single_module linker flag... yes
checking for -exported_symbols_list linker flag... yes
checking for -force_load linker flag... yes
checking how to run the C preprocessor... /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang supports -fno-rtti -fno-exceptions... yes
checking for /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang option to produce PIC... -fno-common -DPIC
checking if /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang PIC flag -fno-common -DPIC works... yes
checking if /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang static flag -static works... no
checking if /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang supports -c -o file.o... yes
checking if /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang supports -c -o file.o... (cached) yes
checking whether the /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin dyld
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking whether make supports nested variables... (cached) yes
checking for arm-apple-darwin-pkg-config... no
checking for pkg-config... /usr/local/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for arm-apple-darwin-ar... no
checking for ar... /usr/bin/ar
checking for arm-apple-darwin-ranlib... no
checking for ranlib... /usr/bin/ranlib
checking for arm-apple-darwin-strip... no
checking for strip... /usr/bin/strip
checking for gcc... gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking dependency style of gcc... (cached) gcc3
checking how to run the C preprocessor... gcc -E
checking for /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang option to accept ISO C89... (cached) none needed
checking dependency style of /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang... gcc3
checking if /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang supports -std=c89 -pedantic -Wall -Wextra -Wcast-align -Wnested-externs -Wshadow -Wstrict-prototypes -Wno-unused-function -Wno-long-long -Wno-overlength-strings... yes
checking if /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang supports -fvisibility=hidden... yes
checking for __int128... no
checking for __builtin_expect... yes
checking native compiler: gcc... gcc does not produce working binaries. Please set CC_FOR_BUILD
checking for x86_64 assembly availability... no
checking gmp.h usability... no
checking gmp.h presence... no
checking for gmp.h... no
checking for libcrypto... no
checking openssl/crypto.h usability... no
checking openssl/crypto.h presence... no
checking for openssl/crypto.h... no
checking whether byte ordering is bigendian... no
configure: Using static precomputation: no
configure: Using assembly optimizations: no
configure: Using field implementation: 32bit
configure: Using bignum implementation: no
configure: Using scalar implementation: 32bit
configure: Using endomorphism optimizations: no
configure: Building benchmarks: yes
configure: Building for coverage analysis: no
configure: Building ECDH module: no
configure: Building ECDSA pubkey recovery module: no
configure: Using jni: no
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating libsecp256k1.pc
config.status: creating src/libsecp256k1-config.h
config.status: executing depfiles commands
config.status: executing libtool commands
  CC       src/bench_verify.o
  CC       src/libsecp256k1_la-secp256k1.lo
  CCLD     libsecp256k1.la
  CCLD     bench_verify
  CC       src/bench_sign.o
  CCLD     bench_sign
  CC       src/bench_internal-bench_internal.o
  CCLD     bench_internal
  CC       src/bench_ecmult-bench_ecmult.o
  CCLD     bench_ecmult
  CC       src/tests-tests.o
  CCLD     tests
  CC       src/exhaustive_tests-tests_exhaustive.o
  CCLD     exhaustive_tests
 build-aux/install-sh -c -d '/var/folders/y3/n5fmrpgd0915mjx4mqfj4lvh0000gn/T/tmp.kokP8Bfr/.build/iphonesimulator/lib'
 /bin/sh ./libtool   --mode=install /usr/bin/install -c   libsecp256k1.la '/var/folders/y3/n5fmrpgd0915mjx4mqfj4lvh0000gn/T/tmp.kokP8Bfr/.build/iphonesimulator/lib'
libtool: install: /usr/bin/install -c .libs/libsecp256k1.0.dylib /var/folders/y3/n5fmrpgd0915mjx4mqfj4lvh0000gn/T/tmp.kokP8Bfr/.build/iphonesimulator/lib/libsecp256k1.0.dylib
libtool: install: (cd /var/folders/y3/n5fmrpgd0915mjx4mqfj4lvh0000gn/T/tmp.kokP8Bfr/.build/iphonesimulator/lib && { ln -s -f libsecp256k1.0.dylib libsecp256k1.dylib || { rm -f libsecp256k1.dylib && ln -s libsecp256k1.0.dylib libsecp256k1.dylib; }; })
libtool: install: /usr/bin/install -c .libs/libsecp256k1.lai /var/folders/y3/n5fmrpgd0915mjx4mqfj4lvh0000gn/T/tmp.kokP8Bfr/.build/iphonesimulator/lib/libsecp256k1.la
libtool: install: /usr/bin/install -c .libs/libsecp256k1.a /var/folders/y3/n5fmrpgd0915mjx4mqfj4lvh0000gn/T/tmp.kokP8Bfr/.build/iphonesimulator/lib/libsecp256k1.a
libtool: install: chmod 644 /var/folders/y3/n5fmrpgd0915mjx4mqfj4lvh0000gn/T/tmp.kokP8Bfr/.build/iphonesimulator/lib/libsecp256k1.a
libtool: install: /usr/bin/ranlib /var/folders/y3/n5fmrpgd0915mjx4mqfj4lvh0000gn/T/tmp.kokP8Bfr/.build/iphonesimulator/lib/libsecp256k1.a
 build-aux/install-sh -c -d '/var/folders/y3/n5fmrpgd0915mjx4mqfj4lvh0000gn/T/tmp.kokP8Bfr/.build/iphonesimulator/include'
 /usr/bin/install -c -m 644 include/secp256k1.h '/var/folders/y3/n5fmrpgd0915mjx4mqfj4lvh0000gn/T/tmp.kokP8Bfr/.build/iphonesimulator/include'
 build-aux/install-sh -c -d '/var/folders/y3/n5fmrpgd0915mjx4mqfj4lvh0000gn/T/tmp.kokP8Bfr/.build/iphonesimulator/lib/pkgconfig'
 /usr/bin/install -c -m 644 libsecp256k1.pc '/var/folders/y3/n5fmrpgd0915mjx4mqfj4lvh0000gn/T/tmp.kokP8Bfr/.build/iphonesimulator/lib/pkgconfig'
/Users/xx11dragon/Library/Caches/CocoaPods/Pods/Release/BitcoinKit/0.1.2-c2478/setup
++ dirname setup/build_libraries.sh
+ SCRIPT_DIR=setup
+ cd setup
+ sh build_secp256k1.sh
++ dirname build_secp256k1.sh
+ SCRIPT_DIR=.
++ mktemp -d
+ TDIR=/var/folders/y3/n5fmrpgd0915mjx4mqfj4lvh0000gn/T/tmp.kokP8Bfr
+ trap '{ cd - ; rm -rf /var/folders/y3/n5fmrpgd0915mjx4mqfj4lvh0000gn/T/tmp.kokP8Bfr; exit 255; }' SIGINT
+ cd /var/folders/y3/n5fmrpgd0915mjx4mqfj4lvh0000gn/T/tmp.kokP8Bfr
+ git clone https://github.com/bitcoin-core/secp256k1.git src
Cloning into 'src'...
++ pwd
+ CURRENTPATH=/var/folders/y3/n5fmrpgd0915mjx4mqfj4lvh0000gn/T/tmp.kokP8Bfr
+ TARGETDIR_IPHONEOS=/var/folders/y3/n5fmrpgd0915mjx4mqfj4lvh0000gn/T/tmp.kokP8Bfr/.build/iphoneos
+ mkdir -p /var/folders/y3/n5fmrpgd0915mjx4mqfj4lvh0000gn/T/tmp.kokP8Bfr/.build/iphoneos
+ TARGETDIR_SIMULATOR=/var/folders/y3/n5fmrpgd0915mjx4mqfj4lvh0000gn/T/tmp.kokP8Bfr/.build/iphonesimulator
+ mkdir -p /var/folders/y3/n5fmrpgd0915mjx4mqfj4lvh0000gn/T/tmp.kokP8Bfr/.build/iphonesimulator
+ cd src
+ ./autogen.sh
configure.ac:10: installing 'build-aux/compile'
configure.ac:5: installing 'build-aux/config.guess'
configure.ac:5: installing 'build-aux/config.sub'
configure.ac:9: installing 'build-aux/install-sh'
configure.ac:9: installing 'build-aux/missing'
Makefile.am: installing 'build-aux/depcomp'
parallel-tests: installing 'build-aux/test-driver'
+ cd src
++ xcrun -find clang
++ xcrun -sdk iphonesimulator --show-sdk-path
++ xcrun -find clang++
++ xcrun -sdk iphonesimulator --show-sdk-path
+ ./configure --host=x86_64-apple-darwin CC=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang 'CFLAGS=-O3 -arch i386 -arch x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.2.sdk -fembed-bitcode-marker -mios-simulator-version-min=8.0' CXX=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ 'CXXFLAGS=-O3 -arch i386 -arch x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.2.sdk -fembed-bitcode-marker -mios-simulator-version-min=8.0' --prefix=/var/folders/y3/n5fmrpgd0915mjx4mqfj4lvh0000gn/T/tmp.kokP8Bfr/.build/iphoneos
configure: WARNING: using cross tools not prefixed with host triplet
+ make install
ld: warning: -flat_namespace is deprecated on iOS
ld: warning: -flat_namespace is deprecated on iOS
+ cd src
++ xcrun -find clang
++ xcrun -sdk iphoneos --show-sdk-path
++ xcrun -find clang++
++ xcrun -sdk iphoneos --show-sdk-path
+ ./configure --host=arm-apple-darwin CC=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang 'CFLAGS=-O3 -arch armv7 -arch armv7s -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk -fembed-bitcode -mios-version-min=8.0' CXX=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ 'CXXFLAGS=-O3 -arch armv7 -arch armv7s -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk -fembed-bitcode -mios-version-min=8.0' --prefix=/var/folders/y3/n5fmrpgd0915mjx4mqfj4lvh0000gn/T/tmp.kokP8Bfr/.build/iphonesimulator
configure: WARNING: using cross tools not prefixed with host triplet
+ make install
ld: warning: -flat_namespace is deprecated on iOS
ld: warning: -flat_namespace is deprecated on iOS
ld: warning: -flat_namespace is deprecated on iOS
ld: warning: ./.libs/libsecp256k1.dylib has install name beginning with "/" but it is not from the specified SDK
ld: warning: ./.libs/libsecp256k1.dylib has install name beginning with "/" but it is not from the specified SDK
ld: warning: ./.libs/libsecp256k1.dylib has install name beginning with "/" but it is not from the specified SDK
ld: warning: ./.libs/libsecp256k1.dylib has install name beginning with "/" but it is not from the specified SDK
ld: warning: ./.libs/libsecp256k1.dylib has install name beginning with "/" but it is not from the specified SDK
ld: warning: ./.libs/libsecp256k1.dylib has install name beginning with "/" but it is not from the specified SDK
+ cd -
+ mkdir -p ./../Libraries/secp256k1/lib
+ xcrun lipo -create /var/folders/y3/n5fmrpgd0915mjx4mqfj4lvh0000gn/T/tmp.kokP8Bfr/.build/iphoneos/lib/libsecp256k1.a /var/folders/y3/n5fmrpgd0915mjx4mqfj4lvh0000gn/T/tmp.kokP8Bfr/.build/iphonesimulator/lib/libsecp256k1.a -o ./../Libraries/secp256k1/lib/libsecp256k1.a
+ cp -rf /var/folders/y3/n5fmrpgd0915mjx4mqfj4lvh0000gn/T/tmp.kokP8Bfr/src/include ./../Libraries/secp256k1
+ rm -rf /var/folders/y3/n5fmrpgd0915mjx4mqfj4lvh0000gn/T/tmp.kokP8Bfr
+ exit 0
+ cd setup
+ sh build_crypto.sh
++ pwd
++ dirname build_crypto.sh
+ SCRIPT_DIR=/Users/xx11dragon/Library/Caches/CocoaPods/Pods/Release/BitcoinKit/0.1.2-c2478/setup/.
+ OPENSSL_VERSION=1.0.2n
++ mktemp -d
+ TDIR=/var/folders/y3/n5fmrpgd0915mjx4mqfj4lvh0000gn/T/tmp.3bvmgIjk
+ trap '{ cd - ; rm -rf /var/folders/y3/n5fmrpgd0915mjx4mqfj4lvh0000gn/T/tmp.3bvmgIjk; exit 255; }' SIGINT
+ cd /var/folders/y3/n5fmrpgd0915mjx4mqfj4lvh0000gn/T/tmp.3bvmgIjk
+ curl -O https://www.openssl.org/source/openssl-1.0.2n.tar.gz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   352  100   352    0     0   1675      0 --:--:-- --:--:-- --:--:--  1676
+ tar zxf openssl-1.0.2n.tar.gz
tar: Unrecognized archive format
tar: Error exit delayed from previous errors.

I not found reason...

@xx11dragon xx11dragon changed the title Cocoapod install failed Cocoapods install failed Mar 30, 2018
@Smiacter
Copy link

How did you fix this issue? @xx11dragon

@xx11dragon
Copy link
Author

@Smiacter 我用了别的库...

@Smiacter
Copy link

用的什么库啊,分享一下 @xx11dragon

@xx11dragon
Copy link
Author

coreBitcoin @Smiacter

@Smiacter
Copy link

嗯 我也看过那个 但是我Swift pod安装也出问题 @xx11dragon

@xx11dragon
Copy link
Author

xx11dragon commented Apr 26, 2018

如果你用的swift创建的项目 在podfile 删除掉 use_framework!
重新pod install @Smiacter

@Smiacter
Copy link

好的 谢谢 我试一下 @xx11dragon

@Li-Qun
Copy link

Li-Qun commented Nov 5, 2018

我是OC swift混合 OC创建的工程 刚刚也遇到了同样的问题。还没解决,怎么这个库使用的门槛这么高,求教有经验的小哥哥@Smiacter @xx11dragon

@Smiacter
Copy link

Smiacter commented Nov 7, 2018

我听从了 @xx11dragon 的建议用的CoreBitcoin这个库,这个库是用OC写的,你工程是OC的话,这个库应该很适合你 @Li-Qun

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants