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 总是报错 #288

Open
OvergrowthZhang opened this issue Aug 14, 2024 · 0 comments
Open

pod install 总是报错 #288

OvergrowthZhang opened this issue Aug 14, 2024 · 0 comments

Comments

@OvergrowthZhang
Copy link

Current behavior

Expected behavior

Steps to reproduce

  1. source 'https://github.com/CocoaPods/Specs.git'
    platform :ios, '11.0'
    use_modular_headers!
    use_frameworks!
    target 'TestBicCoin' do

pod "CoreBitcoin"
pod 'BitcoinKit', '~> 1.1.0'
end

  1. 执行pod install 报错如下
  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-darwin23.5.0
checking host system type... x86_64-apple-darwin
checking for a BSD-compatible install... /usr/bin/install -c
checking whether sleep supports fractional seconds... yes
checking filesystem timestamp resolution... 2
checking whether build environment is sane... yes
checking for x86_64-apple-darwin-strip... no
checking for strip... strip
checking for a race-free mkdir -p... mkdir -p
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 xargs -n works... yes
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 the compiler supports GNU C... 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 enable C11 features... none needed
checking whether /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang understands -c and -o together... yes
checking whether make supports the include directive... yes (GNU style)
checking dependency style of /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang... gcc3
checking dependency style of /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang... gcc3
checking for x86_64-apple-darwin-ar... no
checking for x86_64-apple-darwin-lib... no
checking for x86_64-apple-darwin-link... no
checking for ar... ar
checking the archiver (ar) interface... ar
checking how to print strings... printf
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... 786432
checking how to convert x86_64-apple-darwin23.5.0 file names to x86_64-apple-darwin format... func_convert_file_noop
checking how to convert x86_64-apple-darwin23.5.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-file... no
checking for file... file
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... 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... ld: warning: -single_module is obsolete
ld: warning: -single_module is obsolete
no
checking for -exported_symbols_list linker flag... yes
checking for -force_load linker flag... yes
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.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 if /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang supports -Werror... yes
checking if /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang supports -std=c89 -pedantic -Wno-long-long -Wnested-externs -Wshadow -Wstrict-prototypes -Wundef... yes
checking if /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang supports -Wno-overlength-strings... yes
checking if /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang supports -Wall... yes
checking if /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang supports -Wno-unused-function... yes
checking if /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang supports -Wextra... yes
checking if /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang supports -Wcast-align... yes
checking if /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang supports -Wcast-align=strict... no
checking if /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang supports -Wconditional-uninitialized... yes
checking if /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang supports -Wreserved-identifier... yes
checking if /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang supports -fvisibility=hidden... yes
checking for valgrind support...
checking for x86_64 assembly availability... 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: executing depfiles commands
config.status: executing libtool commands

Build Options:
with external callbacks = no
with benchmarks = yes
with tests = yes
with ctime tests = no
with coverage = no
with examples = no
module ecdh = yes
module recovery = no
module extrakeys = yes
module schnorrsig = yes
module ellswift = yes

asm = no
ecmult window size = 15
ecmult gen table size = 86 KiB

