Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Podfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
platform :ios, '12.1'
platform :ios, '10.0'

def shared
use_frameworks!
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ To integrate YTLiveStreaming into your Xcode project using CocoaPods, specify it

```ruby
source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '12.1'
platform :ios, '10.0'
use_frameworks!

target '<Your Target Name>' do
Expand Down
6 changes: 3 additions & 3 deletions Sample/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<plist version="1.0">
<dict>
<key>API_KEY</key>
<string></string>
<string>AIzaSyAmeEwjm6SAOjRj1j_Rld4MPm2A35U5gw8</string>
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleDisplayName</key>
Expand All @@ -29,14 +29,14 @@
<string>Editor</string>
<key>CFBundleURLSchemes</key>
<array>
<string>com.googleusercontent.apps.1052952934375-blc4e3c9vv4puqls7ujnpmb3b6vij35j</string>
<string>com.googleusercontent.apps.553813139343-auvgu7bvp5u1majsou1j63omndhr2uim</string>
</array>
</dict>
</array>
<key>CFBundleVersion</key>
<string>$(CURRENT_PROJECT_VERSION)</string>
<key>CLIENT_ID</key>
<string></string>
<string>553813139343-auvgu7bvp5u1majsou1j63omndhr2uim.apps.googleusercontent.com</string>
<key>LSRequiresIPhoneOS</key>
<true/>
<key>NSAppTransportSecurity</key>
Expand Down
34 changes: 22 additions & 12 deletions Sample/LiveEvents.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@
7FA74D60260B3C0E0069DA8A /* NewStream.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7FA74D5F260B3C0E0069DA8A /* NewStream.swift */; };
7FA950022032C5750083B23B /* GoogleUser.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7FA950002032C5750083B23B /* GoogleUser.swift */; };
7FA950032032C5750083B23B /* GoogleSignInInteractor.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7FA950012032C5750083B23B /* GoogleSignInInteractor.swift */; };
7FAF9E92246187B900C8B81B /* Config.plist in Resources */ = {isa = PBXBuildFile; fileRef = 7FAF9E91246187B900C8B81B /* Config.plist */; };
7FB8A42B1DD23C3100955C2D /* LFLivePreview.m in Sources */ = {isa = PBXBuildFile; fileRef = 7FB8A42A1DD23C3100955C2D /* LFLivePreview.m */; };
7FB8A42D1DD23F8400955C2D /* LFLiveViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7FB8A42C1DD23F8400955C2D /* LFLiveViewController.swift */; };
7FBC71732653D993001DDAE7 /* SwiftUiVideoPlayerViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7FBC71722653D993001DDAE7 /* SwiftUiVideoPlayerViewController.swift */; };
Expand Down Expand Up @@ -98,6 +97,15 @@
name = "Embed Frameworks";
runOnlyForDeploymentPostprocessing = 0;
};
BA38D6682682E11300BA439F /* CopyFiles */ = {
isa = PBXCopyFilesBuildPhase;
buildActionMask = 2147483647;
dstPath = "";
dstSubfolderSpec = 7;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXCopyFilesBuildPhase section */

/* Begin PBXFileReference section */
Expand Down Expand Up @@ -170,7 +178,6 @@
7FA74D5F260B3C0E0069DA8A /* NewStream.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = NewStream.swift; sourceTree = "<group>"; };
7FA950002032C5750083B23B /* GoogleUser.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = GoogleUser.swift; sourceTree = "<group>"; };
7FA950012032C5750083B23B /* GoogleSignInInteractor.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = GoogleSignInInteractor.swift; sourceTree = "<group>"; };
7FAF9E91246187B900C8B81B /* Config.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist; path = Config.plist; sourceTree = SOURCE_ROOT; };
7FB8A4291DD23C3100955C2D /* LFLivePreview.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = LFLivePreview.h; sourceTree = "<group>"; };
7FB8A42A1DD23C3100955C2D /* LFLivePreview.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = LFLivePreview.m; sourceTree = "<group>"; };
7FB8A42C1DD23F8400955C2D /* LFLiveViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = LFLiveViewController.swift; sourceTree = "<group>"; };
Expand All @@ -184,6 +191,7 @@
A144B4F6FBDD3317B5035D73 /* Pods-LiveEvents.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-LiveEvents.debug.xcconfig"; path = "Pods/Target Support Files/Pods-LiveEvents/Pods-LiveEvents.debug.xcconfig"; sourceTree = "<group>"; };
A44F9CE8429BD266A7AF37D0 /* Pods-LiveEvents-LiveEventsTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-LiveEvents-LiveEventsTests.release.xcconfig"; path = "Pods/Target Support Files/Pods-LiveEvents-LiveEventsTests/Pods-LiveEvents-LiveEventsTests.release.xcconfig"; sourceTree = "<group>"; };
B30E5B8AAAEDC735322F3362 /* Pods_LiveEvents_LiveEventsTests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_LiveEvents_LiveEventsTests.framework; sourceTree = BUILT_PRODUCTS_DIR; };
BA38D6C02682E3D800BA439F /* Config.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Config.plist; sourceTree = "<group>"; };
F39C606421D10E92A92EBF67 /* Pods-LiveEvents-LiveEventsTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-LiveEvents-LiveEventsTests.debug.xcconfig"; path = "Pods/Target Support Files/Pods-LiveEvents-LiveEventsTests/Pods-LiveEvents-LiveEventsTests.debug.xcconfig"; sourceTree = "<group>"; };
FC305E81DB8C9398569AE585 /* Pods_LiveEvents.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_LiveEvents.framework; sourceTree = BUILT_PRODUCTS_DIR; };
/* End PBXFileReference section */
Expand Down Expand Up @@ -346,12 +354,12 @@
isa = PBXGroup;
children = (
7F1E96C62546B95A00638965 /* Constants.swift */,
7FAF9E91246187B900C8B81B /* Config.plist */,
7F53B1B32030B4B300E09CFA /* AppDelegate.swift */,
7F53B1B62030B4B400E09CFA /* LiveEvents-Bridging-Header.h */,
7F8FD2A3245940530041CF36 /* README.md */,
7F678A8625FF4A0400F5FB2C /* .gitignore */,
7F678A8525FF499D00F5FB2C /* .swiftlint.yml */,
BA38D6C02682E3D800BA439F /* Config.plist */,
);
name = "Supporting Files";
path = Resources;
Expand Down Expand Up @@ -673,6 +681,7 @@
7F0478C11DD599DD00AB6211 /* Embed Frameworks */,
7853DD346448FB0999341CFA /* [CP] Copy Pods Resources */,
7F678A8225FF490200F5FB2C /* ShellScript */,
BA38D6682682E11300BA439F /* CopyFiles */,
);
buildRules = (
);
Expand Down Expand Up @@ -702,9 +711,9 @@
};
7F9274A71DBDCAD00051DE6B = {
CreatedOnToolsVersion = 7.3.1;
DevelopmentTeam = N5B5T39W8Y;
DevelopmentTeam = 57NQC2SA65;
LastSwiftMigration = 1240;
ProvisioningStyle = Manual;
ProvisioningStyle = Automatic;
};
};
};
Expand Down Expand Up @@ -743,7 +752,6 @@
7F53B1AB2030724200E09CFA /* Main.storyboard in Resources */,
7F9274B31DBDCAD00051DE6B /* Assets.xcassets in Resources */,
7F8FD2A4245940530041CF36 /* README.md in Resources */,
7FAF9E92246187B900C8B81B /* Config.plist in Resources */,
7F53B1AA2030724200E09CFA /* LaunchScreen.storyboard in Resources */,
7FE331DE2647A42700D412AE /* LiveBroadcastListModel.json in Resources */,
);
Expand Down Expand Up @@ -1244,12 +1252,13 @@
CLANG_ENABLE_MODULES = YES;
CODE_SIGN_IDENTITY = "Apple Development";
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
CODE_SIGN_STYLE = Manual;
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 6;
DEVELOPMENT_TEAM = N5B5T39W8Y;
DEVELOPMENT_TEAM = 57NQC2SA65;
FRAMEWORK_SEARCH_PATHS = (
"$(inherited)",
"$(PROJECT_DIR)/Frameworks",
"$(PROJECT_DIR)",
);
INFOPLIST_FILE = "$(SRCROOT)/Info.plist";
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
Expand All @@ -1258,7 +1267,7 @@
PRODUCT_BUNDLE_IDENTIFIER = com.skdevappleid.liveevents;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE = "";
PROVISIONING_PROFILE_SPECIFIER = "iOS Development Wildcard";
PROVISIONING_PROFILE_SPECIFIER = "";
SWIFT_OBJC_BRIDGING_HEADER = "LiveEvents-Bridging-Header.h";
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
SWIFT_SWIFT3_OBJC_INFERENCE = On;
Expand All @@ -1275,12 +1284,13 @@
CLANG_ENABLE_MODULES = YES;
CODE_SIGN_IDENTITY = "Apple Development";
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
CODE_SIGN_STYLE = Manual;
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 6;
DEVELOPMENT_TEAM = N5B5T39W8Y;
DEVELOPMENT_TEAM = 57NQC2SA65;
FRAMEWORK_SEARCH_PATHS = (
"$(inherited)",
"$(PROJECT_DIR)/Frameworks",
"$(PROJECT_DIR)",
);
INFOPLIST_FILE = "$(SRCROOT)/Info.plist";
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
Expand All @@ -1289,7 +1299,7 @@
PRODUCT_BUNDLE_IDENTIFIER = com.skdevappleid.liveevents;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE = "";
PROVISIONING_PROFILE_SPECIFIER = "iOS Development Wildcard";
PROVISIONING_PROFILE_SPECIFIER = "";
SWIFT_OBJC_BRIDGING_HEADER = "LiveEvents-Bridging-Header.h";
SWIFT_SWIFT3_OBJC_INFERENCE = On;
SWIFT_VERSION = 5.0;
Expand Down
2 changes: 1 addition & 1 deletion Sample/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ source 'https://github.com/CocoaPods/Specs.git'

target 'LiveEvents' do

platform :ios, '12.1'
platform :ios, '10.0'
use_frameworks!

pod 'GoogleSignIn'
Expand Down
10 changes: 10 additions & 0 deletions Sample/Resources/Config.plist
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<?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>API_KEY</key>
<string>AIzaSyAmeEwjm6SAOjRj1j_Rld4MPm2A35U5gw8</string>
<key>CLIENT_ID</key>
<string>553813139343-auvgu7bvp5u1majsou1j63omndhr2uim.apps.googleusercontent.com</string>
</dict>
</plist>
2 changes: 1 addition & 1 deletion YTLiveStreaming.podspec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Pod::Spec.new do |s|

s.platform = :ios
s.ios.deployment_target = '12.1'
s.ios.deployment_target = '10.0'
s.swift_versions = "5.0"
s.name = "YTLiveStreaming"
s.description = <<-DESC
Expand Down
10 changes: 6 additions & 4 deletions YTLiveStreaming.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -525,7 +525,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 12.1;
IPHONEOS_DEPLOYMENT_TARGET = 10.0;
MTL_ENABLE_DEBUG_INFO = YES;
ONLY_ACTIVE_ARCH = YES;
SDKROOT = iphoneos;
Expand Down Expand Up @@ -583,7 +583,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 12.1;
IPHONEOS_DEPLOYMENT_TARGET = 10.0;
MTL_ENABLE_DEBUG_INFO = NO;
SDKROOT = iphoneos;
SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
Expand All @@ -609,7 +609,7 @@
DYLIB_INSTALL_NAME_BASE = "@rpath";
INFOPLIST_FILE = YTLiveStreaming/Info.plist;
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
IPHONEOS_DEPLOYMENT_TARGET = 12.1;
IPHONEOS_DEPLOYMENT_TARGET = 10.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
MARKETING_VERSION = 0.2.19;
PRODUCT_BUNDLE_IDENTIFIER = com.skdevappleid.YTLiveStreaming;
Expand Down Expand Up @@ -638,7 +638,7 @@
DYLIB_INSTALL_NAME_BASE = "@rpath";
INFOPLIST_FILE = YTLiveStreaming/Info.plist;
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
IPHONEOS_DEPLOYMENT_TARGET = 12.1;
IPHONEOS_DEPLOYMENT_TARGET = 10.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
MARKETING_VERSION = 0.2.19;
PRODUCT_BUNDLE_IDENTIFIER = com.skdevappleid.YTLiveStreaming;
Expand All @@ -659,6 +659,7 @@
CODE_SIGN_STYLE = Manual;
DEVELOPMENT_TEAM = N5B5T39W8Y;
INFOPLIST_FILE = YTLiveStreamingTests/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 10.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
MACOSX_DEPLOYMENT_TARGET = 10.15;
PRODUCT_BUNDLE_IDENTIFIER = com.skappledev.YTLiveStreamingTests;
Expand All @@ -677,6 +678,7 @@
CODE_SIGN_STYLE = Manual;
DEVELOPMENT_TEAM = N5B5T39W8Y;
INFOPLIST_FILE = YTLiveStreamingTests/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 10.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
MACOSX_DEPLOYMENT_TARGET = 10.15;
PRODUCT_BUNDLE_IDENTIFIER = com.skappledev.YTLiveStreamingTests;
Expand Down