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

Pod install fails #259

Closed
UOCecalero opened this issue Feb 14, 2021 · 1 comment
Closed

Pod install fails #259

UOCecalero opened this issue Feb 14, 2021 · 1 comment

Comments

@UOCecalero
Copy link

UOCecalero commented Feb 14, 2021

Current behavior

Pod instalation failed

[!] /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... 
++ 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/h2/ms1p92x928711qnttxrj19140000gn/T/tmp.cYKQ6Dv0
+ trap '{ cd - ; rm -rf /var/folders/h2/ms1p92x928711qnttxrj19140000gn/T/tmp.cYKQ6Dv0; exit 255; }' SIGINT
+ cd /var/folders/h2/ms1p92x928711qnttxrj19140000gn/T/tmp.cYKQ6Dv0
+ git clone https://github.com/bitcoin-core/secp256k1.git src
Cloning into 'src'...
++ pwd
+ CURRENTPATH=/var/folders/h2/ms1p92x928711qnttxrj19140000gn/T/tmp.cYKQ6Dv0
+ TARGETDIR_IPHONEOS=/var/folders/h2/ms1p92x928711qnttxrj19140000gn/T/tmp.cYKQ6Dv0/.build/iphoneos
+ mkdir -p /var/folders/h2/ms1p92x928711qnttxrj19140000gn/T/tmp.cYKQ6Dv0/.build/iphoneos
+ TARGETDIR_SIMULATOR=/var/folders/h2/ms1p92x928711qnttxrj19140000gn/T/tmp.cYKQ6Dv0/.build/iphonesimulator
+ mkdir -p /var/folders/h2/ms1p92x928711qnttxrj19140000gn/T/tmp.cYKQ6Dv0/.build/iphonesimulator
+ cd src
+ ./autogen.sh
configure.ac:15: 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 11.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang 'CFLAGS=-O3 -arch i386 -arch x86_64 -isysroot /Applications/Xcode 11.1.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk -fembed-bitcode-marker -mios-simulator-version-min=8.0' CXX=/Applications/Xcode 11.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ 'CXXFLAGS=-O3 -arch i386 -arch x86_64 -isysroot /Applications/Xcode 11.1.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk -fembed-bitcode-marker -mios-simulator-version-min=8.0' --prefix=/var/folders/h2/ms1p92x928711qnttxrj19140000gn/T/tmp.cYKQ6Dv0/.build/iphoneos
configure: WARNING: you should use --build, --host, --target
configure: WARNING: invalid host type: 11.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang
configure: WARNING: you should use --build, --host, --target
configure: WARNING: invalid host type: 11.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++
Invalid configuration `11.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang': machine `11.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-unknown' not recognized
configure: error: /bin/sh build-aux/config.sub 11.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang failed

Expected behavior

Successful pod installation

Steps to reproduce

  1. Run pod install

Environment

  • BitcoinKit: 1.1.0
  • Xcode Version: 1.1 (11A1027)
  • Swift Version: 5.0
@UOCecalero
Copy link
Author

UOCecalero commented Mar 30, 2021

Duplicate of #255

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

1 participant