Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
## 3.10.3
- Update iOS podspec to use xcconfig for shared objects

## 3.10.2
- Update iOS podspec to avoid excluding the simulator SDK

Expand Down
4 changes: 2 additions & 2 deletions example/ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ EXTERNAL SOURCES:
SPEC CHECKSUMS:
Flutter: e0871f40cf51350855a761d2e70bf5af5b9b5de7
integration_test: 4a889634ef21a45d28d50d622cf412dc6d9f586e
openpgp: 937a8b18f330c97bf3612d6ab4ad5ccd89268e29
openpgp: de9f45382feeb822e8417184db988e111406f51d

PODFILE CHECKSUM: 819463e6a0290f5a72f145ba7cde16e8b6ef0796
PODFILE CHECKSUM: db4843b9a4ec570ab76e33e3a2d3f4ded0ab206b

COCOAPODS: 1.16.2
10 changes: 6 additions & 4 deletions ios/openpgp.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,14 @@ Pod::Spec.new do |s|
s.platform = :ios, '12.0'
s.vendored_frameworks = 'Openpgp.xcframework'
# Flutter.framework does not contain a i386 slice. Only x86_64 simulators are supported.

s.xcconfig = {
'OTHER_LDFLAGS[sdk=iphoneos*]' => "-force_load '#{framework_path}/ios-arm64/libopenpgp_bridge.a'",
'OTHER_LDFLAGS[sdk=iphonesimulator*]' => "-force_load '#{framework_path}/ios-arm64_x86_64-simulator/libopenpgp_bridge.a'",
'OTHER_LDFLAGS[sdk=maccatalyst*]' => "-force_load '#{framework_path}/ios-arm64_x86_64-maccatalyst/libopenpgp_bridge.a'"
}
s.pod_target_xcconfig = {
'DEFINES_MODULE' => 'YES',
'OTHER_LDFLAGS[sdk=iphoneos*]' => "-force_load #{framework_path}/ios-arm64/libopenpgp_bridge.a",
'OTHER_LDFLAGS[sdk=iphonesimulator*]' => "-force_load #{framework_path}/ios-arm64_x86_64-simulator/libopenpgp_bridge.a",
'OTHER_LDFLAGS[sdk=maccatalyst*]' => "-force_load #{framework_path}/ios-arm64_x86_64-maccatalyst/libopenpgp_bridge.a"
'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'i386',
}
s.swift_version = '5.0'

Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: openpgp
description: library for use OpenPGP with support for android and ios, macOS, linux, windows and web
version: 3.10.2
version: 3.10.3
homepage: https://github.com/jerson/flutter-openpgp

environment:
Expand Down
Loading