Skip to content

Commit

Permalink
Merge pull request #267 from iblacksun/master
Browse files Browse the repository at this point in the history
Swift 5
  • Loading branch information
BrikerMan authored May 7, 2019
2 parents baa92c9 + 07061e1 commit 6e6d289
Show file tree
Hide file tree
Showing 50 changed files with 1,105 additions and 1,459 deletions.
14 changes: 7 additions & 7 deletions BMPlayer.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ s.author = { "Eliyar Eziz" => "eliyar917@gmail.com" }
s.source = { :git => "https://github.com/BrikerMan/BMPlayer.git", :tag => s.version.to_s }
s.social_media_url = 'http://weibo.com/536445669'

s.ios.deployment_target = '8.0'
s.platform = :ios, '8.0'
s.pod_target_xcconfig = { 'SWIFT_VERSION' => '4.2' }
s.ios.deployment_target = '10.0'
s.platform = :ios, '10.0'
s.pod_target_xcconfig = { 'SWIFT_VERSION' => '5.0' }
s.default_subspec = 'Full'

s.subspec 'Core' do |core|
Expand All @@ -30,8 +30,8 @@ s.subspec 'Full' do |full|
full.frameworks = 'UIKit', 'AVFoundation'

full.dependency 'BMPlayer/Core'
full.dependency 'SnapKit', '~> 4.2.0'
full.dependency 'NVActivityIndicatorView', '~> 4.6.1'
full.dependency 'SnapKit', '~> 5.0.0'
full.dependency 'NVActivityIndicatorView', '~> 4.7.0'
end

s.subspec 'CacheSupport' do |cache|
Expand All @@ -40,8 +40,8 @@ s.subspec 'CacheSupport' do |cache|
cache.frameworks = 'UIKit', 'AVFoundation'

cache.dependency 'BMPlayer/Core'
cache.dependency 'SnapKit', '~> 4.2.0'
cache.dependency 'NVActivityIndicatorView', '~> 4.6.1'
cache.dependency 'SnapKit', '~> 5.0.0'
cache.dependency 'NVActivityIndicatorView', '~> 4.7.0'
cache.dependency 'VIMediaCache'
end

