Commit 328cc46069dec871521abb569e90653f0da501dd

Authored by 梁星国
1 parent 0e459e15

提交

CNLiveLocationManager.podspec
... ... @@ -8,7 +8,7 @@
8 8  
9 9 Pod::Spec.new do |s|
10 10 s.name = 'CNLiveLocationManager'
11   - s.version = '0.1.4'
  11 + s.version = '0.1.5'
12 12 s.summary = '系统定位'
13 13  
14 14 # This description is used to generate tags and improve search results.
... ... @@ -21,17 +21,17 @@ Pod::Spec.new do |s|
21 21 本地定位
22 22 DESC
23 23  
24   - s.homepage = 'http://bj.gitlab.cnlive.com/ios-team/CNLiveLocationManager'
  24 + s.homepage = 'https://bj.gitlab.cnlive.com/ios-team/CNLiveLocationManager'
25 25 # s.screenshots = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2'
26 26 s.license = { :type => 'MIT', :file => 'LICENSE' }
27 27 s.author = { '梁星国' => 'jyyjkt@qq.com' }
28   - s.source = { :git => 'http://bj.gitlab.cnlive.com/ios-team/CNLiveLocationManager.git', :tag => s.version.to_s }
  28 + s.source = { :git => 'https://bj.gitlab.cnlive.com/ios-team/CNLiveLocationManager.git', :tag => s.version.to_s }
29 29 # s.social_media_url = 'https://twitter.com/<TWITTER_USERNAME>'
30 30  
31 31 s.ios.deployment_target = '9.0'
32 32 s.requires_arc = true
33 33  
34   - s.source_files = 'CNLiveLocationManager/Classes/**/*'
  34 + s.source_files = 'CNLiveLocationManager/Classes/*'
35 35  
36 36 # s.resource_bundles = {
37 37 # 'CNLiveLocationManager' => ['CNLiveLocationManager/Assets/*.png']
... ...
CNLiveLocationManager/Classes/CNLiveLocationManager.m 100644 → 100755
... ... @@ -45,7 +45,7 @@ static CNLiveLocationManager *_manager = nil;
45 45 _locationManager = [[CLLocationManager alloc] init];
46 46 _locationManager.delegate = self;
47 47 _locationManager.desiredAccuracy = kCLLocationAccuracyBest;//精度
48   - _locationManager.distanceFilter = 10.0;
  48 + _locationManager.distanceFilter = 20.0;
49 49  
50 50 // 兼容iOS8.0版本
51 51 /* Info.plist里面加上2项中的一项
... ...
Example/Podfile.lock
... ... @@ -9,7 +9,7 @@ EXTERNAL SOURCES:
9 9 :path: "../"
10 10  
11 11 SPEC CHECKSUMS:
12   - CNLiveLocationManager: 8672fde1869c6dc511b6c6d5ca675042f267a9f3
  12 + CNLiveLocationManager: 9d2d7eb85a1f89b2d8ee54245aeacb6fe0a6b4fa
13 13  
14 14 PODFILE CHECKSUM: e106bfd061a488a2727c340eba565db9974cfe55
15 15  
... ...
Example/Pods/Local Podspecs/CNLiveLocationManager.podspec.json
... ... @@ -3,7 +3,7 @@
3 3 "version": "0.1.5",
4 4 "summary": "系统定位",
5 5 "description": "本地定位",
6   - "homepage": "http://bj.gitlab.cnlive.com/ios-team/CNLiveLocationManager",
  6 + "homepage": "https://bj.gitlab.cnlive.com/ios-team/CNLiveLocationManager",
7 7 "license": {
8 8 "type": "MIT",
9 9 "file": "LICENSE"
... ... @@ -12,12 +12,12 @@
12 12 "梁星国": "jyyjkt@qq.com"
13 13 },
14 14 "source": {
15   - "git": "http://bj.gitlab.cnlive.com/ios-team/CNLiveLocationManager.git",
  15 + "git": "https://bj.gitlab.cnlive.com/ios-team/CNLiveLocationManager.git",
16 16 "tag": "0.1.5"
17 17 },
18 18 "platforms": {
19 19 "ios": "9.0"
20 20 },
21 21 "requires_arc": true,
22   - "source_files": "CNLiveLocationManager/Classes/**/*"
  22 + "source_files": "CNLiveLocationManager/Classes/*"
