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

[wip] Cleanup build script, use XCFramework #61

Closed
wants to merge 14 commits into from
15 changes: 3 additions & 12 deletions LibWally.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
Pod::Spec.new do |spec|

spec.name = "LibWally"
spec.version = "0.0.1"
spec.version = "0.0.7"
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

188794c: no need to bump the version when you're trying this. You can point to a branch, see e.g. Sjors/nthkey-ios@ecf2513

I'll try to remember to bump this version next time I tag a release though.

spec.summary = "Swift wrapper for LibWally."
spec.description = "Swift wrapper for LibWally, a collection of useful primitives for cryptocurrency wallets."
spec.homepage = "https://github.com/Sjors/libwally-swift"
Expand All @@ -19,19 +19,10 @@ Pod::Spec.new do |spec|

spec.source = { :git => "https://github.com/Sjors/libwally-swift.git", :tag => "v#{spec.version}", :submodules => true }

spec.source_files = "LibWally"

spec.vendored_frameworks = "build/LibwallySwift.xcframework"

spec.pod_target_xcconfig = {
'SWIFT_INCLUDE_PATHS' => '$(PODS_TARGET_SRCROOT)/CLibWally',
'LIBRARY_SEARCH_PATHS' => '$(PODS_TARGET_SRCROOT)/CLibWally/libwally-core/src/.libs'
}

spec.preserve_paths = 'LibWally/LibWally.modulemap', 'CLibWally', "build/LibwallySwift.xcframework"

spec.module_map = 'LibWally/LibWally.modulemap'
spec.preserve_paths = "build/LibwallySwift.xcframework"

spec.prepare_command = './build-libwally.sh -sdc'

spec.cocoapods_version = '>= 1.10.0'
end