Skip to content
Merged
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions plugin/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -60,3 +60,12 @@ captures
# External native build folder generated in Android Studio 2.2 and later
.externalNativeBuild
*.tgz

/Packages
xcuserdata/
DerivedData/
.swiftpm/configuration/registries.json
.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata
.netrc
Package.resolved
/.build
6 changes: 3 additions & 3 deletions plugin/CapacitorGoogleMaps.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ Pod::Spec.new do |s|
s.version = package['version']
s.summary = package['description']
s.license = package['license']
s.homepage = 'https://capacitorjs.com'
s.homepage = package['repository']['url']
s.author = package['author']
s.source = { :git => 'https://github.com/ionic-team/capacitor-plugins.git', :tag => package['name'] + '@' + package['version'] }
s.source_files = 'ios/Plugin/**/*.{swift,h,m,c,cc,mm,cpp}', 'google-maps/ios/Plugin/**/*.{swift,h,m,c,cc,mm,cpp}'
s.source = { :git => package['repository']['url'], :tag => s.version.to_s }
s.source_files = 'ios/Sources/**/*.{swift,h,m,c,cc,mm,cpp}'
s.ios.deployment_target = '14.0'
s.dependency 'Capacitor'
s.dependency 'GoogleMaps', '~> 8.4'
Expand Down
32 changes: 32 additions & 0 deletions plugin/Package.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
// swift-tools-version: 5.9
import PackageDescription

let package = Package(
name: "CapacitorGoogleMaps",
platforms: [.iOS(.v14)],
products: [
.library(
name: "CapacitorGoogleMaps",
targets: ["CapacitorGoogleMapsPlugin"])
],
dependencies: [
.package(url: "https://github.com/ionic-team/capacitor-swift-pm.git", from: "7.0.0"),
.package(url: "https://github.com/googlemaps/ios-maps-sdk.git", .upToNextMajor(from:"8.4.0")),
.package(url: "https://github.com/googlemaps/google-maps-ios-utils.git", .upToNextMajor(from:"5.0.0"))
],
targets: [
.target(
name: "CapacitorGoogleMapsPlugin",
dependencies: [
.product(name: "Capacitor", package: "capacitor-swift-pm"),
.product(name: "Cordova", package: "capacitor-swift-pm"),
.product(name: "GoogleMaps", package: "ios-maps-sdk"),
.product(name: "GoogleMapsUtils", package: "google-maps-ios-utils")
],
path: "ios/Sources/CapacitorGoogleMapsPlugin"),
.testTarget(
name: "CapacitorGoogleMapsPluginTests",
dependencies: ["CapacitorGoogleMapsPlugin"],
path: "ios/Tests/CapacitorGoogleMapsPluginTests")
]
)
9 changes: 9 additions & 0 deletions plugin/ios/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@

/Packages
xcuserdata/
DerivedData/
.swiftpm/configuration/registries.json
.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata
.netrc
.DS_Store
.build
643 changes: 0 additions & 643 deletions plugin/ios/Plugin.xcodeproj/project.pbxproj

This file was deleted.

This file was deleted.

This file was deleted.

77 changes: 0 additions & 77 deletions plugin/ios/Plugin.xcodeproj/xcshareddata/xcschemes/Plugin.xcscheme

This file was deleted.

This file was deleted.

10 changes: 0 additions & 10 deletions plugin/ios/Plugin.xcworkspace/contents.xcworkspacedata

This file was deleted.

This file was deleted.

10 changes: 0 additions & 10 deletions plugin/ios/Plugin/CapacitorGoogleMapsPlugin.h

This file was deleted.

40 changes: 0 additions & 40 deletions plugin/ios/Plugin/CapacitorGoogleMapsPlugin.m

This file was deleted.

24 changes: 0 additions & 24 deletions plugin/ios/Plugin/Info.plist

This file was deleted.

22 changes: 0 additions & 22 deletions plugin/ios/PluginTests/Info.plist

This file was deleted.

20 changes: 0 additions & 20 deletions plugin/ios/Podfile

This file was deleted.

Loading