Skip to content

Commit

Permalink
♻️ Fix podspec
Browse files Browse the repository at this point in the history
  • Loading branch information
usatie committed Aug 17, 2018
1 parent 38962be commit c85b9e5
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions BitcoinKit.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,9 @@ Pod::Spec.new do |spec|

spec.requires_arc = true
spec.source = { git: 'https://github.com/yenom/BitcoinKit.git', tag: "v#{spec.version}" }
spec.source_files = 'BitcoinKit/**/*.{h,m,swift}'
spec.source_files = 'BitcoinKit/**/*.{h,m,swift}', 'Sources/BitcoinKit/**/*.{h,m,swift}'
spec.private_header_files = 'BitcoinKit/**/BitcoinKitPrivate.h'
spec.exclude_files = 'Sources/**/LinuxSupport.swift'
spec.module_map = 'BitcoinKit/BitcoinKit.modulemap'
spec.ios.deployment_target = '8.0'
spec.swift_version = '4.1'
Expand All @@ -22,7 +23,8 @@ Pod::Spec.new do |spec|
'APPLICATION_EXTENSION_API_ONLY' => 'YES',
'SWIFT_INCLUDE_PATHS' => '${PODS_ROOT}/BitcoinKit/Libraries',
'HEADER_SEARCH_PATHS' => '"${PODS_ROOT}/BitcoinKit/Libraries/openssl/include" "${PODS_ROOT}/BitcoinKit/Libraries/secp256k1/include"',
'LIBRARY_SEARCH_PATHS' => '"${PODS_ROOT}/BitcoinKit/Libraries/openssl/lib" "${PODS_ROOT}/BitcoinKit/Libraries/secp256k1/lib"' }
'LIBRARY_SEARCH_PATHS' => '"${PODS_ROOT}/BitcoinKit/Libraries/openssl/lib" "${PODS_ROOT}/BitcoinKit/Libraries/secp256k1/lib"',
'OTHER_SWIFT_FLAGS' => '-D BitcoinKitXcode' }
spec.preserve_paths = ['setup', 'Libraries']
spec.prepare_command = 'sh setup/build_libraries.sh'
end

0 comments on commit c85b9e5

Please sign in to comment.