BitcoinKit: Pod Install Fails
Current behavior
Pod Install fails with the following:
`++ 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/iPhoneOS13.6.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/iPhoneOS13.6.sdk -fembed-bitcode -mios-version-min=8.0’ --prefix=/var/folders/t7/sx80rz396g98rcy3q3s4z6cw0000gn/T/tmp.yj70e617/.build/iphonesimulator configure: WARNING: using cross tools not prefixed with host triplet ./configure: line 12069: PKG_PROG_PKG_CONFIG: command not found
- make install libtool: warning: remember to run ‘libtool --finish /var/folders/t7/sx80rz396g98rcy3q3s4z6cw0000gn/T/tmp.yj70e617/.build/iphoneos/lib’
- cd -
- mkdir -p ./…/Libraries/secp256k1/lib
- xcrun lipo -create /var/folders/t7/sx80rz396g98rcy3q3s4z6cw0000gn/T/tmp.yj70e617/.build/iphoneos/lib/libsecp256k1.a /var/folders/t7/sx80rz396g98rcy3q3s4z6cw0000gn/T/tmp.yj70e617/.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/t7/sx80rz396g98rcy3q3s4z6cw0000gn/T/tmp.yj70e617/.build/iphoneos/lib/libsecp256k1.a and /var/folders/t7/sx80rz396g98rcy3q3s4z6cw0000gn/T/tmp.yj70e617/.build/iphonesimulator/lib/libsecp256k1.a have the same architectures (i386) and can’t be in the same fat output file`
Expected behavior
Steps to reproduce
- Follow instructions - run pod. (After installing l$ brew install autoconf automake and libtools
Environment
- BitcoinKit: 1.1.3
- Xcode Version: 12. beta 5
- Swift Version: 5.0
About this issue
- Original URL
- State: open
- Created 6 years ago
- Reactions: 9
- Comments: 15
Commits related to this issue
- https://github.com/yenom/BitcoinKit/issues/255 — committed to sparklyhiking/BitcoinKit by deleted user 6 years ago
(cd src && ./autogen.sh)
where need to add this?
Facing same issue 😑 in a new project, in an old one works fine
Facing same issue 😑