valgrind = no
CC = /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang
CPPFLAGS =
SECP_CFLAGS = -O2 -std=c89 -pedantic -Wno-long-long -Wnested-externs -Wshadow -Wstrict-prototypes -Wundef -Wno-overlength-strings -Wall -Wno-unused-function -Wextra -Wcast-align -Wconditional-uninitialized -Wreserved-identifier -fvisibility=hidden
CFLAGS = -O3 -arch i386 -arch x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator17.5.sdk -fembed-bitcode-marker -mios-simulator-version-min=8.0
LDFLAGS =
/Applications/Xcode.app/Contents/Developer/usr/bin/make install-am
CC src/bench-bench.o
CC src/libsecp256k1_la-secp256k1.lo
CC src/libsecp256k1_precomputed_la-precomputed_ecmult.lo
CC src/libsecp256k1_precomputed_la-precomputed_ecmult_gen.lo
CCLD libsecp256k1_precomputed.la
CCLD libsecp256k1.la
CCLD bench
CC src/bench_internal-bench_internal.o
CCLD bench_internal
CC src/bench_ecmult-bench_ecmult.o
CCLD bench_ecmult
CC src/noverify_tests-tests.o
CCLD noverify_tests
CC src/tests-tests.o
CCLD tests
CC src/exhaustive_tests-tests_exhaustive.o
CCLD exhaustive_tests
mkdir -p '/var/folders/yl/b8w20_hn6qz36sp15ww3tm880000gn/T/tmp.PgIZzyowse/.build/iphoneos/lib'
/bin/sh ./libtool --mode=install /usr/bin/install -c libsecp256k1.la '/var/folders/yl/b8w20_hn6qz36sp15ww3tm880000gn/T/tmp.PgIZzyowse/.build/iphoneos/lib'
libtool: install: /usr/bin/install -c .libs/libsecp256k1.2.dylib /var/folders/yl/b8w20_hn6qz36sp15ww3tm880000gn/T/tmp.PgIZzyowse/.build/iphoneos/lib/libsecp256k1.2.dylib
libtool: install: (cd /var/folders/yl/b8w20_hn6qz36sp15ww3tm880000gn/T/tmp.PgIZzyowse/.build/iphoneos/lib && { ln -s -f libsecp256k1.2.dylib libsecp256k1.dylib || { rm -f libsecp256k1.dylib && ln -s libsecp256k1.2.dylib libsecp256k1.dylib; }; })
libtool: install: /usr/bin/install -c .libs/libsecp256k1.lai /var/folders/yl/b8w20_hn6qz36sp15ww3tm880000gn/T/tmp.PgIZzyowse/.build/iphoneos/lib/libsecp256k1.la
libtool: install: /usr/bin/install -c .libs/libsecp256k1.a /var/folders/yl/b8w20_hn6qz36sp15ww3tm880000gn/T/tmp.PgIZzyowse/.build/iphoneos/lib/libsecp256k1.a
libtool: install: chmod 644 /var/folders/yl/b8w20_hn6qz36sp15ww3tm880000gn/T/tmp.PgIZzyowse/.build/iphoneos/lib/libsecp256k1.a
libtool: install: ranlib /var/folders/yl/b8w20_hn6qz36sp15ww3tm880000gn/T/tmp.PgIZzyowse/.build/iphoneos/lib/libsecp256k1.a
mkdir -p '/var/folders/yl/b8w20_hn6qz36sp15ww3tm880000gn/T/tmp.PgIZzyowse/.build/iphoneos/include'
/usr/bin/install -c -m 644 include/secp256k1.h include/secp256k1_preallocated.h include/secp256k1_ecdh.h include/secp256k1_extrakeys.h include/secp256k1_schnorrsig.h include/secp256k1_ellswift.h '/var/folders/yl/b8w20_hn6qz36sp15ww3tm880000gn/T/tmp.PgIZzyowse/.build/iphoneos/include'
mkdir -p '/var/folders/yl/b8w20_hn6qz36sp15ww3tm880000gn/T/tmp.PgIZzyowse/.build/iphoneos/lib/pkgconfig'
/usr/bin/install -c -m 644 libsecp256k1.pc '/var/folders/yl/b8w20_hn6qz36sp15ww3tm880000gn/T/tmp.PgIZzyowse/.build/iphoneos/lib/pkgconfig'
checking build system type... x86_64-apple-darwin23.5.0
checking host system type... arm-apple-darwin
checking for a BSD-compatible install... /usr/bin/install -c
checking whether sleep supports fractional seconds... yes
checking filesystem timestamp resolution... 2
checking whether build environment is sane... yes
checking for arm-apple-darwin-strip... no
checking for strip... strip
checking for a race-free mkdir -p... mkdir -p
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 xargs -n works... yes
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 the compiler supports GNU C... 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 enable C11 features... none needed
checking whether /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang understands -c and -o together... yes
checking whether make supports the include directive... yes (GNU style)
checking dependency style of /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang... gcc3
checking dependency style of /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang... gcc3
checking for arm-apple-darwin-ar... no
checking for arm-apple-darwin-lib... no
checking for arm-apple-darwin-link... no
checking for ar... ar
checking the archiver (ar) interface... ar
checking how to print strings... printf
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... 786432
checking how to convert x86_64-apple-darwin23.5.0 file names to arm-apple-darwin format... func_convert_file_noop
checking how to convert x86_64-apple-darwin23.5.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-file... no
checking for file... file
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... 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... ld: warning: -single_module is obsolete
ld: warning: -single_module is obsolete
ld: warning: -single_module is obsolete
no
checking for -exported_symbols_list linker flag... yes
checking for -force_load linker flag... yes
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.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 if /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang supports -Werror... yes
checking if /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang supports -std=c89 -pedantic -Wno-long-long -Wnested-externs -Wshadow -Wstrict-prototypes -Wundef... yes
checking if /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang supports -Wno-overlength-strings... yes
checking if /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang supports -Wall... yes
checking if /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang supports -Wno-unused-function... yes
checking if /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang supports -Wextra... yes
checking if /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang supports -Wcast-align... yes
checking if /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang supports -Wcast-align=strict... no
checking if /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang supports -Wconditional-uninitialized... yes
checking if /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang supports -Wreserved-identifier... yes
checking if /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang supports -fvisibility=hidden... yes
checking for valgrind support...
checking for x86_64 assembly availability... 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: executing depfiles commands
config.status: executing libtool commands

