Skip to content

Commit

Permalink
Update Package.swift for Google Maps iOS SDK v 4.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
karimhm committed Dec 11, 2020
1 parent 7780a54 commit 0eeac7f
Show file tree
Hide file tree
Showing 4 changed files with 57 additions and 45 deletions.
4 changes: 2 additions & 2 deletions Cartfile
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
binary "https://dl.google.com/geosdk/GoogleMaps.json" == 4.0.0
binary "https://dl.google.com/geosdk/GooglePlaces.json" == 4.0.0
binary "https://dl.google.com/geosdk/GoogleMaps.json" == 4.1.0
binary "https://dl.google.com/geosdk/GooglePlaces.json" == 4.1.0
60 changes: 30 additions & 30 deletions GoogleMaps.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -1008,7 +1008,7 @@
buildSettings = {
BUILD_LIBRARY_FOR_DISTRIBUTION = YES;
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 040000;
CURRENT_PROJECT_VERSION = 040100;
DEFINES_MODULE = YES;
DEVELOPMENT_TEAM = 5PL9B9HNUS;
DYLIB_COMPATIBILITY_VERSION = 1;
Expand All @@ -1024,7 +1024,7 @@
"@loader_path/Frameworks",
);
MACH_O_TYPE = mh_dylib;
MARKETING_VERSION = 4.0.0;
MARKETING_VERSION = 4.1.0;
MODULEMAP_FILE = Carthage/Build/iOS/GoogleMaps.framework/Modules/module.modulemap;
OTHER_LDFLAGS = "-ObjC";
PRODUCT_BUNDLE_IDENTIFIER = com.yassir.ios.GoogleMaps;
Expand All @@ -1040,7 +1040,7 @@
buildSettings = {
BUILD_LIBRARY_FOR_DISTRIBUTION = YES;
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 040000;
CURRENT_PROJECT_VERSION = 040100;
DEFINES_MODULE = YES;
DEVELOPMENT_TEAM = 5PL9B9HNUS;
DYLIB_COMPATIBILITY_VERSION = 1;
Expand All @@ -1055,7 +1055,7 @@
"@executable_path/Frameworks",
"@loader_path/Frameworks",
);
MARKETING_VERSION = 4.0.0;
MARKETING_VERSION = 4.1.0;
MODULEMAP_FILE = Carthage/Build/iOS/GoogleMapsBase.framework/Modules/module.modulemap;
PRODUCT_BUNDLE_IDENTIFIER = com.yassir.ios.GoogleMapsBase;
PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)";
Expand All @@ -1070,7 +1070,7 @@
buildSettings = {
BUILD_LIBRARY_FOR_DISTRIBUTION = YES;
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 040000;
CURRENT_PROJECT_VERSION = 040100;
DEFINES_MODULE = YES;
DEVELOPMENT_TEAM = 5PL9B9HNUS;
DYLIB_COMPATIBILITY_VERSION = 1;
Expand All @@ -1085,7 +1085,7 @@
"@executable_path/Frameworks",
"@loader_path/Frameworks",
);
MARKETING_VERSION = 4.0.0;
MARKETING_VERSION = 4.1.0;
MODULEMAP_FILE = Carthage/Build/iOS/GoogleMapsCore.framework/Modules/module.modulemap;
PRODUCT_BUNDLE_IDENTIFIER = com.yassir.ios.GoogleMapsCore;
PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)";
Expand All @@ -1100,7 +1100,7 @@
buildSettings = {
BUILD_LIBRARY_FOR_DISTRIBUTION = YES;
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 040000;
CURRENT_PROJECT_VERSION = 040100;
DEFINES_MODULE = YES;
DEVELOPMENT_TEAM = 5PL9B9HNUS;
DYLIB_COMPATIBILITY_VERSION = 1;
Expand All @@ -1115,7 +1115,7 @@
"@executable_path/Frameworks",
"@loader_path/Frameworks",
);
MARKETING_VERSION = 4.0.0;
MARKETING_VERSION = 4.1.0;
MODULEMAP_FILE = Carthage/Build/iOS/GoogleMapsM4B.framework/Modules/module.modulemap;
PRODUCT_BUNDLE_IDENTIFIER = com.yassir.ios.GoogleMapsM4B;
PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)";
Expand All @@ -1130,7 +1130,7 @@
buildSettings = {
BUILD_LIBRARY_FOR_DISTRIBUTION = YES;
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 040000;
CURRENT_PROJECT_VERSION = 040100;
DEFINES_MODULE = YES;
DEVELOPMENT_TEAM = 5PL9B9HNUS;
DYLIB_COMPATIBILITY_VERSION = 1;
Expand All @@ -1145,7 +1145,7 @@
"@executable_path/Frameworks",
"@loader_path/Frameworks",
);
MARKETING_VERSION = 4.0.0;
MARKETING_VERSION = 4.1.0;
MODULEMAP_FILE = Carthage/Build/iOS/GooglePlaces.framework/Modules/module.modulemap;
PRODUCT_BUNDLE_IDENTIFIER = com.yassir.ios.GooglePlaces;
PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)";
Expand Down Expand Up @@ -1278,7 +1278,7 @@
buildSettings = {
BUILD_LIBRARY_FOR_DISTRIBUTION = YES;
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 040000;
CURRENT_PROJECT_VERSION = 040100;
DEFINES_MODULE = YES;
DEVELOPMENT_TEAM = 5PL9B9HNUS;
DYLIB_COMPATIBILITY_VERSION = 1;
Expand All @@ -1293,7 +1293,7 @@
"@loader_path/Frameworks",
);
MACH_O_TYPE = mh_dylib;
MARKETING_VERSION = 4.0.0;
MARKETING_VERSION = 4.1.0;
MODULEMAP_FILE = Carthage/Build/iOS/GoogleMaps.framework/Modules/module.modulemap;
OTHER_LDFLAGS = "-ObjC";
PRODUCT_BUNDLE_IDENTIFIER = com.yassir.ios.GoogleMaps;
Expand All @@ -1309,7 +1309,7 @@
buildSettings = {
BUILD_LIBRARY_FOR_DISTRIBUTION = YES;
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 040000;
CURRENT_PROJECT_VERSION = 040100;
DEFINES_MODULE = YES;
DEVELOPMENT_TEAM = 5PL9B9HNUS;
DYLIB_COMPATIBILITY_VERSION = 1;
Expand All @@ -1324,7 +1324,7 @@
"@loader_path/Frameworks",
);
MACH_O_TYPE = mh_dylib;
MARKETING_VERSION = 4.0.0;
MARKETING_VERSION = 4.1.0;
MODULEMAP_FILE = Carthage/Build/iOS/GoogleMaps.framework/Modules/module.modulemap;
OTHER_LDFLAGS = "-ObjC";
PRODUCT_BUNDLE_IDENTIFIER = com.yassir.ios.GoogleMaps;
Expand All @@ -1340,7 +1340,7 @@
buildSettings = {
BUILD_LIBRARY_FOR_DISTRIBUTION = YES;
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 040000;
CURRENT_PROJECT_VERSION = 040100;
DEFINES_MODULE = YES;
DEVELOPMENT_TEAM = 5PL9B9HNUS;
DYLIB_COMPATIBILITY_VERSION = 1;
Expand All @@ -1354,7 +1354,7 @@
"@executable_path/Frameworks",
"@loader_path/Frameworks",
);
MARKETING_VERSION = 4.0.0;
MARKETING_VERSION = 4.1.0;
MODULEMAP_FILE = Carthage/Build/iOS/GoogleMapsBase.framework/Modules/module.modulemap;
PRODUCT_BUNDLE_IDENTIFIER = com.yassir.ios.GoogleMapsBase;
PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)";
Expand All @@ -1369,7 +1369,7 @@
buildSettings = {
BUILD_LIBRARY_FOR_DISTRIBUTION = YES;
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 040000;
CURRENT_PROJECT_VERSION = 040100;
DEFINES_MODULE = YES;
DEVELOPMENT_TEAM = 5PL9B9HNUS;
DYLIB_COMPATIBILITY_VERSION = 1;
Expand All @@ -1383,7 +1383,7 @@
"@executable_path/Frameworks",
"@loader_path/Frameworks",
);
MARKETING_VERSION = 4.0.0;
MARKETING_VERSION = 4.1.0;
MODULEMAP_FILE = Carthage/Build/iOS/GoogleMapsBase.framework/Modules/module.modulemap;
PRODUCT_BUNDLE_IDENTIFIER = com.yassir.ios.GoogleMapsBase;
PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)";
Expand All @@ -1398,7 +1398,7 @@
buildSettings = {
BUILD_LIBRARY_FOR_DISTRIBUTION = YES;
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 040000;
CURRENT_PROJECT_VERSION = 040100;
DEFINES_MODULE = YES;
DEVELOPMENT_TEAM = 5PL9B9HNUS;
DYLIB_COMPATIBILITY_VERSION = 1;
Expand All @@ -1412,7 +1412,7 @@
"@executable_path/Frameworks",
"@loader_path/Frameworks",
);
MARKETING_VERSION = 4.0.0;
MARKETING_VERSION = 4.1.0;
MODULEMAP_FILE = Carthage/Build/iOS/GoogleMapsCore.framework/Modules/module.modulemap;
PRODUCT_BUNDLE_IDENTIFIER = com.yassir.ios.GoogleMapsCore;
PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)";
Expand All @@ -1427,7 +1427,7 @@
buildSettings = {
BUILD_LIBRARY_FOR_DISTRIBUTION = YES;
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 040000;
CURRENT_PROJECT_VERSION = 040100;
DEFINES_MODULE = YES;
DEVELOPMENT_TEAM = 5PL9B9HNUS;
DYLIB_COMPATIBILITY_VERSION = 1;
Expand All @@ -1441,7 +1441,7 @@
"@executable_path/Frameworks",
"@loader_path/Frameworks",
);
MARKETING_VERSION = 4.0.0;
MARKETING_VERSION = 4.1.0;
MODULEMAP_FILE = Carthage/Build/iOS/GoogleMapsCore.framework/Modules/module.modulemap;
PRODUCT_BUNDLE_IDENTIFIER = com.yassir.ios.GoogleMapsCore;
PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)";
Expand All @@ -1456,7 +1456,7 @@
buildSettings = {
BUILD_LIBRARY_FOR_DISTRIBUTION = YES;
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 040000;
CURRENT_PROJECT_VERSION = 040100;
DEFINES_MODULE = YES;
DEVELOPMENT_TEAM = 5PL9B9HNUS;
DYLIB_COMPATIBILITY_VERSION = 1;
Expand All @@ -1470,7 +1470,7 @@
"@executable_path/Frameworks",
"@loader_path/Frameworks",
);
MARKETING_VERSION = 4.0.0;
MARKETING_VERSION = 4.1.0;
MODULEMAP_FILE = Carthage/Build/iOS/GoogleMapsM4B.framework/Modules/module.modulemap;
PRODUCT_BUNDLE_IDENTIFIER = com.yassir.ios.GoogleMapsM4B;
PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)";
Expand All @@ -1485,7 +1485,7 @@
buildSettings = {
BUILD_LIBRARY_FOR_DISTRIBUTION = YES;
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 040000;
CURRENT_PROJECT_VERSION = 040100;
DEFINES_MODULE = YES;
DEVELOPMENT_TEAM = 5PL9B9HNUS;
DYLIB_COMPATIBILITY_VERSION = 1;
Expand All @@ -1499,7 +1499,7 @@
"@executable_path/Frameworks",
"@loader_path/Frameworks",
);
MARKETING_VERSION = 4.0.0;
MARKETING_VERSION = 4.1.0;
MODULEMAP_FILE = Carthage/Build/iOS/GoogleMapsM4B.framework/Modules/module.modulemap;
PRODUCT_BUNDLE_IDENTIFIER = com.yassir.ios.GoogleMapsM4B;
PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)";
Expand All @@ -1514,7 +1514,7 @@
buildSettings = {
BUILD_LIBRARY_FOR_DISTRIBUTION = YES;
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 040000;
CURRENT_PROJECT_VERSION = 040100;
DEFINES_MODULE = YES;
DEVELOPMENT_TEAM = 5PL9B9HNUS;
DYLIB_COMPATIBILITY_VERSION = 1;
Expand All @@ -1528,7 +1528,7 @@
"@executable_path/Frameworks",
"@loader_path/Frameworks",
);
MARKETING_VERSION = 4.0.0;
MARKETING_VERSION = 4.1.0;
MODULEMAP_FILE = Carthage/Build/iOS/GooglePlaces.framework/Modules/module.modulemap;
PRODUCT_BUNDLE_IDENTIFIER = com.yassir.ios.GooglePlaces;
PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)";
Expand All @@ -1543,7 +1543,7 @@
buildSettings = {
BUILD_LIBRARY_FOR_DISTRIBUTION = YES;
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 040000;
CURRENT_PROJECT_VERSION = 040100;
DEFINES_MODULE = YES;
DEVELOPMENT_TEAM = 5PL9B9HNUS;
DYLIB_COMPATIBILITY_VERSION = 1;
Expand All @@ -1557,7 +1557,7 @@
"@executable_path/Frameworks",
"@loader_path/Frameworks",
);
MARKETING_VERSION = 4.0.0;
MARKETING_VERSION = 4.1.0;
MODULEMAP_FILE = Carthage/Build/iOS/GooglePlaces.framework/Modules/module.modulemap;
PRODUCT_BUNDLE_IDENTIFIER = com.yassir.ios.GooglePlaces;
PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)";
Expand Down
34 changes: 23 additions & 11 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,18 @@ import PackageDescription
let package = Package(
name: "GoogleMaps",
products: [
.library(
name: "GoogleMapsBase",
targets: [
"GoogleMapsBase"
]
),
.library(
name: "GoogleMapsCore",
targets: [
"GoogleMapsCore"
]
),
.library(
name: "GoogleMaps",
targets: [
Expand All @@ -24,33 +36,33 @@ let package = Package(
"GooglePlaces",
"GoogleMapsBase"
]
),
)
],
targets: [
.binaryTarget(
name: "GoogleMaps",
url: "https://github.com/YAtechnologies/GoogleMaps-SP/releases/download/4.0.0/GoogleMaps.xcframework.zip",
checksum: "bcb04ac4b0bffdf53247d1ca43f6ce9de8e5a6361c9507c3f6bb4e50d90adc86"
url: "https://github.com/YAtechnologies/GoogleMaps-SP/releases/download/4.1.0/GoogleMaps.xcframework.zip",
checksum: "3da02417880444f0f65c5ff475d4b3f399ce3a6790cdfd6c20428ccadcbf7290"
),
.binaryTarget(
name: "GoogleMapsBase",
url: "https://github.com/YAtechnologies/GoogleMaps-SP/releases/download/4.0.0/GoogleMapsBase.xcframework.zip",
checksum: "7a59265a0691997fd10e55e24432efb156bf3c575e34859234ad211432dcf4b2"
url: "https://github.com/YAtechnologies/GoogleMaps-SP/releases/download/4.1.0/GoogleMapsBase.xcframework.zip",
checksum: "e4952a44e430414085d56962fcd1ae6d88b8503fa8ef233899207894c8c71d94"
),
.binaryTarget(
name: "GoogleMapsCore",
url: "https://github.com/YAtechnologies/GoogleMaps-SP/releases/download/4.0.0/GoogleMapsCore.xcframework.zip",
checksum: "182f49e39c6500ba4209ffe5a6497bfbef47e5591f5bf5e424779081d8077dbf"
url: "https://github.com/YAtechnologies/GoogleMaps-SP/releases/download/4.1.0/GoogleMapsCore.xcframework.zip",
checksum: "c255fb0e17a677e1d70df11dc08d40617c2835ac8ab347f92ce194d7c4611e77"
),
.binaryTarget(
name: "GoogleMapsM4B",
url: "https://github.com/YAtechnologies/GoogleMaps-SP/releases/download/4.0.0/GoogleMapsM4B.xcframework.zip",
checksum: "b3c6a9a5b4ed33103f2c664c86c9bb674cf32263debe018cdc75aabd127aab0b"
url: "https://github.com/YAtechnologies/GoogleMaps-SP/releases/download/4.1.0/GoogleMapsM4B.xcframework.zip",
checksum: "c5da70959af76a4333864981976ce6b2280628d3b9e3d89028e88293bcfa0e4a"
),
.binaryTarget(
name: "GooglePlaces",
url: "https://github.com/YAtechnologies/GoogleMaps-SP/releases/download/4.0.0/GooglePlaces.xcframework.zip",
checksum: "eda53ce7b98f5a4a8258e1b1365c135b5e7b91d0f8a76589596d4c255f63c3f4"
url: "https://github.com/YAtechnologies/GoogleMaps-SP/releases/download/4.1.0/GooglePlaces.xcframework.zip",
checksum: "ee539dae928ec590bc3721105be68248099b2d9ee4397d91bc2528d728f55705"
)
]
)
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@
* [Carthage 0.36.0](https://github.com/Carthage/Carthage) or later.

## Installation
- Add the following dependency to your project's `Package.swift`, make sure to replace `"x.x.x"` with the appropriate version number.
- Add the following dependency to your project's `Package.swift`.

```swift
dependencies: [
.package(url: "https://github.com/YAtechnologies/GoogleMaps-SP.git", .upToNextMinor(from: "x.x.x"))
.package(url: "https://github.com/YAtechnologies/GoogleMaps-SP.git", .upToNextMinor(from: "4.1.0"))
]
```

Expand Down

0 comments on commit 0eeac7f

Please sign in to comment.