Skip to content

Commit d535d96

Browse files
committed
Add tvOS pod support
1 parent 22d7522 commit d535d96

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

wakelock_plus/ios/wakelock_plus.podspec

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ Plugin that allows you to keep the device screen awake, i.e. prevent the screen
1616
s.source_files = 'wakelock_plus/Sources/wakelock_plus/**/*.{h,m}'
1717
s.public_header_files = 'wakelock_plus/Sources/wakelock_plus/include/**/*.h'
1818
s.dependency 'Flutter'
19-
s.platform = :ios, '12.0'
19+
s.ios.deployment_target = '13.0'
20+
s.tvos.deployment_target = '13.0'
2021

2122
# Flutter.framework does not contain a i386 slice.
2223
s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES', 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'i386' }

0 commit comments

Comments
 (0)