yenom / BitcoinKit

Bitcoin protocol toolkit for Swift
MIT License
844 stars 262 forks source link

Pod Install Error #277

Closed SurpriseMF3000 closed 2 years ago

SurpriseMF3000 commented 2 years ago

Hello, i have issues installing this package. When i do "pod install" i get the error "...have the same architectures (i386) and can't be in the same fat output file".

Error: xctoolchain/usr/bin/lipo: /var/folders/gp/zf5ylzvn7d326cwb67646j6c0000gn/T/tmp.8tza5xtA/.build/iphoneos/lib/libsecp256k1.a and /var/folders/gp/zf5ylzvn7d326cwb67646j6c0000gn/T/tmp.8tza5xtA/.build/iphonesimulator/lib/libsecp256k1.a have the same architectures (i386) and can't be in the same fat output file

...have the same architectures (i386) and can't be in the same fat output file

Podfile: source 'https://github.com/CocoaPods/Specs.git' platform :ios, '14.7'

target 'btctransaction' do use_frameworks! pod 'BitcoinKit', '~> 1.1.0'

end

Without this package works everything fine.

Apple M1 MacOS: 11.5.2 Big Sur

Are there any solutions?

SurpriseMF3000 commented 2 years ago

I solved it with excluding arch's in the Build settings.