From afd85543101752bc184cec4d8ecd82a8346ca863 Mon Sep 17 00:00:00 2001 From: jcesarmobile Date: Mon, 24 Feb 2020 12:15:31 +0100 Subject: [PATCH] chore(ios): update example app to use Swift 5 (#2471) --- .../IonicRunner.xcodeproj/project.pbxproj | 9 +++++---- .../IonicRunner/IonicRunner/capacitor.config.json | 3 +++ example/ios/IonicRunner/Podfile.lock | 12 ++++++------ 3 files changed, 14 insertions(+), 10 deletions(-) diff --git a/example/ios/IonicRunner/IonicRunner.xcodeproj/project.pbxproj b/example/ios/IonicRunner/IonicRunner.xcodeproj/project.pbxproj index d133daa74e..234b75ac14 100644 --- a/example/ios/IonicRunner/IonicRunner.xcodeproj/project.pbxproj +++ b/example/ios/IonicRunner/IonicRunner.xcodeproj/project.pbxproj @@ -180,6 +180,7 @@ TargetAttributes = { A3729E041E83246400B7334A = { CreatedOnToolsVersion = 8.1; + LastSwiftMigration = 1130; ProvisioningStyle = Automatic; }; }; @@ -368,7 +369,7 @@ SDKROOT = iphoneos; SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - SWIFT_VERSION = 4.0; + SWIFT_VERSION = 5.0; TARGETED_DEVICE_FAMILY = "1,2"; }; name = Debug; @@ -412,7 +413,7 @@ MTL_ENABLE_DEBUG_INFO = NO; SDKROOT = iphoneos; SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; - SWIFT_VERSION = 4.0; + SWIFT_VERSION = 5.0; TARGETED_DEVICE_FAMILY = "1,2"; VALIDATE_PRODUCT = YES; }; @@ -432,7 +433,7 @@ OTHER_SWIFT_FLAGS = "$(inherited) \"-D\" \"COCOAPODS\" \"-DDEBUG\""; PRODUCT_BUNDLE_IDENTIFIER = Ionic.CapacitorTest; PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_VERSION = 4.2; + SWIFT_VERSION = 5.0; }; name = Debug; }; @@ -449,7 +450,7 @@ NEW_SETTING = ""; PRODUCT_BUNDLE_IDENTIFIER = Ionic.CapacitorTest; PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_VERSION = 4.2; + SWIFT_VERSION = 5.0; }; name = Release; }; diff --git a/example/ios/IonicRunner/IonicRunner/capacitor.config.json b/example/ios/IonicRunner/IonicRunner/capacitor.config.json index 5bd0006f90..7d42eec986 100644 --- a/example/ios/IonicRunner/IonicRunner/capacitor.config.json +++ b/example/ios/IonicRunner/IonicRunner/capacitor.config.json @@ -6,6 +6,9 @@ "plugins": { "SplashScreen": { "launchShowDuration": 12345 + }, + "LocalNotifications": { + "smallIcon": "ic_stat_icon_config_sample" } } } \ No newline at end of file diff --git a/example/ios/IonicRunner/Podfile.lock b/example/ios/IonicRunner/Podfile.lock index b66f2b95f5..304a7cc726 100644 --- a/example/ios/IonicRunner/Podfile.lock +++ b/example/ios/IonicRunner/Podfile.lock @@ -1,7 +1,7 @@ PODS: - - Capacitor (1.1.1): - - CapacitorCordova (= 1.1.1) - - CapacitorCordova (1.1.1) + - Capacitor (1.5.0): + - CapacitorCordova (= 1.5.0) + - CapacitorCordova (1.5.0) DEPENDENCIES: - Capacitor (from `../../../`) @@ -14,9 +14,9 @@ EXTERNAL SOURCES: :path: "../../../" SPEC CHECKSUMS: - Capacitor: c9bf4c8abbc3ba54979aaa3f77f1a776fe390cd0 - CapacitorCordova: 25811fd90c0ea23ea135a42a217d1918873fa566 + Capacitor: 4cd894d4b845bf04093d9e85c84e602742931574 + CapacitorCordova: 5b03f0b903bf066a8f3187e848252227190b681a PODFILE CHECKSUM: cf3dd73a42bef0923c014a1179dc29d10aa5cae0 -COCOAPODS: 1.6.2 +COCOAPODS: 1.8.4