Build Options:
with external callbacks = no
with benchmarks = yes
with tests = yes
with ctime tests = no
with coverage = no
with examples = no
module ecdh = yes
module recovery = no
module extrakeys = yes
module schnorrsig = yes
module ellswift = yes

asm = no
ecmult window size = 15
ecmult gen table size = 86 KiB

valgrind = no
CC = /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang
CPPFLAGS =
SECP_CFLAGS = -O2 -std=c89 -pedantic -Wno-long-long -Wnested-externs -Wshadow -Wstrict-prototypes -Wundef -Wno-overlength-strings -Wall -Wno-unused-function -Wextra -Wcast-align -Wconditional-uninitialized -Wreserved-identifier -fvisibility=hidden
CFLAGS = -O3 -arch armv7 -arch armv7s -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS17.5.sdk -fembed-bitcode -mios-version-min=8.0
LDFLAGS =
/Applications/Xcode.app/Contents/Developer/usr/bin/make install-am
mkdir -p '/var/folders/yl/b8w20_hn6qz36sp15ww3tm880000gn/T/tmp.PgIZzyowse/.build/iphonesimulator/lib'
/bin/sh ./libtool --mode=install /usr/bin/install -c libsecp256k1.la '/var/folders/yl/b8w20_hn6qz36sp15ww3tm880000gn/T/tmp.PgIZzyowse/.build/iphonesimulator/lib'
libtool: install: /usr/bin/install -c .libs/libsecp256k1.2.dylib /var/folders/yl/b8w20_hn6qz36sp15ww3tm880000gn/T/tmp.PgIZzyowse/.build/iphonesimulator/lib/libsecp256k1.2.dylib
libtool: install: (cd /var/folders/yl/b8w20_hn6qz36sp15ww3tm880000gn/T/tmp.PgIZzyowse/.build/iphonesimulator/lib && { ln -s -f libsecp256k1.2.dylib libsecp256k1.dylib || { rm -f libsecp256k1.dylib && ln -s libsecp256k1.2.dylib libsecp256k1.dylib; }; })
libtool: install: /usr/bin/install -c .libs/libsecp256k1.lai /var/folders/yl/b8w20_hn6qz36sp15ww3tm880000gn/T/tmp.PgIZzyowse/.build/iphonesimulator/lib/libsecp256k1.la
libtool: install: /usr/bin/install -c .libs/libsecp256k1.a /var/folders/yl/b8w20_hn6qz36sp15ww3tm880000gn/T/tmp.PgIZzyowse/.build/iphonesimulator/lib/libsecp256k1.a
libtool: install: chmod 644 /var/folders/yl/b8w20_hn6qz36sp15ww3tm880000gn/T/tmp.PgIZzyowse/.build/iphonesimulator/lib/libsecp256k1.a
libtool: install: ranlib /var/folders/yl/b8w20_hn6qz36sp15ww3tm880000gn/T/tmp.PgIZzyowse/.build/iphonesimulator/lib/libsecp256k1.a
mkdir -p '/var/folders/yl/b8w20_hn6qz36sp15ww3tm880000gn/T/tmp.PgIZzyowse/.build/iphonesimulator/include'
/usr/bin/install -c -m 644 include/secp256k1.h include/secp256k1_preallocated.h include/secp256k1_ecdh.h include/secp256k1_extrakeys.h include/secp256k1_schnorrsig.h include/secp256k1_ellswift.h '/var/folders/yl/b8w20_hn6qz36sp15ww3tm880000gn/T/tmp.PgIZzyowse/.build/iphonesimulator/include'
mkdir -p '/var/folders/yl/b8w20_hn6qz36sp15ww3tm880000gn/T/tmp.PgIZzyowse/.build/iphonesimulator/lib/pkgconfig'
/usr/bin/install -c -m 644 libsecp256k1.pc '/var/folders/yl/b8w20_hn6qz36sp15ww3tm880000gn/T/tmp.PgIZzyowse/.build/iphonesimulator/lib/pkgconfig'
/Users/vj2/Library/Caches/CocoaPods/Pods/Release/BitcoinKit/1.1.0-a8c19/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/yl/b8w20_hn6qz36sp15ww3tm880000gn/T/tmp.PgIZzyowse
  • trap '{ cd - ; rm -rf /var/folders/yl/b8w20_hn6qz36sp15ww3tm880000gn/T/tmp.PgIZzyowse; exit 255; }' SIGINT
  • cd /var/folders/yl/b8w20_hn6qz36sp15ww3tm880000gn/T/tmp.PgIZzyowse
  • git clone https://github.com/bitcoin-core/secp256k1.git src
    Cloning into 'src'...
    ++ pwd
  • CURRENTPATH=/var/folders/yl/b8w20_hn6qz36sp15ww3tm880000gn/T/tmp.PgIZzyowse
  • TARGETDIR_IPHONEOS=/var/folders/yl/b8w20_hn6qz36sp15ww3tm880000gn/T/tmp.PgIZzyowse/.build/iphoneos
  • mkdir -p /var/folders/yl/b8w20_hn6qz36sp15ww3tm880000gn/T/tmp.PgIZzyowse/.build/iphoneos
  • TARGETDIR_SIMULATOR=/var/folders/yl/b8w20_hn6qz36sp15ww3tm880000gn/T/tmp.PgIZzyowse/.build/iphonesimulator
  • mkdir -p /var/folders/yl/b8w20_hn6qz36sp15ww3tm880000gn/T/tmp.PgIZzyowse/.build/iphonesimulator
  • cd src
  • ./autogen.sh
    configure.ac:39: installing 'build-aux/ar-lib'
    configure.ac:37: installing 'build-aux/compile'
    configure.ac:24: installing 'build-aux/config.guess'
    configure.ac:24: installing 'build-aux/config.sub'
    configure.ac:27: installing 'build-aux/install-sh'
    configure.ac:27: 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/iPhoneSimulator17.5.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/iPhoneSimulator17.5.sdk -fembed-bitcode-marker -mios-simulator-version-min=8.0' --prefix=/var/folders/yl/b8w20_hn6qz36sp15ww3tm880000gn/T/tmp.PgIZzyowse/.build/iphoneos
    configure: WARNING: using cross tools not prefixed with host triplet
  • make install
  • 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/iPhoneOS17.5.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/iPhoneOS17.5.sdk -fembed-bitcode -mios-version-min=8.0' --prefix=/var/folders/yl/b8w20_hn6qz36sp15ww3tm880000gn/T/tmp.PgIZzyowse/.build/iphonesimulator
    configure: WARNING: using cross tools not prefixed with host triplet
  • make install
    libtool: warning: remember to run 'libtool --finish /var/folders/yl/b8w20_hn6qz36sp15ww3tm880000gn/T/tmp.PgIZzyowse/.build/iphoneos/lib'
  • cd -
  • mkdir -p ./../Libraries/secp256k1/lib
  • xcrun lipo -create /var/folders/yl/b8w20_hn6qz36sp15ww3tm880000gn/T/tmp.PgIZzyowse/.build/iphoneos/lib/libsecp256k1.a /var/folders/yl/b8w20_hn6qz36sp15ww3tm880000gn/T/tmp.PgIZzyowse/.build/iphonesimulator/lib/libsecp256k1.a -o ./../Libraries/secp256k1/lib/libsecp256k1.a
    fatal error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/lipo: /var/folders/yl/b8w20_hn6qz36sp15ww3tm880000gn/T/tmp.PgIZzyowse/.build/iphoneos/lib/libsecp256k1.a and /var/folders/yl/b8w20_hn6qz36sp15ww3tm880000gn/T/tmp.PgIZzyowse/.build/iphonesimulator/lib/libsecp256k1.a have the same architectures (i386) and can't be in the same fat output file

