summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Fischer <joeljfischer@gmail.com>2019-05-28 11:09:03 -0400
committerGitHub <noreply@github.com>2019-05-28 11:09:03 -0400
commit9824b278b1fd067064f57271deb5bac4cfdcd4a9 (patch)
treeb4cc83a2e72340ac88c2a281f1d4c0edc2f5b523
parent6db5ffa7b1b0f9b0f6cc2d9f4c8fe0784dad2147 (diff)
parenteb51c542aefdf43512cf3cecd5138e5dc20b8988 (diff)
downloadsdl_ios-9824b278b1fd067064f57271deb5bac4cfdcd4a9.tar.gz
Merge pull request #1273 from smartdevicelink/feature/issue-1229-SwiftPM
SwiftPM/Accio Support
-rw-r--r--Package.swift23
-rw-r--r--SmartDeviceLink-iOS.xcodeproj/project.pbxproj4
2 files changed, 25 insertions, 2 deletions
diff --git a/Package.swift b/Package.swift
new file mode 100644
index 000000000..5d8f0c602
--- /dev/null
+++ b/Package.swift
@@ -0,0 +1,23 @@
+// swift-tools-version:5.0
+import PackageDescription
+
+let package = Package(
+ name: "SmartDeviceLink",
+ products: [
+ .library(name: "SmartDeviceLink", targets: ["SmartDeviceLink"]),
+ .library(name: "SmartDeviceLinkSwift", targets: ["SmartDeviceLinkSwift"])
+ ],
+ targets: [
+ .target(
+ name: "SmartDeviceLink",
+ path: "SmartDeviceLink"
+ ),
+ .target(
+ name: "SmartDeviceLinkSwift",
+ dependencies: [
+ "SmartDeviceLink"
+ ],
+ path: "SmartDeviceLinkSwift"
+ ),
+ ]
+)
diff --git a/SmartDeviceLink-iOS.xcodeproj/project.pbxproj b/SmartDeviceLink-iOS.xcodeproj/project.pbxproj
index 0b49b125a..91cebebb7 100644
--- a/SmartDeviceLink-iOS.xcodeproj/project.pbxproj
+++ b/SmartDeviceLink-iOS.xcodeproj/project.pbxproj
@@ -7961,7 +7961,7 @@
MTL_ENABLE_DEBUG_INFO = YES;
ONLY_ACTIVE_ARCH = YES;
SDKROOT = iphoneos;
- SWIFT_VERSION = 4.2;
+ SWIFT_VERSION = 5.0;
};
name = Debug;
};
@@ -8009,7 +8009,7 @@
MTL_ENABLE_DEBUG_INFO = NO;
SDKROOT = iphoneos;
SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
- SWIFT_VERSION = 4.2;
+ SWIFT_VERSION = 5.0;
VALIDATE_PRODUCT = YES;
};
name = Release;