Skip to content

Commit 372813a

Browse files
committed
try swift_version 5.8
1 parent 3ed2a54 commit 372813a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

apps/example/ios/reactnativedeviceactivityexample.xcodeproj/project.pbxproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -839,7 +839,7 @@
839839
REACT_NATIVE_PATH = "${PODS_ROOT}/../../../../node_modules/react-native";
840840
SDKROOT = iphoneos;
841841
SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) DEBUG";
842-
SWIFT_VERSION = 5.0;
842+
SWIFT_VERSION = 5.8;
843843
USE_HERMES = true;
844844
};
845845
name = Debug;
@@ -899,7 +899,7 @@
899899
OTHER_LDFLAGS = "$(inherited) ";
900900
REACT_NATIVE_PATH = "${PODS_ROOT}/../../../../node_modules/react-native";
901901
SDKROOT = iphoneos;
902-
SWIFT_VERSION = 5.0;
902+
SWIFT_VERSION = 5.8;
903903
USE_HERMES = true;
904904
VALIDATE_PRODUCT = YES;
905905
};

packages/react-native-device-activity/ios/ReactNativeDeviceActivity.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Pod::Spec.new do |s|
1111
s.author = package['author']
1212
s.homepage = package['homepage']
1313
s.platforms = { :ios => '14.0', :tvos => '14.0' }
14-
s.swift_version = '5.4'
14+
s.swift_version = '5.8'
1515
s.source = { git: 'https://github.com/kingstinct/react-native-device-activity' }
1616
s.static_framework = true
1717

0 commit comments

Comments
 (0)