diff --git a/wakelock_plus/ios/wakelock_plus.podspec b/wakelock_plus/ios/wakelock_plus.podspec index 22b77bd..03df01d 100644 --- a/wakelock_plus/ios/wakelock_plus.podspec +++ b/wakelock_plus/ios/wakelock_plus.podspec @@ -16,7 +16,7 @@ Plugin that allows you to keep the device screen awake, i.e. prevent the screen s.source_files = 'wakelock_plus/Sources/wakelock_plus/**/*.{h,m}' s.public_header_files = 'wakelock_plus/Sources/wakelock_plus/include/**/*.h' s.dependency 'Flutter' - s.platform = :ios, '12.0' + s.platform = :ios, '13.0' # Flutter.framework does not contain a i386 slice. s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES', 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'i386' } diff --git a/wakelock_plus/ios/wakelock_plus/Package.swift b/wakelock_plus/ios/wakelock_plus/Package.swift index 8429b7e..3877507 100644 --- a/wakelock_plus/ios/wakelock_plus/Package.swift +++ b/wakelock_plus/ios/wakelock_plus/Package.swift @@ -6,7 +6,7 @@ import PackageDescription let package = Package( name: "wakelock_plus", platforms: [ - .iOS("11.0") + .iOS("13.0") ], products: [ .library(name: "wakelock-plus", targets: ["wakelock_plus"])