Skip to content

Commit

Permalink
chore(ios): update example app to use Swift 5 (#2471)
Browse files Browse the repository at this point in the history
  • Loading branch information
jcesarmobile authored Feb 24, 2020
1 parent 2f9c8e6 commit afd8554
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 10 deletions.
9 changes: 5 additions & 4 deletions example/ios/IonicRunner/IonicRunner.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,7 @@
TargetAttributes = {
A3729E041E83246400B7334A = {
CreatedOnToolsVersion = 8.1;
LastSwiftMigration = 1130;
ProvisioningStyle = Automatic;
};
};
Expand Down Expand Up @@ -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;
Expand Down Expand Up @@ -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;
};
Expand All @@ -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;
};
Expand All @@ -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;
};
Expand Down
3 changes: 3 additions & 0 deletions example/ios/IonicRunner/IonicRunner/capacitor.config.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
"plugins": {
"SplashScreen": {
"launchShowDuration": 12345
},
"LocalNotifications": {
"smallIcon": "ic_stat_icon_config_sample"
}
}
}
12 changes: 6 additions & 6 deletions example/ios/IonicRunner/Podfile.lock
Original file line number Diff line number Diff line change
@@ -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 `../../../`)
Expand All @@ -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

0 comments on commit afd8554

Please sign in to comment.