vj2@VJ2deMBP TestBicCoin % cd /Users/vj2/Downloads/FullyNoded-BitcoinCore-master
vj2@VJ2deMBP FullyNoded-BitcoinCore-master % pod install
Analyzing dependencies
Downloading dependencies
Generating Pods project
Integrating client project
Pod installation complete! There is 1 dependency from the Podfile and 1 total pod installed.

[!] Your project does not explicitly specify the CocoaPods master specs repo. Since CDN is now used as the default, you may safely remove it from your repos directory via pod repo remove master. To suppress this warning please add warn_for_unused_master_specs_repo => false to your Podfile.
vj2@VJ2deMBP FullyNoded-BitcoinCore-master % cd /Users/vj2/Desktop/11111/TestBicCoin
vj2@VJ2deMBP TestBicCoin % pod install
Analyzing dependencies
Downloading dependencies
Installing BitcoinKit (1.1.0)
[!] /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-darwin23.5.0
checking host system type... x86_64-apple-darwin
checking for a BSD-compatible install... /usr/bin/install -c
checking whether sleep supports fractional seconds... yes
checking filesystem timestamp resolution... 2
checking whether build environment is sane... yes
checking for x86_64-apple-darwin-strip... no
checking for strip... strip
checking for a race-free mkdir -p... mkdir -p
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 xargs -n works... yes
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 the compiler supports GNU C... 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 enable C11 features... none needed
checking whether /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang understands -c and -o together... yes
checking whether make supports the include directive... yes (GNU style)
checking dependency style of /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang... gcc3
checking dependency style of /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang... gcc3
checking for x86_64-apple-darwin-ar... no
checking for x86_64-apple-darwin-lib... no
checking for x86_64-apple-darwin-link... no
checking for ar... ar
checking the archiver (ar) interface... ar
checking how to print strings... printf
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... 786432
checking how to convert x86_64-apple-darwin23.5.0 file names to x86_64-apple-darwin format... func_convert_file_noop
checking how to convert x86_64-apple-darwin23.5.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-file... no
checking for file... file
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... 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... ld: warning: -single_module is obsolete
ld: warning: -single_module is obsolete
no
checking for -exported_symbols_list linker flag... yes
checking for -force_load linker flag... yes
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.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 if /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang supports -Werror... yes
checking if /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang supports -std=c89 -pedantic -Wno-long-long -Wnested-externs -Wshadow -Wstrict-prototypes -Wundef... yes
checking if /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang supports -Wno-overlength-strings... yes
checking if /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang supports -Wall... yes
checking if /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang supports -Wno-unused-function... yes
checking if /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang supports -Wextra... yes
checking if /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang supports -Wcast-align... yes
checking if /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang supports -Wcast-align=strict... no
checking if /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang supports -Wconditional-uninitialized... yes
checking if /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang supports -Wreserved-identifier... yes
checking if /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang supports -fvisibility=hidden... yes
checking for valgrind support...
checking for x86_64 assembly availability... 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: executing depfiles commands
config.status: executing libtool commands

