Skip to content

Commit 63bbc3c

Browse files
committed
Re-enable support for the iOS Simulator 🎉
1 parent 9a41bf4 commit 63bbc3c

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

‎DivvunSpell.podspec‎

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,15 @@ Pod::Spec.new { |spec|
1111
spec.ios.deployment_target = '8.0'
1212
spec.pod_target_xcconfig = {
1313
'ENABLE_BITCODE' => 'NO',
14-
'LIBRARY_SEARCH_PATHS[sdk=iphoneos*][arch=arm64]' => '${PODS_TARGET_SRCROOT}/dist/aarch64-apple-ios',
15-
'LIBRARY_SEARCH_PATHS[sdk=iphonesimulator*][arch=x86_64]' => '${PODS_TARGET_SRCROOT}/dist/x86_64-apple-ios',
16-
'LIBRARY_SEARCH_PATHS[sdk=iphonesimulator*][arch=arm64]' => '${PODS_TARGET_SRCROOT}/dist/aarch64-apple-ios-sim',
17-
'LIBRARY_SEARCH_PATHS[sdk=macos*][arch=x86_64]' => '${PODS_TARGET_SRCROOT}/dist/x86_64-apple-darwin',
18-
'LIBRARY_SEARCH_PATHS[sdk=macos*][arch=arm64]' => '${PODS_TARGET_SRCROOT}/dist/aarch64-apple-darwin',
19-
'OTHER_LDFLAGS' => '-ldivvunspell',
14+
'OTHER_LDFLAGS[sdk=iphoneos*][arch=arm64]' => '${PODS_TARGET_SRCROOT}/dist/aarch64-apple-ios/libdivvunspell.a',
15+
'OTHER_LDFLAGS[sdk=iphonesimulator*][arch=x86_64]' => '${PODS_TARGET_SRCROOT}/dist/x86_64-apple-ios/libdivvunspell.a',
16+
'OTHER_LDFLAGS[sdk=iphonesimulator*][arch=arm64]' => '${PODS_TARGET_SRCROOT}/dist/aarch64-apple-ios-sim/libdivvunspell.a',
17+
'OTHER_LDFLAGS[sdk=macos*][arch=x86_64]' => '${PODS_TARGET_SRCROOT}/dist/x86_64-apple-darwin/libdivvunspell.a',
18+
'OTHER_LDFLAGS[sdk=macos*][arch=arm64]' => '${PODS_TARGET_SRCROOT}/dist/aarch64-apple-darwin/libdivvunspell.a',
2019
}
2120
spec.preserve_paths = ['dist/**/*']
2221
spec.source_files = ['src/**/*']
2322
spec.source = {
2423
:http => 'https://github.com/divvun/divvunspell-sdk-swift/releases/download/v#{spec.version}/cargo-pod.tgz',
2524
}
26-
spec.vendored_libraries = 'dist/aarch64-apple-ios/libdivvunspell.a'
2725
}

0 commit comments

Comments
 (0)