23 23 }
... ...
Example/Pods/Manifest.lock
... ... @@ -9,7 +9,7 @@ EXTERNAL SOURCES:
9 9 :path: "../"
10 10  
11 11 SPEC CHECKSUMS:
12   - CNLiveLocationManager: 8672fde1869c6dc511b6c6d5ca675042f267a9f3
  12 + CNLiveLocationManager: 9d2d7eb85a1f89b2d8ee54245aeacb6fe0a6b4fa
13 13  
14 14 PODFILE CHECKSUM: e106bfd061a488a2727c340eba565db9974cfe55
15 15  
... ...
Example/Pods/Pods.xcodeproj/project.pbxproj
... ... @@ -9,7 +9,7 @@
9 9 /* Begin PBXBuildFile section */
10 10 33F79652038E4587D8D2633A097B30D3 /* Pods-CNLiveLocationManager_Example-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 10453B910FC1793F2C8225F074D9AA92 /* Pods-CNLiveLocationManager_Example-dummy.m */; };
11 11 3A2A6F21982B19A4CEE03EB65F4A3420 /* Pods-CNLiveLocationManager_Tests-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 6D6B47EAA6A24976EDB088AF49D18EB0 /* Pods-CNLiveLocationManager_Tests-dummy.m */; };
12   - 4E376FB823FE5C23001530E1 /* CNLiveLocationManager.m in Sources */ = {isa = PBXBuildFile; fileRef = 4E376FB723FE5C23001530E1 /* CNLiveLocationManager.m */; };
  12 + 6C142DFF05062D4B724E2FF51D5EC08E /* CNLiveLocationManager.m in Sources */ = {isa = PBXBuildFile; fileRef = 75027BDCA5C4AB3080A073880C48DF01 /* CNLiveLocationManager.m */; };
13 13 7A7D0D4F1B551A9C02AC5877A93A7375 /* CNLiveLocationManager-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 46AF11951A659A9DD5F14D7F49B5523C /* CNLiveLocationManager-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; };
14 14 7BFE4318C5A03AD29730AC1D9C4B5022 /* CNLiveLocationManager-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 6EC598C9D04B7A19CD5BB3234BCF0F98 /* CNLiveLocationManager-dummy.m */; };
15 15 85A63E0D435FCF896B2AA95D25D02B3C /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3212113385A8FBBDB272BD23C409FF61 /* Foundation.framework */; };
... ... @@ -44,30 +44,30 @@
44 44 0AD47D7683F9B3BBD30DADF1DC96CEA3 /* CNLiveLocationManager-Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "CNLiveLocationManager-Info.plist"; sourceTree = "<group>"; };
45 45 10453B910FC1793F2C8225F074D9AA92 /* Pods-CNLiveLocationManager_Example-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-CNLiveLocationManager_Example-dummy.m"; sourceTree = "<group>"; };
46 46 3212113385A8FBBDB272BD23C409FF61 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.2.sdk/System/Library/Frameworks/Foundation.framework; sourceTree = DEVELOPER_DIR; };
47   - 349476C79BF2D4056765C58F94B6DB5D /* CNLiveLocationManager.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = CNLiveLocationManager.framework; sourceTree = BUILT_PRODUCTS_DIR; };
48   - 35ACA9B684990232D4C3867D4B234E79 /* Pods_CNLiveLocationManager_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_CNLiveLocationManager_Example.framework; sourceTree = BUILT_PRODUCTS_DIR; };
49   - 37135D02482C1538B181B009670CBD09 /* CNLiveLocationManager.podspec */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; indentWidth = 2; path = CNLiveLocationManager.podspec; sourceTree = "<group>"; tabWidth = 2; xcLanguageSpecificationIdentifier = xcode.lang.ruby; };
  47 + 349476C79BF2D4056765C58F94B6DB5D /* CNLiveLocationManager.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = CNLiveLocationManager.framework; path = CNLiveLocationManager.framework; sourceTree = BUILT_PRODUCTS_DIR; };
  48 + 35ACA9B684990232D4C3867D4B234E79 /* Pods_CNLiveLocationManager_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = Pods_CNLiveLocationManager_Example.framework; path = "Pods-CNLiveLocationManager_Example.framework"; sourceTree = BUILT_PRODUCTS_DIR; };
  49 + 37135D02482C1538B181B009670CBD09 /* CNLiveLocationManager.podspec */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; indentWidth = 2; lastKnownFileType = text; path = CNLiveLocationManager.podspec; sourceTree = "<group>"; tabWidth = 2; xcLanguageSpecificationIdentifier = xcode.lang.ruby; };
