Skip to content

Commit

Permalink
chore: fix package manifest and headers
Browse files Browse the repository at this point in the history
  • Loading branch information
wangela committed Feb 3, 2024
1 parent ec2033b commit 5b81e60
Show file tree
Hide file tree
Showing 5 changed files with 33 additions and 52 deletions.
24 changes: 0 additions & 24 deletions GoogleMapsUtils/Info.plist

This file was deleted.

16 changes: 16 additions & 0 deletions Package.resolved
@@ -0,0 +1,16 @@
{
"object": {
"pins": [
{
"package": "GoogleMaps",
"repositoryURL": "https://github.com/googlemaps/ios-maps-sdk",
"state": {
"branch": null,
"revision": "c71307e6003e426ceeeaff09f04bbd66bff68b26",
"version": "8.3.1"
}
}
]
},
"version": 1
}
20 changes: 2 additions & 18 deletions Package.swift
Expand Up @@ -16,22 +16,6 @@

import PackageDescription

#if os(macOS)
#error("This package does not support macOS.")
#endif

#if os(tvOS)
#error("This package does not support tvOS.")
#endif

#if os(visionOS)
#error("This package does not support visionOS.")
#endif

#if os(watchOS)
#error("This package does not support watchOS.")
#endif

let package = Package(
name: "GoogleMapsUtils",
platforms: [
Expand All @@ -55,12 +39,12 @@ let package = Package(
.product(name: "GoogleMapsCore", package: "ios-maps-sdk"),
.product(name: "GoogleMapsBase", package: "ios-maps-sdk")
],
publicHeadersPath: "Sources/GoogleMapsUtils/include"
publicHeadersPath: "include"
),
.target(
name: "GoogleMapsUtilsSwift",
dependencies: [
"GoogleMapsUtils",
.target(name: "GoogleMapsUtils"),
.product(name: "GoogleMaps", package: "ios-maps-sdk"),
.product(name: "GoogleMapsCore", package: "ios-maps-sdk"),
.product(name: "GoogleMapsBase", package: "ios-maps-sdk")
Expand Down
18 changes: 9 additions & 9 deletions Sources/GoogleMapsUtils/include/GMUMarkerClustering.h
Expand Up @@ -13,13 +13,13 @@
* limitations under the License.
*/

#import <Google-Maps-iOS-Utils/GMUCluster.h>
#import <Google-Maps-iOS-Utils/GMUClusterItem.h>
#import <Google-Maps-iOS-Utils/GMUClusterManager.h>
#import <Google-Maps-iOS-Utils/GMUDefaultClusterIconGenerator.h>
#import <Google-Maps-iOS-Utils/GMUDefaultClusterRenderer.h>
#import <Google-Maps-iOS-Utils/GMUGridBasedClusterAlgorithm.h>
#import <Google-Maps-iOS-Utils/GMUNonHierarchicalDistanceBasedAlgorithm.h>
#import <Google-Maps-iOS-Utils/GMUStaticCluster.h>
#import "GMUCluster.h"
#import "GMUClusterItem.h"
#import "GMUClusterManager.h"
#import "GMUDefaultClusterIconGenerator.h"
#import "GMUDefaultClusterRenderer.h"
#import "GMUGridBasedClusterAlgorithm.h"
#import "GMUNonHierarchicalDistanceBasedAlgorithm.h"
#import "GMUStaticCluster.h"

#import "Google-Maps-iOS-Utils/GQTPointQuadTree.h"
#import "GQTPointQuadTree.h"
7 changes: 6 additions & 1 deletion Sources/GoogleMapsUtils/include/GoogleMapsUtils.h
Expand Up @@ -13,7 +13,7 @@
* limitations under the License.
*/

#import <UIKit/UIKit.h"
#import <UIKit/UIKit.h>

//! Project version number for GoogleMapsUtils.
FOUNDATION_EXPORT double GoogleMapsUtilsVersionNumber;
Expand All @@ -26,9 +26,11 @@ FOUNDATION_EXPORT const unsigned char GoogleMapsUtilsVersionString[];
// Heatmap
#import "GMUGradient.h"
#import "GMUHeatmapTileLayer.h"
#import "GMUHeatmapTileLayer+Testing.h"
#import "GMUWeightedLatLng.h"

// Clustering
#import "GMUMarkerClustering.h"
#import "GMUClusterAlgorithm.h"
#import "GMUGridBasedClusterAlgorithm.h"
#import "GMUNonHierarchicalDistanceBasedAlgorithm.h"
Expand All @@ -42,7 +44,9 @@ FOUNDATION_EXPORT const unsigned char GoogleMapsUtilsVersionString[];
#import "GMUClusterIconGenerator.h"
#import "GMUClusterRenderer.h"
#import "GMUDefaultClusterIconGenerator.h"
#import "GMUDefaultClusterIconGenerator+Testing.h"
#import "GMUDefaultClusterRenderer.h"
#import "GMUDefaultClusterRenderer+Testing.h"
#import "GMSMarker+GMUClusteritem.h"

// Geometry
Expand All @@ -58,6 +62,7 @@ FOUNDATION_EXPORT const unsigned char GoogleMapsUtilsVersionString[];
#import "GMUStyle.h"
#import "GMUGeoJSONParser.h"
#import "GMUGeometryRenderer.h"
#import "GMUGeometryRenderer+Testing.h"
#import "GMUKMLParser.h"
#import "GMUStyleMap.h"
#import "GMUPair.h"
Expand Down

0 comments on commit 5b81e60

Please sign in to comment.