Expand Down
25 changes: 14 additions & 11 deletions Example/BMPlayer.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@
isa = PBXProject;
attributes = {
LastSwiftUpdateCheck = 0730;
LastUpgradeCheck = 1010;
LastUpgradeCheck = 1020;
ORGANIZATIONNAME = CocoaPods;
TargetAttributes = {
607FACCF1AFB9204008FA782 = {
Expand All @@ -220,7 +220,7 @@
};
6AAA77071CE18427009745BA = {
CreatedOnToolsVersion = 7.3.1;
LastSwiftMigration = 0900;
LastSwiftMigration = 1020;
};
};
};
Expand All @@ -229,6 +229,7 @@
developmentRegion = English;
hasScannedForEncodings = 0;
knownRegions = (
English,
en,
Base,
);
Expand Down Expand Up @@ -275,7 +276,7 @@
"${PODS_ROOT}/Target Support Files/Pods-BMPlayer_Example/Pods-BMPlayer_Example-frameworks.sh",
"${BUILT_PRODUCTS_DIR}/BMPlayer/BMPlayer.framework",
"${BUILT_PRODUCTS_DIR}/NVActivityIndicatorView/NVActivityIndicatorView.framework",
"${PODS_ROOT}/Reveal-SDK/RevealServer-20/iOS/RevealServer.framework",
"${PODS_ROOT}/Reveal-SDK/RevealServer-22/iOS/RevealServer.framework",
"${BUILT_PRODUCTS_DIR}/SnapKit/SnapKit.framework",
"${BUILT_PRODUCTS_DIR}/SwipeBack/SwipeBack.framework",
"${BUILT_PRODUCTS_DIR}/VIMediaCache/VIMediaCache.framework",
Expand Down Expand Up @@ -363,6 +364,7 @@
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES;
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
CLANG_CXX_LIBRARY = "libc++";
CLANG_ENABLE_MODULES = YES;
Expand Down Expand Up @@ -406,7 +408,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 8.3;
IPHONEOS_DEPLOYMENT_TARGET = 10.0;
MTL_ENABLE_DEBUG_INFO = YES;
ONLY_ACTIVE_ARCH = YES;
SDKROOT = iphoneos;
Expand All @@ -419,6 +421,7 @@
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES;
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
CLANG_CXX_LIBRARY = "libc++";
CLANG_ENABLE_MODULES = YES;
Expand Down Expand Up @@ -455,7 +458,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 8.3;
IPHONEOS_DEPLOYMENT_TARGET = 10.0;
MTL_ENABLE_DEBUG_INFO = NO;
SDKROOT = iphoneos;
SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
Expand All @@ -474,13 +477,13 @@
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
DEVELOPMENT_TEAM = "";
INFOPLIST_FILE = BMPlayer/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
IPHONEOS_DEPLOYMENT_TARGET = 10.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
MODULE_NAME = ExampleApp;
PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.demo.BMPlayer;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";
SWIFT_VERSION = 4.2;
SWIFT_VERSION = 5.0;
};
name = Debug;
};
Expand All @@ -494,13 +497,13 @@
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
DEVELOPMENT_TEAM = "";
INFOPLIST_FILE = BMPlayer/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
IPHONEOS_DEPLOYMENT_TARGET = 10.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
MODULE_NAME = ExampleApp;
PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.demo.BMPlayer;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";
SWIFT_VERSION = 4.2;
SWIFT_VERSION = 5.0;
};
name = Release;
};
Expand All @@ -515,7 +518,7 @@
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = "com.eliyar.BMPlayer-Tests";
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_VERSION = 4.2;
SWIFT_VERSION = 5.0;
};
name = Debug;
};
Expand All @@ -529,7 +532,7 @@
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = "com.eliyar.BMPlayer-Tests";
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_VERSION = 4.2;
SWIFT_VERSION = 5.0;
};
name = Release;
};
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1010"
LastUpgradeVersion = "1020"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,11 @@
"idiom" : "iphone",
"size" : "60x60",
"scale" : "3x"
},
{
"idiom" : "ios-marketing",
"size" : "1024x1024",
"scale" : "1x"
}
],
"info" : {
Expand Down
2 changes: 1 addition & 1 deletion Example/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ end
post_install do |installer|
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings['SWIFT_VERSION'] = '4.2'
config.build_settings['SWIFT_VERSION'] = '5.0'
end
end
end
34 changes: 17 additions & 17 deletions Example/Podfile.lock
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
PODS:
- BMPlayer/CacheSupport (1.2.0):
- BMPlayer/CacheSupport (1.2.1):
- BMPlayer/Core
- NVActivityIndicatorView (~> 4.6.1)
- SnapKit (~> 4.2.0)
- NVActivityIndicatorView (~> 4.7.0)
- SnapKit (~> 5.0.0)
- VIMediaCache
- BMPlayer/Core (1.2.0)
- NVActivityIndicatorView (4.6.1):
- NVActivityIndicatorView/Presenter (= 4.6.1)
- NVActivityIndicatorView/Presenter (4.6.1)
- Reveal-SDK (20)
- SnapKit (4.2.0)
- BMPlayer/Core (1.2.1)
- NVActivityIndicatorView (4.7.0):
- NVActivityIndicatorView/Presenter (= 4.7.0)
- NVActivityIndicatorView/Presenter (4.7.0)
- Reveal-SDK (22)
- SnapKit (5.0.0)
- SwipeBack (1.1.1)
- VIMediaCache (0.3)
- VIMediaCache (0.4)

DEPENDENCIES:
- BMPlayer/CacheSupport (from `../`)
Expand All @@ -31,13 +31,13 @@ EXTERNAL SOURCES:
:path: "../"

SPEC CHECKSUMS:
BMPlayer: 7e279b69b4bc90aaf4150f86b042a5896206ee62
NVActivityIndicatorView: 4ca19fccc84595a78957336a086d00a49be6ce61
Reveal-SDK: 43206a57f575632fd304e85385cc259b5d359e32
SnapKit: fe8a619752f3f27075cc9a90244d75c6c3f27e2a
BMPlayer: ea61ce7332a6a9c9f1287598b0838e5c91952c29
NVActivityIndicatorView: b19ddab2576f805cbe0fb2306cba3476e09a1dea
Reveal-SDK: 1385ab77aa15e9a3e21f798c74bd8e94cb54c651
SnapKit: fd22d10eb9aff484d79a8724eab922c1ddf89bcf
SwipeBack: d6759601b40da1f4161033feb30ab475d7d04322
VIMediaCache: 02c03af2adf2526eddc8ee3b06e41f26e9546f38
VIMediaCache: aa650f82cb114c68a343beb4e67416cf5eb2f3a2

PODFILE CHECKSUM: e6260ad2cccc640a9c4d2b9ffbcf0063728b772b
PODFILE CHECKSUM: e66c01a79736fc724a4cc4cebeac12108b2b73e2

COCOAPODS: 1.6.0
COCOAPODS: 1.6.1
16 changes: 8 additions & 8 deletions Example/Pods/Local Podspecs/BMPlayer.podspec.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

34 changes: 17 additions & 17 deletions Example/Pods/Manifest.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 6e6d289

Please sign in to comment.