Build Options:
with external callbacks = no
with benchmarks = yes
with tests = yes
with ctime tests = no
with coverage = no
with examples = no
module ecdh = yes
module recovery = no
module extrakeys = yes
module schnorrsig = yes
module ellswift = yes

asm = no
ecmult window size = 15
ecmult gen table size = 86 KiB

valgrind = no
CC = /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang
CPPFLAGS =
SECP_CFLAGS = -O2 -std=c89 -pedantic -Wno-long-long -Wnested-externs -Wshadow -Wstrict-prototypes -Wundef -Wno-overlength-strings -Wall -Wno-unused-function -Wextra -Wcast-align -Wconditional-uninitialized -Wreserved-identifier -fvisibility=hidden
CFLAGS = -O3 -arch i386 -arch x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator17.5.sdk -fembed-bitcode-marker -mios-simulator-version-min=8.0
LDFLAGS =
/Applications/Xcode.app/Contents/Developer/usr/bin/make install-am
CC src/bench-bench.o
CC src/libsecp256k1_la-secp256k1.lo
CC src/libsecp256k1_precomputed_la-precomputed_ecmult.lo
CC src/libsecp256k1_precomputed_la-precomputed_ecmult_gen.lo
CCLD libsecp256k1_precomputed.la
CCLD libsecp256k1.la
CCLD bench
CC src/bench_internal-bench_internal.o
CCLD bench_internal
CC src/bench_ecmult-bench_ecmult.o
CCLD bench_ecmult
CC src/noverify_tests-tests.o
CCLD noverify_tests
CC src/tests-tests.o
CCLD tests
CC src/exhaustive_tests-tests_exhaustive.o
CCLD exhaustive_tests
mkdir -p '/var/folders/yl/b8w20_hn6qz36sp15ww3tm880000gn/T/tmp.LCaWCtHvdk/.build/iphoneos/lib'
/bin/sh ./libtool --mode=install /usr/bin/install -c libsecp256k1.la '/var/folders/yl/b8w20_hn6qz36sp15ww3tm880000gn/T/tmp.LCaWCtHvdk/.build/iphoneos/lib'
libtool: install: /usr/bin/install -c .libs/libsecp256k1.2.dylib /var/folders/yl/b8w20_hn6qz36sp15ww3tm880000gn/T/tmp.LCaWCtHvdk/.build/iphoneos/lib/libsecp256k1.2.dylib
libtool: install: (cd /var/folders/yl/b8w20_hn6qz36sp15ww3tm880000gn/T/tmp.LCaWCtHvdk/.build/iphoneos/lib && { ln -s -f libsecp256k1.2.dylib libsecp256k1.dylib || { rm -f libsecp256k1.dylib && ln -s libsecp256k1.2.dylib libsecp256k1.dylib; }; })
libtool: install: /usr/bin/install -c .libs/libsecp256k1.lai /var/folders/yl/b8w20_hn6qz36sp15ww3tm880000gn/T/tmp.LCaWCtHvdk/.build/iphoneos/lib/libsecp256k1.la
libtool: install: /usr/bin/install -c .libs/libsecp256k1.a /var/folders/yl/b8w20_hn6qz36sp15ww3tm880000gn/T/tmp.LCaWCtHvdk/.build/iphoneos/lib/libsecp256k1.a
libtool: install: chmod 644 /var/folders/yl/b8w20_hn6qz36sp15ww3tm880000gn/T/tmp.LCaWCtHvdk/.build/iphoneos/lib/libsecp256k1.a
libtool: install: ranlib /var/folders/yl/b8w20_hn6qz36sp15ww3tm880000gn/T/tmp.LCaWCtHvdk/.build/iphoneos/lib/libsecp256k1.a
mkdir -p '/var/folders/yl/b8w20_hn6qz36sp15ww3tm880000gn/T/tmp.LCaWCtHvdk/.build/iphoneos/include'
/usr/bin/install -c -m 644 include/secp256k1.h include/secp256k1_preallocated.h include/secp256k1_ecdh.h include/secp256k1_extrakeys.h include/secp256k1_schnorrsig.h include/secp256k1_ellswift.h '/var/folders/yl/b8w20_hn6qz36sp15ww3tm880000gn/T/tmp.LCaWCtHvdk/.build/iphoneos/include'
mkdir -p '/var/folders/yl/b8w20_hn6qz36sp15ww3tm880000gn/T/tmp.LCaWCtHvdk/.build/iphoneos/lib/pkgconfig'
/usr/bin/install -c -m 644 libsecp256k1.pc '/var/folders/yl/b8w20_hn6qz36sp15ww3tm880000gn/T/tmp.LCaWCtHvdk/.build/iphoneos/lib/pkgconfig'
checking build system type... x86_64-apple-darwin23.5.0
checking host system type... arm-apple-darwin
checking for a BSD-compatible install... /usr/bin/install -c
checking whether sleep supports fractional seconds... yes
checking filesystem timestamp resolution... 2
checking whether build environment is sane... yes
checking for arm-apple-darwin-strip... no
checking for strip... strip
checking for a race-free mkdir -p... mkdir -p
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 xargs -n works... yes
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 the compiler supports GNU C... 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 enable C11 features... none needed
checking whether /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang understands -c and -o together... yes
checking whether make supports the include directive... yes (GNU style)
checking dependency style of /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang... gcc3
checking dependency style of /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang... gcc3
checking for arm-apple-darwin-ar... no
checking for arm-apple-darwin-lib... no
checking for arm-apple-darwin-link... no
checking for ar... ar
checking the archiver (ar) interface... ar
checking how to print strings... printf
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... 786432
checking how to convert x86_64-apple-darwin23.5.0 file names to arm-apple-darwin format... func_convert_file_noop
checking how to convert x86_64-apple-darwin23.5.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-file... no
checking for file... file
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... 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... ld: warning: -single_module is obsolete
ld: warning: -single_module is obsolete
ld: warning: -single_module is obsolete
no
checking for -exported_symbols_list linker flag... yes
checking for -force_load linker flag... yes
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.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 if /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang supports -Werror... yes
checking if /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang supports -std=c89 -pedantic -Wno-long-long -Wnested-externs -Wshadow -Wstrict-prototypes -Wundef... yes
checking if /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang supports -Wno-overlength-strings... yes
checking if /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang supports -Wall... yes
checking if /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang supports -Wno-unused-function... yes
checking if /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang supports -Wextra... yes
checking if /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang supports -Wcast-align... yes
checking if /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang supports -Wcast-align=strict... no
checking if /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang supports -Wconditional-uninitialized... yes
checking if /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang supports -Wreserved-identifier... yes
checking if /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang supports -fvisibility=hidden... yes
checking for valgrind support...
checking for x86_64 assembly availability... 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: executing depfiles commands
config.status: executing libtool commands