50 50 415643E1684C1080A37C3777301CD71F /* CNLiveLocationManager-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "CNLiveLocationManager-prefix.pch"; sourceTree = "<group>"; };
51 51 46AF11951A659A9DD5F14D7F49B5523C /* CNLiveLocationManager-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "CNLiveLocationManager-umbrella.h"; sourceTree = "<group>"; };
52   - 4E376FB723FE5C23001530E1 /* CNLiveLocationManager.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = CNLiveLocationManager.m; path = CNLiveLocationManager/Classes/CNLiveLocationManager.m; sourceTree = "<group>"; };
53 52 510FFE3BFA000E362AF4CCA3352F0C1B /* Pods-CNLiveLocationManager_Example-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-CNLiveLocationManager_Example-acknowledgements.markdown"; sourceTree = "<group>"; };
54 53 53A74EA12140DCA103B1A2B9EEEE06D9 /* CNLiveLocationManager.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = CNLiveLocationManager.h; path = CNLiveLocationManager/Classes/CNLiveLocationManager.h; sourceTree = "<group>"; };
55 54 55620E8E4178F06D716E8020BB885629 /* Pods-CNLiveLocationManager_Tests-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-CNLiveLocationManager_Tests-umbrella.h"; sourceTree = "<group>"; };
56 55 55CD043040C56DA15F843D083BCD782C /* Pods-CNLiveLocationManager_Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-CNLiveLocationManager_Tests.release.xcconfig"; sourceTree = "<group>"; };
57 56 5824154671CC789CCA6A10816960A547 /* Pods-CNLiveLocationManager_Example.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = "Pods-CNLiveLocationManager_Example.modulemap"; sourceTree = "<group>"; };
58 57 5D2695B4297B79F3006BE89491DC5420 /* CNLiveLocationManager.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = CNLiveLocationManager.xcconfig; sourceTree = "<group>"; };
59   - 6A2CACEE8723EE2A067C72AC64E67917 /* Pods_CNLiveLocationManager_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_CNLiveLocationManager_Tests.framework; sourceTree = BUILT_PRODUCTS_DIR; };
  58 + 6A2CACEE8723EE2A067C72AC64E67917 /* Pods_CNLiveLocationManager_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = Pods_CNLiveLocationManager_Tests.framework; path = "Pods-CNLiveLocationManager_Tests.framework"; sourceTree = BUILT_PRODUCTS_DIR; };
60 59 6D6B47EAA6A24976EDB088AF49D18EB0 /* Pods-CNLiveLocationManager_Tests-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-CNLiveLocationManager_Tests-dummy.m"; sourceTree = "<group>"; };
61 60 6EC598C9D04B7A19CD5BB3234BCF0F98 /* CNLiveLocationManager-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "CNLiveLocationManager-dummy.m"; sourceTree = "<group>"; };
  61 + 75027BDCA5C4AB3080A073880C48DF01 /* CNLiveLocationManager.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = CNLiveLocationManager.m; path = CNLiveLocationManager/Classes/CNLiveLocationManager.m; sourceTree = "<group>"; };
62 62 7838408115791C334943983F2DD285E2 /* Pods-CNLiveLocationManager_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-CNLiveLocationManager_Example.debug.xcconfig"; sourceTree = "<group>"; };
63   - 787DF2B4DF7CE9A1C03177E6699A95D4 /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = LICENSE; sourceTree = "<group>"; };
  63 + 787DF2B4DF7CE9A1C03177E6699A95D4 /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; path = LICENSE; sourceTree = "<group>"; };
64 64 7AE3203D42091DD2ECA165C235B37088 /* Pods-CNLiveLocationManager_Tests-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-CNLiveLocationManager_Tests-acknowledgements.plist"; sourceTree = "<group>"; };
65 65 7B27D6353D1783BE8FDD4621F2340C3D /* Pods-CNLiveLocationManager_Example-Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-CNLiveLocationManager_Example-Info.plist"; sourceTree = "<group>"; };
66 66 7DA751274A2AFA7B5207042DDE6184DD /* Pods-CNLiveLocationManager_Example-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-CNLiveLocationManager_Example-frameworks.sh"; sourceTree = "<group>"; };
67 67 95379C1F935932873A938FC686C25490 /* Pods-CNLiveLocationManager_Example-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-CNLiveLocationManager_Example-umbrella.h"; sourceTree = "<group>"; };
68   - 9D940727FF8FB9C785EB98E56350EF41 /* Podfile */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; indentWidth = 2; name = Podfile; path = ../Podfile; sourceTree = SOURCE_ROOT; tabWidth = 2; xcLanguageSpecificationIdentifier = xcode.lang.ruby; };
  68 + 9D940727FF8FB9C785EB98E56350EF41 /* Podfile */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; indentWidth = 2; lastKnownFileType = text; name = Podfile; path = ../Podfile; sourceTree = SOURCE_ROOT; tabWidth = 2; xcLanguageSpecificationIdentifier = xcode.lang.ruby; };
