集成高德 SDK 并替换所有定位相关的 CoreLocation 与 MapKit
This commit is contained in:
20
Podfile
Normal file
20
Podfile
Normal file
@ -0,0 +1,20 @@
|
||||
platform :ios, '16.0'
|
||||
|
||||
target 'suixinkan' do
|
||||
use_frameworks!
|
||||
pod 'AMapLocation-NO-IDFA'
|
||||
pod 'AMap3DMap-NO-IDFA'
|
||||
pod 'AMapSearch-NO-IDFA'
|
||||
end
|
||||
|
||||
target 'suixinkanTests' do
|
||||
inherit! :search_paths
|
||||
end
|
||||
|
||||
post_install do |installer|
|
||||
installer.pods_project.targets.each do |target|
|
||||
target.build_configurations.each do |config|
|
||||
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '16.0'
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user