diff --git a/LLaunchScreen.podspec b/LLaunchScreen.podspec index c77553f..b3b7ab8 100644 --- a/LLaunchScreen.podspec +++ b/LLaunchScreen.podspec @@ -5,9 +5,11 @@ Pod::Spec.new do |s| s.homepage = 'https://github.com/internetwei/LLaunchScreen' s.license = { :type => 'MIT', :file => 'LICENSE' } s.author = { 'internetwei' => 'internetwei@foxmail.com' } - s.source = { :git => 'https://github.com/internetwei/LLaunchScreen.git', :tag => s.version.to_s } + s.source = { :git => 'https://github.com/internetwei/LLaunchScreen', :tag => s.version.to_s } s.ios.deployment_target = '9.0' - s.source_files = 'LLaunchScreen/*' + s.source_files = 'LLaunchScreen/*.swift' + + s.swift_version = '5.0' end diff --git a/LLaunchScreen/LLaunchScreen.swift b/LLaunchScreen/LLaunchScreen.swift index d31bad3..038567c 100644 --- a/LLaunchScreen/LLaunchScreen.swift +++ b/LLaunchScreen/LLaunchScreen.swift @@ -8,7 +8,7 @@ import UIKit -enum LLaunchScreenType: String { +public enum LLaunchScreenType: String { case verticalLight case horizontalLight @@ -30,7 +30,7 @@ private var launchImage_restoreAsBefore = false private var launchImage_repairException = false -class LLaunchScreen: NSObject { +public class LLaunchScreen: NSObject { // MARK: - Public diff --git a/_Pods.xcodeproj b/_Pods.xcodeproj deleted file mode 120000 index 3c5a8e7..0000000 --- a/_Pods.xcodeproj +++ /dev/null @@ -1 +0,0 @@ -Example/Pods/Pods.xcodeproj \ No newline at end of file