69 69 AABE7C311A187C4AF32B1E3F1F3A2999 /* Pods-CNLiveLocationManager_Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-CNLiveLocationManager_Tests.debug.xcconfig"; sourceTree = "<group>"; };
70   - D35DD12DBE251AF18A73279C82FA37FB /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = net.daringfireball.markdown; path = README.md; sourceTree = "<group>"; };
  70 + D35DD12DBE251AF18A73279C82FA37FB /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; path = README.md; sourceTree = "<group>"; };
71 71 F9F630DCA356EDD4A65BD69B482E7F95 /* Pods-CNLiveLocationManager_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-CNLiveLocationManager_Example.release.xcconfig"; sourceTree = "<group>"; };
72 72 FC595CC9556726BBE7DC805DB7DF0B18 /* CNLiveLocationManager.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = CNLiveLocationManager.modulemap; sourceTree = "<group>"; };
73 73 FD4876FA44B4B2DDFBC1BA01F241D315 /* Pods-CNLiveLocationManager_Tests.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = "Pods-CNLiveLocationManager_Tests.modulemap"; sourceTree = "<group>"; };
... ... @@ -113,7 +113,7 @@
113 113 isa = PBXGroup;
114 114 children = (
115 115 53A74EA12140DCA103B1A2B9EEEE06D9 /* CNLiveLocationManager.h */,
116   - 4E376FB723FE5C23001530E1 /* CNLiveLocationManager.m */,
  116 + 75027BDCA5C4AB3080A073880C48DF01 /* CNLiveLocationManager.m */,
117 117 9FFDE6BD6C2B1D044B1C21A250E083FD /* Pod */,
118 118 D3DE156DFBD22DF7552F346EDBFCDFB4 /* Support Files */,
119 119 );
... ... @@ -378,7 +378,7 @@
378 378 buildActionMask = 2147483647;
379 379 files = (
380 380 7BFE4318C5A03AD29730AC1D9C4B5022 /* CNLiveLocationManager-dummy.m in Sources */,
381   - 4E376FB823FE5C23001530E1 /* CNLiveLocationManager.m in Sources */,
  381 + 6C142DFF05062D4B724E2FF51D5EC08E /* CNLiveLocationManager.m in Sources */,
382 382 );
383 383 runOnlyForDeploymentPostprocessing = 0;
384 384 };
... ... @@ -561,7 +561,8 @@
561 561 MTL_FAST_MATH = YES;
562 562 PRODUCT_NAME = "$(TARGET_NAME)";
563 563 STRIP_INSTALLED_PRODUCT = NO;
564   - SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
  564 + SWIFT_COMPILATION_MODE = wholemodule;
  565 + SWIFT_OPTIMIZATION_LEVEL = "-O";
565 566 SWIFT_VERSION = 5.0;
566 567 SYMROOT = "${SRCROOT}/../build";
567 568 };
... ...