Skip to content

Commit d9d778c

Browse files
authored
Add support for our use of package visibility. (#1844)
1 parent e3f69fd commit d9d778c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

SwiftProtobuf.podspec

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,11 @@ Pod::Spec.new do |s|
1616

1717
s.cocoapods_version = '>= 1.13.0'
1818

19+
# Support `package` visibility.
20+
s.pod_target_xcconfig = {
21+
'OTHER_SWIFT_FLAGS' => '-package-name SwiftProtobuf'
22+
}
23+
1924
s.source_files = 'Sources/SwiftProtobuf/**/*.swift'
2025
s.resource_bundle = {'SwiftProtobuf' => ['Sources/SwiftProtobuf/PrivacyInfo.xcprivacy']}
2126

0 commit comments

Comments
 (0)