Build Options:
with external callbacks = no
with benchmarks = yes
with tests = yes
with ctime tests = no
with coverage = no
with examples = no
module ecdh = yes
module recovery = no
module extrakeys = yes
module schnorrsig = yes
module ellswift = yes

asm = no
ecmult window size = 15
ecmult gen table size = 86 KiB

valgrind = no
CC = /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang
CPPFLAGS =
SECP_CFLAGS = -O2 -std=c89 -pedantic -Wno-long-long -Wnested-externs -Wshadow -Wstrict-prototypes -Wundef -Wno-overlength-strings -Wall -Wno-unused-function -Wextra -Wcast-align -Wconditional-uninitialized -Wreserved-identifier -fvisibility=hidden
CFLAGS = -O3 -arch armv7 -arch armv7s -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS17.5.sdk -fembed-bitcode -mios-version-min=8.0
LDFLAGS =
/Applications/Xcode.app/Contents/Developer/usr/bin/make install-am
mkdir -p '/var/folders/yl/b8w20_hn6qz36sp15ww3tm880000gn/T/tmp.LCaWCtHvdk/.build/iphonesimulator/lib'
/bin/sh ./libtool --mode=install /usr/bin/install -c libsecp256k1.la '/var/folders/yl/b8w20_hn6qz36sp15ww3tm880000gn/T/tmp.LCaWCtHvdk/.build/iphonesimulator/lib'
libtool: install: /usr/bin/install -c .libs/libsecp256k1.2.dylib /var/folders/yl/b8w20_hn6qz36sp15ww3tm880000gn/T/tmp.LCaWCtHvdk/.build/iphonesimulator/lib/libsecp256k1.2.dylib
libtool: install: (cd /var/folders/yl/b8w20_hn6qz36sp15ww3tm880000gn/T/tmp.LCaWCtHvdk/.build/iphonesimulator/lib && { ln -s -f libsecp256k1.2.dylib libsecp256k1.dylib || { rm -f libsecp256k1.dylib && ln -s libsecp256k1.2.dylib libsecp256k1.dylib; }; })
libtool: install: /usr/bin/install -c .libs/libsecp256k1.lai /var/folders/yl/b8w20_hn6qz36sp15ww3tm880000gn/T/tmp.LCaWCtHvdk/.build/iphonesimulator/lib/libsecp256k1.la
libtool: install: /usr/bin/install -c .libs/libsecp256k1.a /var/folders/yl/b8w20_hn6qz36sp15ww3tm880000gn/T/tmp.LCaWCtHvdk/.build/iphonesimulator/lib/libsecp256k1.a
libtool: install: chmod 644 /var/folders/yl/b8w20_hn6qz36sp15ww3tm880000gn/T/tmp.LCaWCtHvdk/.build/iphonesimulator/lib/libsecp256k1.a
libtool: install: ranlib /var/folders/yl/b8w20_hn6qz36sp15ww3tm880000gn/T/tmp.LCaWCtHvdk/.build/iphonesimulator/lib/libsecp256k1.a
mkdir -p '/var/folders/yl/b8w20_hn6qz36sp15ww3tm880000gn/T/tmp.LCaWCtHvdk/.build/iphonesimulator/include'
/usr/bin/install -c -m 644 include/secp256k1.h include/secp256k1_preallocated.h include/secp256k1_ecdh.h include/secp256k1_extrakeys.h include/secp256k1_schnorrsig.h include/secp256k1_ellswift.h '/var/folders/yl/b8w20_hn6qz36sp15ww3tm880000gn/T/tmp.LCaWCtHvdk/.build/iphonesimulator/include'
mkdir -p '/var/folders/yl/b8w20_hn6qz36sp15ww3tm880000gn/T/tmp.LCaWCtHvdk/.build/iphonesimulator/lib/pkgconfig'
/usr/bin/install -c -m 644 libsecp256k1.pc '/var/folders/yl/b8w20_hn6qz36sp15ww3tm880000gn/T/tmp.LCaWCtHvdk/.build/iphonesimulator/lib/pkgconfig'
/Users/vj2/Library/Caches/CocoaPods/Pods/Release/BitcoinKit/1.1.0-a8c19/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/yl/b8w20_hn6qz36sp15ww3tm880000gn/T/tmp.LCaWCtHvdk
  • trap '{ cd - ; rm -rf /var/folders/yl/b8w20_hn6qz36sp15ww3tm880000gn/T/tmp.LCaWCtHvdk; exit 255; }' SIGINT
  • cd /var/folders/yl/b8w20_hn6qz36sp15ww3tm880000gn/T/tmp.LCaWCtHvdk
  • git clone https://github.com/bitcoin-core/secp256k1.git src
    Cloning into 'src'...
    ++ pwd
  • CURRENTPATH=/var/folders/yl/b8w20_hn6qz36sp15ww3tm880000gn/T/tmp.LCaWCtHvdk
  • TARGETDIR_IPHONEOS=/var/folders/yl/b8w20_hn6qz36sp15ww3tm880000gn/T/tmp.LCaWCtHvdk/.build/iphoneos
  • mkdir -p /var/folders/yl/b8w20_hn6qz36sp15ww3tm880000gn/T/tmp.LCaWCtHvdk/.build/iphoneos
  • TARGETDIR_SIMULATOR=/var/folders/yl/b8w20_hn6qz36sp15ww3tm880000gn/T/tmp.LCaWCtHvdk/.build/iphonesimulator
  • mkdir -p /var/folders/yl/b8w20_hn6qz36sp15ww3tm880000gn/T/tmp.LCaWCtHvdk/.build/iphonesimulator
  • cd src
  • ./autogen.sh
    configure.ac:39: installing 'build-aux/ar-lib'
    configure.ac:37: installing 'build-aux/compile'
    configure.ac:24: installing 'build-aux/config.guess'
    configure.ac:24: installing 'build-aux/config.sub'
    configure.ac:27: installing 'build-aux/install-sh'
    configure.ac:27: 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/iPhoneSimulator17.5.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/iPhoneSimulator17.5.sdk -fembed-bitcode-marker -mios-simulator-version-min=8.0' --prefix=/var/folders/yl/b8w20_hn6qz36sp15ww3tm880000gn/T/tmp.LCaWCtHvdk/.build/iphoneos
    configure: WARNING: using cross tools not prefixed with host triplet
  • make install
  • 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/iPhoneOS17.5.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/iPhoneOS17.5.sdk -fembed-bitcode -mios-version-min=8.0' --prefix=/var/folders/yl/b8w20_hn6qz36sp15ww3tm880000gn/T/tmp.LCaWCtHvdk/.build/iphonesimulator
    configure: WARNING: using cross tools not prefixed with host triplet
  • make install
    libtool: warning: remember to run 'libtool --finish /var/folders/yl/b8w20_hn6qz36sp15ww3tm880000gn/T/tmp.LCaWCtHvdk/.build/iphoneos/lib'
  • cd -
  • mkdir -p ./../Libraries/secp256k1/lib
  • xcrun lipo -create /var/folders/yl/b8w20_hn6qz36sp15ww3tm880000gn/T/tmp.LCaWCtHvdk/.build/iphoneos/lib/libsecp256k1.a /var/folders/yl/b8w20_hn6qz36sp15ww3tm880000gn/T/tmp.LCaWCtHvdk/.build/iphonesimulator/lib/libsecp256k1.a -o ./../Libraries/secp256k1/lib/libsecp256k1.a
    fatal error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/lipo: /var/folders/yl/b8w20_hn6qz36sp15ww3tm880000gn/T/tmp.LCaWCtHvdk/.build/iphoneos/lib/libsecp256k1.a and /var/folders/yl/b8w20_hn6qz36sp15ww3tm880000gn/T/tmp.LCaWCtHvdk/.build/iphonesimulator/lib/libsecp256k1.a have the same architectures (i386) and can't be in the same fat output file

Environment

  • BitcoinKit: 1.1.0
  • Xcode Version: 15.4
  • Swift Version: 5.0
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