-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathDivvunSpell.podspec
25 lines (25 loc) · 1.3 KB
/
DivvunSpell.podspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
Pod::Spec.new { |spec|
spec.name = 'DivvunSpell'
spec.version = '1.0.0-beta.5'
spec.summary = 'Spell checking library for ZHFST/BHFST spellers, with case handling and tokenization support.'
spec.authors = {
'Brendan Molloy' => '[email protected]',
}
spec.license = { :type => 'MIT OR Apache-2.0' }
spec.homepage = 'https://github.com/divvun/divvunspell-sdk-swift'
spec.macos.deployment_target = '10.10'
spec.ios.deployment_target = '8.0'
spec.pod_target_xcconfig = {
'ENABLE_BITCODE' => 'NO',
'OTHER_LDFLAGS[sdk=iphoneos*][arch=arm64]' => '${PODS_TARGET_SRCROOT}/dist/aarch64-apple-ios/libdivvunspell.a',
'OTHER_LDFLAGS[sdk=iphonesimulator*][arch=x86_64]' => '${PODS_TARGET_SRCROOT}/dist/x86_64-apple-ios/libdivvunspell.a',
'OTHER_LDFLAGS[sdk=iphonesimulator*][arch=arm64]' => '${PODS_TARGET_SRCROOT}/dist/aarch64-apple-ios-sim/libdivvunspell.a',
'OTHER_LDFLAGS[sdk=macos*][arch=x86_64]' => '${PODS_TARGET_SRCROOT}/dist/x86_64-apple-darwin/libdivvunspell.a',
'OTHER_LDFLAGS[sdk=macos*][arch=arm64]' => '${PODS_TARGET_SRCROOT}/dist/aarch64-apple-darwin/libdivvunspell.a',
}
spec.preserve_paths = ['dist/**/*']
spec.source_files = ['src/**/*']
spec.source = {
:http => 'https://github.com/divvun/divvunspell-sdk-swift/releases/download/v#{spec.version}/cargo-pod.tgz',
}
}