wenweiwei преди 3 години
родител
ревизия
de3d1e6976

+ 56 - 14
.gitignore

@@ -1,8 +1,22 @@
-# macOS
+# Miscellaneous
+*.class
+*.log
+*.pyc
+*.swp
 .DS_Store
-
+.atom/
+.buildlog/
+.history
+.svn/
 # Xcode
+#
+# gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore
+
+## Build generated
 build/
+DerivedData/
+
+## Various settings
 *.pbxuser
 !default.pbxuser
 *.mode1v3
@@ -12,26 +26,54 @@ build/
 *.perspectivev3
 !default.perspectivev3
 xcuserdata/
-*.xccheckout
-profile
+
+## Other
 *.moved-aside
-DerivedData
+*.xccheckout
+*.xcscmblueprint
+
+## Obj-C/Swift specific
 *.hmap
 *.ipa
+*.dSYM.zip
+*.dSYM
 
-# Bundler
-.bundle
+## Playgrounds
+timeline.xctimeline
+playground.xcworkspace
+
+# Swift Package Manager
+#
+# Add this line if you want to avoid checking in source code from Swift Package Manager dependencies.
+# Packages/
+# Package.pins
+# Package.resolved
+.build/
 
+# CocoaPods
+#
+# We recommend against adding the Pods directory to your .gitignore. However
+# you should judge for yourself, the pros and cons are mentioned at:
+# https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control
+#
+Pods/
+# Podfile.lock
+
+# Carthage
+#
 # Add this line if you want to avoid checking in source code from Carthage dependencies.
 # Carthage/Checkouts
 
 Carthage/Build
 
-# We recommend against adding the Pods directory to your .gitignore. However
-# you should judge for yourself, the pros and cons are mentioned at:
-# https://guides.cocoapods.org/using/using-cocoapods.html#should-i-ignore-the-pods-directory-in-source-control
-# 
-# Note: if you ignore the Pods directory, make sure to uncomment
-# `pod install` in .travis.yml
+# fastlane
 #
-# Pods/
+# It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the
+# screenshots whenever they are needed.
+# For more information about the recommended setup visit:
+# https://docs.fastlane.tools/best-practices/source-control/#source-control
+
+fastlane/report.xml
+fastlane/Preview.html
+fastlane/screenshots/**/*.png
+fastlane/test_output

+ 20 - 26
BFStuckPointKit.podspec

@@ -1,5 +1,5 @@
 #
-# Be sure to run `pod lib lint BFStuckPointKit.podspec' to ensure this is a
+# Be sure to run `pod lib lint BFStuckPoint.podspec' to ensure this is a
 # valid spec before submitting.
 #
 # Any lines starting with a # are optional, but their use is encouraged
@@ -7,36 +7,30 @@
 #
 
 Pod::Spec.new do |s|
-  s.name             = 'BFStuckPointKit'
+  s.name             = 'BFStuckPoint'
   s.version          = '0.1.0'
-  s.summary          = 'A short description of BFStuckPointKit.'
-
-# This description is used to generate tags and improve search results.
-#   * Think: What does it do? Why did you write it? What is the focus?
-#   * Try to keep it short, snappy and to the point.
-#   * Write the description between the DESC delimiters below.
-#   * Finally, don't worry about the indent, CocoaPods strips it!
-
+  s.summary          = '卡点视频库'
+  s.swift_version    = '5.0'
   s.description      = <<-DESC
 TODO: Add long description of the pod here.
                        DESC
 
-  s.homepage         = 'https://github.com/wenweiwei/BFStuckPointKit'
+  s.homepage         = 'https://github.com/iOS/BFStuckPoint'
   # s.screenshots     = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2'
   s.license          = { :type => 'MIT', :file => 'LICENSE' }
