Skip to content

Commit

Permalink
Define VISION_OS
Browse files Browse the repository at this point in the history
  • Loading branch information
NachoSoto committed Jan 30, 2024
1 parent 97677d7 commit 6e5c899
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion RevenueCat.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,11 @@ Pod::Spec.new do |s|
s.osx.deployment_target = '10.13'
s.visionos.deployment_target = '1.0'

s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES' }
s.pod_target_xcconfig = {
'DEFINES_MODULE' => 'YES',
'SWIFT_ACTIVE_COMPILATION_CONDITIONS[sdk=xros*]' => '$(inherited) VISION_OS',
'SWIFT_ACTIVE_COMPILATION_CONDITIONS[sdk=xrsimulator*]' => '$(inherited) VISION_OS',
}

s.source_files = 'Sources/**/*.swift'
s.exclude_files = 'Sources/LocalReceiptParsing/ReceiptParser-only-files/**'
Expand Down

0 comments on commit 6e5c899

Please sign in to comment.