From ff73d098553c36077eadc38dbfe894cd71796868 Mon Sep 17 00:00:00 2001 From: Piv <18462828+Piv200@users.noreply.github.com> Date: Sun, 3 May 2020 16:06:33 +0930 Subject: [PATCH] Add SwiftPackageManager with swift gRPC --- .../CarController.xcodeproj/project.pbxproj | 29 +++++++- .../xcschemes/xcschememanagement.plist | 14 ++++ .../xcshareddata/swiftpm/Package.resolved | 70 +++++++++++++++++++ 3 files changed, 112 insertions(+), 1 deletion(-) create mode 100644 CarControlleriOS/CarController/CarController.xcodeproj/xcuserdata/piv.xcuserdatad/xcschemes/xcschememanagement.plist create mode 100644 CarControlleriOS/CarController/CarController.xcworkspace/xcshareddata/swiftpm/Package.resolved diff --git a/CarControlleriOS/CarController/CarController.xcodeproj/project.pbxproj b/CarControlleriOS/CarController/CarController.xcodeproj/project.pbxproj index d01b8d2..27f45a5 100644 --- a/CarControlleriOS/CarController/CarController.xcodeproj/project.pbxproj +++ b/CarControlleriOS/CarController/CarController.xcodeproj/project.pbxproj @@ -3,7 +3,7 @@ archiveVersion = 1; classes = { }; - objectVersion = 51; + objectVersion = 52; objects = { /* Begin PBXBuildFile section */ @@ -21,6 +21,7 @@ 5A9EB280240100970053D3CF /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 5A9EB27F240100970053D3CF /* Assets.xcassets */; }; 5A9EB283240100970053D3CF /* Preview Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 5A9EB282240100970053D3CF /* Preview Assets.xcassets */; }; 5A9EB286240100970053D3CF /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 5A9EB284240100970053D3CF /* LaunchScreen.storyboard */; }; + 5AE45131245CFF2800D82BAF /* GRPC in Frameworks */ = {isa = PBXBuildFile; productRef = 5AE45130245CFF2800D82BAF /* GRPC */; }; 5BEA7A8C24AF155FC02A6C58 /* Pods_CarController.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 03FB25F696A1B33332234B4F /* Pods_CarController.framework */; }; /* End PBXBuildFile section */ @@ -51,6 +52,7 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( + 5AE45131245CFF2800D82BAF /* GRPC in Frameworks */, 5BEA7A8C24AF155FC02A6C58 /* Pods_CarController.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; @@ -174,6 +176,9 @@ dependencies = ( ); name = CarController; + packageProductDependencies = ( + 5AE45130245CFF2800D82BAF /* GRPC */, + ); productName = CarController; productReference = 5A9EB276240100960053D3CF /* CarController.app */; productType = "com.apple.product-type.application"; @@ -202,6 +207,9 @@ Base, ); mainGroup = 5A9EB26D240100950053D3CF; + packageReferences = ( + 5AE4512F245CFF2800D82BAF /* XCRemoteSwiftPackageReference "grpc-swift" */, + ); productRefGroup = 5A9EB277240100960053D3CF /* Products */; projectDirPath = ""; projectRoot = ""; @@ -477,6 +485,25 @@ defaultConfigurationName = Release; }; /* End XCConfigurationList section */ + +/* Begin XCRemoteSwiftPackageReference section */ + 5AE4512F245CFF2800D82BAF /* XCRemoteSwiftPackageReference "grpc-swift" */ = { + isa = XCRemoteSwiftPackageReference; + repositoryURL = "https://github.com/grpc/grpc-swift.git"; + requirement = { + kind = upToNextMajorVersion; + minimumVersion = "1.0.0-alpha.11"; + }; + }; +/* End XCRemoteSwiftPackageReference section */ + +/* Begin XCSwiftPackageProductDependency section */ + 5AE45130245CFF2800D82BAF /* GRPC */ = { + isa = XCSwiftPackageProductDependency; + package = 5AE4512F245CFF2800D82BAF /* XCRemoteSwiftPackageReference "grpc-swift" */; + productName = GRPC; + }; +/* End XCSwiftPackageProductDependency section */ }; rootObject = 5A9EB26E240100950053D3CF /* Project object */; } diff --git a/CarControlleriOS/CarController/CarController.xcodeproj/xcuserdata/piv.xcuserdatad/xcschemes/xcschememanagement.plist b/CarControlleriOS/CarController/CarController.xcodeproj/xcuserdata/piv.xcuserdatad/xcschemes/xcschememanagement.plist new file mode 100644 index 0000000..475fda5 --- /dev/null +++ b/CarControlleriOS/CarController/CarController.xcodeproj/xcuserdata/piv.xcuserdatad/xcschemes/xcschememanagement.plist @@ -0,0 +1,14 @@ + + + + + SchemeUserState + + CarController.xcscheme_^#shared#^_ + + orderHint + 0 + + + + diff --git a/CarControlleriOS/CarController/CarController.xcworkspace/xcshareddata/swiftpm/Package.resolved b/CarControlleriOS/CarController/CarController.xcworkspace/xcshareddata/swiftpm/Package.resolved new file mode 100644 index 0000000..c90f41d --- /dev/null +++ b/CarControlleriOS/CarController/CarController.xcworkspace/xcshareddata/swiftpm/Package.resolved @@ -0,0 +1,70 @@ +{ + "object": { + "pins": [ + { + "package": "grpc-swift", + "repositoryURL": "https://github.com/grpc/grpc-swift.git", + "state": { + "branch": null, + "revision": "373ffd54c1c1a319d0ddac9476d13be9023584bb", + "version": "1.0.0-alpha.11" + } + }, + { + "package": "swift-log", + "repositoryURL": "https://github.com/apple/swift-log.git", + "state": { + "branch": null, + "revision": "74d7b91ceebc85daf387ebb206003f78813f71aa", + "version": "1.2.0" + } + }, + { + "package": "swift-nio", + "repositoryURL": "https://github.com/apple/swift-nio.git", + "state": { + "branch": null, + "revision": "e876fb37410e0036b98b5361bb18e6854739572b", + "version": "2.16.0" + } + }, + { + "package": "swift-nio-http2", + "repositoryURL": "https://github.com/apple/swift-nio-http2.git", + "state": { + "branch": null, + "revision": "82eb3fa0974b838358ee46bc6c5381e5ae5de6b9", + "version": "1.11.0" + } + }, + { + "package": "swift-nio-ssl", + "repositoryURL": "https://github.com/apple/swift-nio-ssl.git", + "state": { + "branch": null, + "revision": "ae213938e151964aa691f0e902462fbe06baeeb6", + "version": "2.7.1" + } + }, + { + "package": "swift-nio-transport-services", + "repositoryURL": "https://github.com/apple/swift-nio-transport-services.git", + "state": { + "branch": null, + "revision": "85a67aea7caf5396ed599543dd23cffeb6dbbf96", + "version": "1.5.1" + } + }, + { + "package": "SwiftProtobuf", + "repositoryURL": "https://github.com/apple/swift-protobuf.git", + "state": { + "branch": null, + "revision": "7790acf0a81d08429cb20375bf42a8c7d279c5fe", + "version": "1.8.0" + } + } + ] + }, + "version": 1 +}