-  s.author           = { 'wenweiwei' => 'wenweiwei@piaoquantv.com' }
-  s.source           = { :git => 'https://github.com/wenweiwei/BFStuckPointKit.git', :tag => s.version.to_s }
-  # s.social_media_url = 'https://twitter.com/<TWITTER_USERNAME>'
-
-  s.ios.deployment_target = '9.0'
-
-  s.source_files = 'BFStuckPointKit/Classes/**/*'
-  
-  # s.resource_bundles = {
-  #   'BFStuckPointKit' => ['BFStuckPointKit/Assets/*.png']
-  # }
-
-  # s.public_header_files = 'Pod/Classes/**/*.h'
-  # s.frameworks = 'UIKit', 'MapKit'
-  # s.dependency 'AFNetworking', '~> 2.3'
+  s.author           = { 'harry' => 'hz_hzq@126.com' }
+  s.source           = { :git => 'https://git.yishihui.com/iOS/BFStuckPoint.git', :tag => s.version.to_s }
+  s.ios.deployment_target = '10.0'
+  s.requires_arc = true
+  s.static_framework = true
+  s.pod_target_xcconfig = { 'OTHER_LDFLAGS' => '-all_load','ENABLE_BITCODE' => 'NO' }
+  s.resource_bundles = {
+    'BFStuckPoint_Resources' => ['BFStuckPoint/Assets/**/*']
+  }
+  s.source_files = 'BFStuckPoint/Classes/**/*'
+  s.frameworks = 'UIKit', 'MapKit'
+  s.dependency 'BFCommonKit'
+  s.dependency 'BFNetRequestKit'
+  s.dependency 'BFUIKit'
+  s.dependency 'BFMaterialKit'
 end

+ 0 - 0
BFStuckPointKit/Classes/ReplaceMe.swift


+ 6 - 6
Example/BFStuckPointKit.xcodeproj/project.pbxproj

@@ -28,7 +28,7 @@
 /* End PBXContainerItemProxy section */
 
 /* Begin PBXFileReference section */
-		1033F98CDB79660A8FAE4282 /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; name = LICENSE; path = ../LICENSE; sourceTree = "<group>"; };
+		1033F98CDB79660A8FAE4282 /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = LICENSE; path = ../LICENSE; sourceTree = "<group>"; };
 		1544DDAA4982921CB18DBDE3 /* Pods-BFStuckPointKit_Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-BFStuckPointKit_Tests.debug.xcconfig"; path = "Target Support Files/Pods-BFStuckPointKit_Tests/Pods-BFStuckPointKit_Tests.debug.xcconfig"; sourceTree = "<group>"; };
 		26641B6CD86D24D69B0C05E9 /* Pods_BFStuckPointKit_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_BFStuckPointKit_Tests.framework; sourceTree = BUILT_PRODUCTS_DIR; };
 		607FACD01AFB9204008FA782 /* BFStuckPointKit_Example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = BFStuckPointKit_Example.app; sourceTree = BUILT_PRODUCTS_DIR; };
@@ -44,8 +44,8 @@
 		6D4592EFE6F90ACE64592BF4 /* Pods-BFStuckPointKit_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-BFStuckPointKit_Example.debug.xcconfig"; path = "Target Support Files/Pods-BFStuckPointKit_Example/Pods-BFStuckPointKit_Example.debug.xcconfig"; sourceTree = "<group>"; };
 		78BE2F370736A247B0F555A7 /* Pods_BFStuckPointKit_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_BFStuckPointKit_Example.framework; sourceTree = BUILT_PRODUCTS_DIR; };
 		A4615C63F108F5DC531161A3 /* Pods-BFStuckPointKit_Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-BFStuckPointKit_Tests.release.xcconfig"; path = "Target Support Files/Pods-BFStuckPointKit_Tests/Pods-BFStuckPointKit_Tests.release.xcconfig"; sourceTree = "<group>"; };
-		A73DB87819274DE30F81ACC6 /* BFStuckPointKit.podspec */ = {isa = PBXFileReference; includeInIndex = 1; name = BFStuckPointKit.podspec; path = ../BFStuckPointKit.podspec; sourceTree = "<group>"; };
-		E48B47AEF4B8E8020781BA5F /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; name = README.md; path = ../README.md; sourceTree = "<group>"; };
+		A73DB87819274DE30F81ACC6 /* BFStuckPointKit.podspec */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = BFStuckPointKit.podspec; path = ../BFStuckPointKit.podspec; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.ruby; };
+		E48B47AEF4B8E8020781BA5F /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = net.daringfireball.markdown; name = README.md; path = ../README.md; sourceTree = "<group>"; };
 		E51B31B0CCDD8053D61A14B7 /* Pods-BFStuckPointKit_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-BFStuckPointKit_Example.release.xcconfig"; path = "Target Support Files/Pods-BFStuckPointKit_Example/Pods-BFStuckPointKit_Example.release.xcconfig"; sourceTree = "<group>"; };
 /* End PBXFileReference section */
 
