Skip to content

Commit

Permalink
update podspec
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergey Krotkih committed Apr 26, 2020
1 parent 3446179 commit e357c1b
Show file tree
Hide file tree
Showing 6 changed files with 65 additions and 42 deletions.
2 changes: 1 addition & 1 deletion Podfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
target 'YTLiveStreaming' do

platform :ios, '11.0'
platform :ios, '11.2'

use_frameworks!

Expand Down
21 changes: 11 additions & 10 deletions Sample/Podfile
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
source 'https://github.com/CocoaPods/Specs.git'

target 'YouTubeLiveVideo' do

platform :ios, '11.0'
use_frameworks!

pod 'GoogleSignIn'
# Use the framework from repo:
# pod 'YTLiveStreaming'
# But You can use the local copy just for development:
pod 'YTLiveStreaming', :path => '../.'

platform :ios, '9.0'
use_frameworks!

pod 'GoogleSignIn'
# Use the framework from repo:
pod 'YTLiveStreaming'
# But You can use the local copy just for development:
#pod 'YTLiveStreaming', :path => '../.'
pod "XCDYouTubeKit", "~> 2.5"

pod "XCDYouTubeKit", "~> 2.5"

end
24 changes: 15 additions & 9 deletions Sample/YouTubeLiveVideo.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@
CreatedOnToolsVersion = 7.3.1;
DevelopmentTeam = N5B5T39W8Y;
LastSwiftMigration = 0920;
ProvisioningStyle = Automatic;
ProvisioningStyle = Manual;
};
};
};
Expand Down Expand Up @@ -336,8 +336,9 @@
inputPaths = (
"${SRCROOT}/Pods/Target Support Files/Pods-YouTubeLiveVideo/Pods-YouTubeLiveVideo-frameworks.sh",
"${BUILT_PRODUCTS_DIR}/Alamofire/Alamofire.framework",
"${BUILT_PRODUCTS_DIR}/AppAuth/AppAuth.framework",
"${BUILT_PRODUCTS_DIR}/GTMAppAuth/GTMAppAuth.framework",
"${BUILT_PRODUCTS_DIR}/GTMSessionFetcher/GTMSessionFetcher.framework",
"${BUILT_PRODUCTS_DIR}/GoogleToolboxForMac/GoogleToolboxForMac.framework",
"${BUILT_PRODUCTS_DIR}/KeychainAccess/KeychainAccess.framework",
"${BUILT_PRODUCTS_DIR}/LFLiveKit/LFLiveKit.framework",
"${BUILT_PRODUCTS_DIR}/Moya/Moya.framework",
Expand All @@ -349,8 +350,9 @@
name = "[CP] Embed Pods Frameworks";
outputPaths = (
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Alamofire.framework",
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/AppAuth.framework",
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/GTMAppAuth.framework",
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/GTMSessionFetcher.framework",
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/GoogleToolboxForMac.framework",
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/KeychainAccess.framework",
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/LFLiveKit.framework",
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Moya.framework",
Expand Down Expand Up @@ -528,19 +530,21 @@
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CLANG_ENABLE_MODULES = YES;
CODE_SIGN_IDENTITY = "iPhone Developer";
CODE_SIGN_IDENTITY = "Apple Development";
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
CODE_SIGN_STYLE = Manual;
DEVELOPMENT_TEAM = N5B5T39W8Y;
FRAMEWORK_SEARCH_PATHS = (
"$(inherited)",
"$(PROJECT_DIR)/Frameworks",
);
INFOPLIST_FILE = YouTubeLiveVideo/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = com.skappledev.YouTubeLiveVideo;
PRODUCT_BUNDLE_IDENTIFIER = com.skdevappleid.YouTubeLiveVideo;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE = "";
PROVISIONING_PROFILE_SPECIFIER = "iOS Development Wildcard";
SWIFT_OBJC_BRIDGING_HEADER = "YouTubeLiveVideo-Bridging-Header.h";
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
SWIFT_SWIFT3_OBJC_INFERENCE = On;
Expand All @@ -555,19 +559,21 @@
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CLANG_ENABLE_MODULES = YES;
CODE_SIGN_IDENTITY = "iPhone Developer";
CODE_SIGN_IDENTITY = "Apple Development";
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
CODE_SIGN_STYLE = Manual;
DEVELOPMENT_TEAM = N5B5T39W8Y;
FRAMEWORK_SEARCH_PATHS = (
"$(inherited)",
"$(PROJECT_DIR)/Frameworks",
);
INFOPLIST_FILE = YouTubeLiveVideo/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = com.skappledev.YouTubeLiveVideo;
PRODUCT_BUNDLE_IDENTIFIER = com.skdevappleid.YouTubeLiveVideo;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE = "";
PROVISIONING_PROFILE_SPECIFIER = "iOS Development Wildcard";
SWIFT_OBJC_BRIDGING_HEADER = "YouTubeLiveVideo-Bridging-Header.h";
SWIFT_SWIFT3_OBJC_INFERENCE = On;
SWIFT_VERSION = 4.2;
Expand Down
12 changes: 6 additions & 6 deletions YTLiveStreaming.podspec
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
Pod::Spec.new do |s|

s.platform = :ios
s.ios.deployment_target = '9.0'
s.ios.deployment_target = '11.2'
s.name = "YTLiveStreaming"
s.description = <<-DESC
YTLiveStreaming is a framework which lets create live broadcasts and video streams on YouTube using the YouTube Live Streaming API.
DESC
s.summary = "YTLiveStreaming is an YouTube Live Streaming Framework"
s.requires_arc = true

s.version = "0.2.12"
s.version = "0.2.14"

# Initialize
# Check podspec
Expand All @@ -20,13 +20,13 @@ Pod::Spec.new do |s|
# git push -u origin master

# Make for new version:
# 1. git tag 0.2.12
# 1. git tag 0.2.14
# 2. git push -u origin master --tags
# 3. pod spec lint YTLiveStreaming.podspec --allow-warnings --swift-version=4.2
# 3. pod spec lint YTLiveStreaming.podspec --allow-warnings --swift-version=5
# Push podspec with the new version info
# Create session:
# 4. pod trunk register sergey.krotkih@gmail.com "Sergey Krotkih" --description="CocoaPods Session for the YTLiveStreaming"
# 5. pod trunk push YTLiveStreaming.podspec --verbose --allow-warnings --swift-version=4.2
# 5. pod trunk push YTLiveStreaming.podspec --verbose --allow-warnings --swift-version=5

s.license = { :type => "MIT", :file => "LICENSE" }
s.author = { "Sergey Krotkih" => "sergey.krotkih@gmail.com" }
Expand All @@ -35,7 +35,7 @@ Pod::Spec.new do |s|
s.source = { :git => "https://github.com/SKrotkih/YTLiveStreaming.git", :tag => s.version.to_s }

s.frameworks = "UIKit"
s.dependency 'Moya', '10.0.0'
s.dependency 'Moya', '14.0.0'
s.dependency 'LFLiveKit'
s.dependency 'SwiftyJSON'
s.dependency 'KeychainAccess'
Expand Down
36 changes: 26 additions & 10 deletions YTLiveStreaming.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -252,13 +252,13 @@
CreatedOnToolsVersion = 8.1;
DevelopmentTeam = N5B5T39W8Y;
LastSwiftMigration = 1030;
ProvisioningStyle = Automatic;
ProvisioningStyle = Manual;
};
7F0478811DD5962C00AB6211 = {
CreatedOnToolsVersion = 8.1;
DevelopmentTeam = N5B5T39W8Y;
LastSwiftMigration = 1030;
ProvisioningStyle = Automatic;
ProvisioningStyle = Manual;
};
};
};
Expand Down Expand Up @@ -414,7 +414,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
IPHONEOS_DEPLOYMENT_TARGET = 11.2;
MTL_ENABLE_DEBUG_INFO = YES;
ONLY_ACTIVE_ARCH = YES;
SDKROOT = iphoneos;
Expand Down Expand Up @@ -471,7 +471,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
IPHONEOS_DEPLOYMENT_TARGET = 11.2;
MTL_ENABLE_DEBUG_INFO = NO;
SDKROOT = iphoneos;
SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
Expand All @@ -487,18 +487,23 @@
baseConfigurationReference = 8E99A8A7F06BCB520FF235F8 /* Pods-YTLiveStreaming.debug.xcconfig */;
buildSettings = {
CLANG_ENABLE_MODULES = YES;
CODE_SIGN_IDENTITY = "";
CODE_SIGN_IDENTITY = "Apple Development";
"CODE_SIGN_IDENTITY[sdk=macosx*]" = "Apple Development";
CODE_SIGN_STYLE = Manual;
DEFINES_MODULE = YES;
DEVELOPMENT_TEAM = N5B5T39W8Y;
DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 1;
DYLIB_INSTALL_NAME_BASE = "@rpath";
INFOPLIST_FILE = YTLiveStreaming/Info.plist;
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
IPHONEOS_DEPLOYMENT_TARGET = 11.2;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = com.skappledev.YTLiveStreaming;
MARKETING_VERSION = 0.2.14;
PRODUCT_BUNDLE_IDENTIFIER = com.skdevappleid.YTLiveStreaming;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";
"PROVISIONING_PROFILE_SPECIFIER[sdk=macosx*]" = "";
SKIP_INSTALL = YES;
SWIFT_OBJC_BRIDGING_HEADER = "";
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
Expand All @@ -511,18 +516,23 @@
baseConfigurationReference = 26D18BB0B0E41F4706947120 /* Pods-YTLiveStreaming.release.xcconfig */;
buildSettings = {
CLANG_ENABLE_MODULES = YES;
CODE_SIGN_IDENTITY = "";
CODE_SIGN_IDENTITY = "Apple Development";
"CODE_SIGN_IDENTITY[sdk=macosx*]" = "Apple Development";
CODE_SIGN_STYLE = Manual;
DEFINES_MODULE = YES;
DEVELOPMENT_TEAM = N5B5T39W8Y;
DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 1;
DYLIB_INSTALL_NAME_BASE = "@rpath";
INFOPLIST_FILE = YTLiveStreaming/Info.plist;
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
IPHONEOS_DEPLOYMENT_TARGET = 11.2;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = com.skappledev.YTLiveStreaming;
MARKETING_VERSION = 0.2.14;
PRODUCT_BUNDLE_IDENTIFIER = com.skdevappleid.YTLiveStreaming;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";
"PROVISIONING_PROFILE_SPECIFIER[sdk=macosx*]" = "";
SKIP_INSTALL = YES;
SWIFT_OBJC_BRIDGING_HEADER = "";
SWIFT_VERSION = 5.0;
Expand All @@ -533,11 +543,14 @@
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
CODE_SIGN_STYLE = Manual;
DEVELOPMENT_TEAM = N5B5T39W8Y;
INFOPLIST_FILE = YTLiveStreamingTests/Info.plist;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = com.skappledev.YTLiveStreamingTests;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";
"PROVISIONING_PROFILE_SPECIFIER[sdk=macosx*]" = "";
SWIFT_VERSION = 5.0;
};
name = Debug;
Expand All @@ -546,11 +559,14 @@
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
CODE_SIGN_STYLE = Manual;
DEVELOPMENT_TEAM = N5B5T39W8Y;
INFOPLIST_FILE = YTLiveStreamingTests/Info.plist;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = com.skappledev.YTLiveStreamingTests;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";
"PROVISIONING_PROFILE_SPECIFIER[sdk=macosx*]" = "";
SWIFT_VERSION = 5.0;
};
name = Release;
Expand Down
12 changes: 6 additions & 6 deletions YTLiveStreaming/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,15 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>0.2.12</string>
<string>$(MARKETING_VERSION)</string>
<key>CFBundleVersion</key>
<string>$(CURRENT_PROJECT_VERSION)</string>
<key>NSAppTransportSecurity</key>
<dict>
<key>NSAllowsArbitraryLoads</key>
<true/>
</dict>
<key>NSPrincipalClass</key>
<string></string>
<key>NSAppTransportSecurity</key>
<dict>
<key>NSAllowsArbitraryLoads</key>
<true/>
</dict>
</dict>
</plist>

0 comments on commit e357c1b

Please sign in to comment.