@@ -86,7 +86,6 @@
 				1544DDAA4982921CB18DBDE3 /* Pods-BFStuckPointKit_Tests.debug.xcconfig */,
 				A4615C63F108F5DC531161A3 /* Pods-BFStuckPointKit_Tests.release.xcconfig */,
 			);
-			name = Pods;
 			path = Pods;
 			sourceTree = "<group>";
 		};
@@ -227,6 +226,7 @@
 			developmentRegion = English;
 			hasScannedForEncodings = 0;
 			knownRegions = (
+				English,
 				en,
 				Base,
 			);
@@ -419,7 +419,7 @@
 				GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
 				GCC_WARN_UNUSED_FUNCTION = YES;
 				GCC_WARN_UNUSED_VARIABLE = YES;
-				IPHONEOS_DEPLOYMENT_TARGET = 9.3;
+				IPHONEOS_DEPLOYMENT_TARGET = 10.0;
 				MTL_ENABLE_DEBUG_INFO = YES;
 				ONLY_ACTIVE_ARCH = YES;
 				SDKROOT = iphoneos;
@@ -465,7 +465,7 @@
 				GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
 				GCC_WARN_UNUSED_FUNCTION = YES;
 				GCC_WARN_UNUSED_VARIABLE = YES;
-				IPHONEOS_DEPLOYMENT_TARGET = 9.3;
+				IPHONEOS_DEPLOYMENT_TARGET = 10.0;
 				MTL_ENABLE_DEBUG_INFO = NO;
 				SDKROOT = iphoneos;
 				SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";

+ 10 - 0
Example/BFStuckPointKit.xcworkspace/contents.xcworkspacedata

@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Workspace
+   version = "1.0">
+   <FileRef
+      location = "group:BFStuckPointKit.xcodeproj">
+   </FileRef>
+   <FileRef
+      location = "group:Pods/Pods.xcodeproj">
+   </FileRef>
+</Workspace>

+ 8 - 0
Example/BFStuckPointKit.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist

@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+	<key>IDEDidComputeMac32BitWarning</key>
+	<true/>
+</dict>
+</plist>

+ 6 - 3
Example/Podfile

@@ -1,13 +1,16 @@
 use_frameworks!
 
-platform :ios, '9.0'
+platform :ios, '10.0'
 
 target 'BFStuckPointKit_Example' do
   pod 'BFStuckPointKit', :path => '../'
-
+  pod 'BFCommonKit',            :path => '../../../BFCommonKit/Trunk'
+  pod 'BFNetRequestKit',        :path => '../../../BFNetRequestKit/Trunk'
+  pod 'BFUIKit',                :path => '../../../BFUIKit/Trunk'
+  pod 'BFMaterialKit',          :path => '../../../BFMaterialKit/Trunk'
+  
   target 'BFStuckPointKit_Tests' do
     inherit! :search_paths
 
-    
   end
 end

+ 16 - 0
Example/Podfile.lock

@@ -0,0 +1,16 @@
+PODS:
+  - BFStuckPointKit (0.1.0)
+
+DEPENDENCIES:
+  - BFStuckPointKit (from `../`)
+
+EXTERNAL SOURCES:
+  BFStuckPointKit:
+    :path: "../"
+
+SPEC CHECKSUMS:
+  BFStuckPointKit: 88dceb906c9cfbc3a95e6f6e1ee8f13d5e5b1dc1
+
+PODFILE CHECKSUM: 6412502f11480e3867515908964b24f66a8fcacf
+
+COCOAPODS: 1.11.2