diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 7e59cc89..43ad1ea4 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,45 +1,66 @@ name: Build - -on: [push] - +on: + - push jobs: - build: - name: Build - runs-on: macos-latest + find_schemes: + name: Find xcode schemes + runs-on: macos-14 + outputs: + schemes: ${{ steps.getSchemes.outputs.schemes}} steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 + - name: xcode version + uses: maxim-lobanov/setup-xcode@v1 + with: + xcode-version: latest-stable + - name: Get schemes + id: getSchemes + run: | + TARGETS=$(xcodebuild -list -json | tr -d "\n") + SCHEMES=$(echo $TARGETS | ruby -e "require 'json'; puts JSON.generate(:scheme => JSON.parse(STDIN.gets)['project']['schemes'])") + echo Found schemes: $SCHEMES + echo "schemes=$SCHEMES" >> $GITHUB_OUTPUT + swift_build: + name: Build with swift + runs-on: macos-14 + steps: + - name: Checkout + uses: actions/checkout@v4 - name: xcode version uses: maxim-lobanov/setup-xcode@v1 with: xcode-version: latest-stable - name: Build Package with swift run: swift build - - name: Set Default Scheme - run: | - scheme_list=$(xcodebuild -list -json | tr -d "\n") - default=$(echo $scheme_list | ruby -e "require 'json'; puts JSON.parse(STDIN.gets)['workspace']['schemes'][0]") - echo $default | cat >default - echo Using default scheme: $default - - name: Build Package with xcodebuild - env: - scheme: ${{ 'default' }} - run: | - if [ $scheme = default ]; then scheme=$(cat default); fi - xcodebuild -scheme $scheme -destination 'platform=iOS Simulator,name=iPhone 13' + xcode_build: + name: Build with xcode + needs: find_schemes + runs-on: macos-14 + strategy: + matrix: ${{ fromJson(needs.find_schemes.outputs.schemes) }} + steps: + - name: Checkout + uses: actions/checkout@v4 + - name: xcode version + uses: maxim-lobanov/setup-xcode@v1 + with: + xcode-version: latest-stable + - name: Build ${{matrix.scheme}} + run: xcodebuild clean build -project ApiVideoPlayer.xcodeproj -scheme "${{matrix.scheme}}" -sdk iphoneos CODE_SIGNING_ALLOWED=NO + verify: + name: Verify package sanity + runs-on: macos-14 + steps: + - name: Checkout + uses: actions/checkout@v4 + - name: xcode version + uses: maxim-lobanov/setup-xcode@v1 + with: + xcode-version: latest-stable - name: Verify cocoapods run: pod lib lint --allow-warnings + - name: Install swiftlint + run: brew install swiftlint - name: Execute swiftlint run: swiftlint - - name: Build Example UIKit - env: - scheme: ${{ 'default' }} - run: | - if [ $scheme = default ]; then scheme=$(cat default); fi - xcodebuild clean build -project Examples/PlayerUIKit/PlayerUIKit.xcodeproj -scheme $scheme -sdk iphoneos - - name: Build Example SwiftUI - env: - scheme: ${{ 'default' }} - run: | - if [ $scheme = default ]; then scheme=$(cat default); fi - xcodebuild clean build -project Examples/PlayerSwiftUI/PlayerSwiftUI.xcodeproj -scheme $scheme -sdk iphoneos \ No newline at end of file diff --git a/Examples/PlayerSwiftUI/PlayerSwiftUI.xcodeproj/project.pbxproj b/Examples/PlayerSwiftUI/PlayerSwiftUI.xcodeproj/project.pbxproj deleted file mode 100644 index d284d58e..00000000 --- a/Examples/PlayerSwiftUI/PlayerSwiftUI.xcodeproj/project.pbxproj +++ /dev/null @@ -1,372 +0,0 @@ -// !$*UTF8*$! -{ - archiveVersion = 1; - classes = { - }; - objectVersion = 56; - objects = { - -/* Begin PBXBuildFile section */ - C734306328F453F900A82721 /* PlayerSwiftUIApp.swift in Sources */ = {isa = PBXBuildFile; fileRef = C734306228F453F900A82721 /* PlayerSwiftUIApp.swift */; }; - C734306528F453F900A82721 /* ContentView.swift in Sources */ = {isa = PBXBuildFile; fileRef = C734306428F453F900A82721 /* ContentView.swift */; }; - C734306728F453F900A82721 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = C734306628F453F900A82721 /* Assets.xcassets */; }; - C734306A28F453F900A82721 /* Preview Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = C734306928F453F900A82721 /* Preview Assets.xcassets */; }; - C772528F29D42AC90027B874 /* ApiVideoPlayer in Frameworks */ = {isa = PBXBuildFile; productRef = C772528E29D42AC90027B874 /* ApiVideoPlayer */; }; -/* End PBXBuildFile section */ - -/* Begin PBXFileReference section */ - C734305F28F453F900A82721 /* PlayerSwiftUI.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = PlayerSwiftUI.app; sourceTree = BUILT_PRODUCTS_DIR; }; - C734306228F453F900A82721 /* PlayerSwiftUIApp.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = PlayerSwiftUIApp.swift; sourceTree = ""; }; - C734306428F453F900A82721 /* ContentView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ContentView.swift; sourceTree = ""; }; - C734306628F453F900A82721 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; - C734306928F453F900A82721 /* Preview Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = "Preview Assets.xcassets"; sourceTree = ""; }; - C734307128F4540D00A82721 /* api.video-swift-player */ = {isa = PBXFileReference; lastKnownFileType = wrapper; name = "api.video-swift-player"; path = ../..; sourceTree = ""; }; - C77D97A629F2CB7C00987B1F /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist; path = Info.plist; sourceTree = ""; }; -/* End PBXFileReference section */ - -/* Begin PBXFrameworksBuildPhase section */ - C734305C28F453F900A82721 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - C772528F29D42AC90027B874 /* ApiVideoPlayer in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXFrameworksBuildPhase section */ - -/* Begin PBXGroup section */ - C734305628F453F900A82721 = { - isa = PBXGroup; - children = ( - C734306128F453F900A82721 /* PlayerSwiftUI */, - C734306028F453F900A82721 /* Products */, - C734307028F4540C00A82721 /* Frameworks */, - ); - sourceTree = ""; - }; - C734306028F453F900A82721 /* Products */ = { - isa = PBXGroup; - children = ( - C734305F28F453F900A82721 /* PlayerSwiftUI.app */, - ); - name = Products; - sourceTree = ""; - }; - C734306128F453F900A82721 /* PlayerSwiftUI */ = { - isa = PBXGroup; - children = ( - C77D97A629F2CB7C00987B1F /* Info.plist */, - C734306228F453F900A82721 /* PlayerSwiftUIApp.swift */, - C734306428F453F900A82721 /* ContentView.swift */, - C734306628F453F900A82721 /* Assets.xcassets */, - C734306828F453F900A82721 /* Preview Content */, - ); - path = PlayerSwiftUI; - sourceTree = ""; - }; - C734306828F453F900A82721 /* Preview Content */ = { - isa = PBXGroup; - children = ( - C734306928F453F900A82721 /* Preview Assets.xcassets */, - ); - path = "Preview Content"; - sourceTree = ""; - }; - C734307028F4540C00A82721 /* Frameworks */ = { - isa = PBXGroup; - children = ( - C734307128F4540D00A82721 /* api.video-swift-player */, - ); - name = Frameworks; - sourceTree = ""; - }; -/* End PBXGroup section */ - -/* Begin PBXNativeTarget section */ - C734305E28F453F900A82721 /* PlayerSwiftUI */ = { - isa = PBXNativeTarget; - buildConfigurationList = C734306D28F453F900A82721 /* Build configuration list for PBXNativeTarget "PlayerSwiftUI" */; - buildPhases = ( - C734305B28F453F900A82721 /* Sources */, - C734305C28F453F900A82721 /* Frameworks */, - C734305D28F453F900A82721 /* Resources */, - ); - buildRules = ( - ); - dependencies = ( - ); - name = PlayerSwiftUI; - packageProductDependencies = ( - C772528E29D42AC90027B874 /* ApiVideoPlayer */, - ); - productName = ExampleSwiftUI; - productReference = C734305F28F453F900A82721 /* PlayerSwiftUI.app */; - productType = "com.apple.product-type.application"; - }; -/* End PBXNativeTarget section */ - -/* Begin PBXProject section */ - C734305728F453F900A82721 /* Project object */ = { - isa = PBXProject; - attributes = { - BuildIndependentTargetsInParallel = 1; - LastSwiftUpdateCheck = 1400; - LastUpgradeCheck = 1400; - TargetAttributes = { - C734305E28F453F900A82721 = { - CreatedOnToolsVersion = 14.0.1; - }; - }; - }; - buildConfigurationList = C734305A28F453F900A82721 /* Build configuration list for PBXProject "PlayerSwiftUI" */; - compatibilityVersion = "Xcode 14.0"; - developmentRegion = en; - hasScannedForEncodings = 0; - knownRegions = ( - en, - Base, - ); - mainGroup = C734305628F453F900A82721; - productRefGroup = C734306028F453F900A82721 /* Products */; - projectDirPath = ""; - projectRoot = ""; - targets = ( - C734305E28F453F900A82721 /* PlayerSwiftUI */, - ); - }; -/* End PBXProject section */ - -/* Begin PBXResourcesBuildPhase section */ - C734305D28F453F900A82721 /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - C734306A28F453F900A82721 /* Preview Assets.xcassets in Resources */, - C734306728F453F900A82721 /* Assets.xcassets in Resources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXResourcesBuildPhase section */ - -/* Begin PBXSourcesBuildPhase section */ - C734305B28F453F900A82721 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - C734306528F453F900A82721 /* ContentView.swift in Sources */, - C734306328F453F900A82721 /* PlayerSwiftUIApp.swift in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXSourcesBuildPhase section */ - -/* Begin XCBuildConfiguration section */ - C734306B28F453F900A82721 /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_ANALYZER_NONNULL = YES; - CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++20"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_ENABLE_OBJC_WEAK = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_DOCUMENTATION_COMMENTS = YES; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = dwarf; - ENABLE_STRICT_OBJC_MSGSEND = YES; - ENABLE_TESTABILITY = YES; - GCC_C_LANGUAGE_STANDARD = gnu11; - GCC_DYNAMIC_NO_PIC = NO; - GCC_NO_COMMON_BLOCKS = YES; - GCC_OPTIMIZATION_LEVEL = 0; - GCC_PREPROCESSOR_DEFINITIONS = ( - "DEBUG=1", - "$(inherited)", - ); - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 16.0; - MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; - MTL_FAST_MATH = YES; - ONLY_ACTIVE_ARCH = YES; - SDKROOT = iphoneos; - SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; - SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - }; - name = Debug; - }; - C734306C28F453F900A82721 /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_ANALYZER_NONNULL = YES; - CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++20"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_ENABLE_OBJC_WEAK = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_DOCUMENTATION_COMMENTS = YES; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - ENABLE_NS_ASSERTIONS = NO; - ENABLE_STRICT_OBJC_MSGSEND = YES; - GCC_C_LANGUAGE_STANDARD = gnu11; - GCC_NO_COMMON_BLOCKS = YES; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 16.0; - MTL_ENABLE_DEBUG_INFO = NO; - MTL_FAST_MATH = YES; - SDKROOT = iphoneos; - SWIFT_COMPILATION_MODE = wholemodule; - SWIFT_OPTIMIZATION_LEVEL = "-O"; - VALIDATE_PRODUCT = YES; - }; - name = Release; - }; - C734306E28F453F900A82721 /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; - CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 1; - DEVELOPMENT_ASSET_PATHS = "\"PlayerSwiftUI/Preview Content\""; - DEVELOPMENT_TEAM = VY3VXRC7P4; - ENABLE_PREVIEWS = YES; - GENERATE_INFOPLIST_FILE = YES; - INFOPLIST_FILE = PlayerSwiftUI/Info.plist; - INFOPLIST_KEY_UIApplicationSceneManifest_Generation = YES; - INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES; - INFOPLIST_KEY_UILaunchScreen_Generation = YES; - INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; - INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; - IPHONEOS_DEPLOYMENT_TARGET = 15.4; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - ); - MARKETING_VERSION = 1.0; - PRODUCT_BUNDLE_IDENTIFIER = video.api.player.PlayerSwiftUI; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_EMIT_LOC_STRINGS = YES; - SWIFT_VERSION = 5.0; - TARGETED_DEVICE_FAMILY = "1,2"; - }; - name = Debug; - }; - C734306F28F453F900A82721 /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; - CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 1; - DEVELOPMENT_ASSET_PATHS = "\"PlayerSwiftUI/Preview Content\""; - DEVELOPMENT_TEAM = VY3VXRC7P4; - ENABLE_PREVIEWS = YES; - GENERATE_INFOPLIST_FILE = YES; - INFOPLIST_FILE = PlayerSwiftUI/Info.plist; - INFOPLIST_KEY_UIApplicationSceneManifest_Generation = YES; - INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES; - INFOPLIST_KEY_UILaunchScreen_Generation = YES; - INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; - INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; - IPHONEOS_DEPLOYMENT_TARGET = 15.4; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - ); - MARKETING_VERSION = 1.0; - PRODUCT_BUNDLE_IDENTIFIER = video.api.player.PlayerSwiftUI; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_EMIT_LOC_STRINGS = YES; - SWIFT_VERSION = 5.0; - TARGETED_DEVICE_FAMILY = "1,2"; - }; - name = Release; - }; -/* End XCBuildConfiguration section */ - -/* Begin XCConfigurationList section */ - C734305A28F453F900A82721 /* Build configuration list for PBXProject "PlayerSwiftUI" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - C734306B28F453F900A82721 /* Debug */, - C734306C28F453F900A82721 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - C734306D28F453F900A82721 /* Build configuration list for PBXNativeTarget "PlayerSwiftUI" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - C734306E28F453F900A82721 /* Debug */, - C734306F28F453F900A82721 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; -/* End XCConfigurationList section */ - -/* Begin XCSwiftPackageProductDependency section */ - C772528E29D42AC90027B874 /* ApiVideoPlayer */ = { - isa = XCSwiftPackageProductDependency; - productName = ApiVideoPlayer; - }; -/* End XCSwiftPackageProductDependency section */ - }; - rootObject = C734305728F453F900A82721 /* Project object */; -} diff --git a/Examples/PlayerSwiftUI/PlayerSwiftUI.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/Examples/PlayerSwiftUI/PlayerSwiftUI.xcodeproj/project.xcworkspace/contents.xcworkspacedata deleted file mode 100644 index 919434a6..00000000 --- a/Examples/PlayerSwiftUI/PlayerSwiftUI.xcodeproj/project.xcworkspace/contents.xcworkspacedata +++ /dev/null @@ -1,7 +0,0 @@ - - - - - diff --git a/Examples/PlayerSwiftUI/PlayerSwiftUI.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/Examples/PlayerSwiftUI/PlayerSwiftUI.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist deleted file mode 100644 index 18d98100..00000000 --- a/Examples/PlayerSwiftUI/PlayerSwiftUI.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +++ /dev/null @@ -1,8 +0,0 @@ - - - - - IDEDidComputeMac32BitWarning - - - diff --git a/Examples/PlayerSwiftUI/PlayerSwiftUI.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved b/Examples/PlayerSwiftUI/PlayerSwiftUI.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved deleted file mode 100644 index ff69920f..00000000 --- a/Examples/PlayerSwiftUI/PlayerSwiftUI.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved +++ /dev/null @@ -1,41 +0,0 @@ -{ - "pins" : [ - { - "identity" : "alamofire", - "kind" : "remoteSourceControl", - "location" : "https://github.com/Alamofire/Alamofire", - "state" : { - "revision" : "78424be314842833c04bc3bef5b72e85fff99204", - "version" : "5.6.4" - } - }, - { - "identity" : "anycodable", - "kind" : "remoteSourceControl", - "location" : "https://github.com/Flight-School/AnyCodable", - "state" : { - "revision" : "862808b2070cd908cb04f9aafe7de83d35f81b05", - "version" : "0.6.7" - } - }, - { - "identity" : "api.video-ios-client", - "kind" : "remoteSourceControl", - "location" : "https://github.com/apivideo/api.video-ios-client", - "state" : { - "revision" : "0f98e2d65c628e6ece85e14879462cf4d76f9647", - "version" : "1.1.1" - } - }, - { - "identity" : "api.video-ios-player-analytics", - "kind" : "remoteSourceControl", - "location" : "https://github.com/apivideo/api.video-ios-player-analytics", - "state" : { - "revision" : "1d479316c75de5045dc12e471351e70a55f32270", - "version" : "1.0.5" - } - } - ], - "version" : 2 -} diff --git a/Examples/PlayerSwiftUI/PlayerSwiftUI.xcodeproj/xcshareddata/xcschemes/PlayerSwiftUI.xcscheme b/Examples/PlayerSwiftUI/PlayerSwiftUI.xcodeproj/xcshareddata/xcschemes/PlayerSwiftUI.xcscheme deleted file mode 100644 index 2b1b31a4..00000000 --- a/Examples/PlayerSwiftUI/PlayerSwiftUI.xcodeproj/xcshareddata/xcschemes/PlayerSwiftUI.xcscheme +++ /dev/null @@ -1,78 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/Examples/PlayerUIKit/PlayerUIKit.xcodeproj/project.pbxproj b/Examples/PlayerUIKit/PlayerUIKit.xcodeproj/project.pbxproj deleted file mode 100644 index db76a26d..00000000 --- a/Examples/PlayerUIKit/PlayerUIKit.xcodeproj/project.pbxproj +++ /dev/null @@ -1,393 +0,0 @@ -// !$*UTF8*$! -{ - archiveVersion = 1; - classes = { - }; - objectVersion = 55; - objects = { - -/* Begin PBXBuildFile section */ - C75C78F027E1E1FA001CA24D /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = C75C78EF27E1E1FA001CA24D /* AppDelegate.swift */; }; - C75C78F227E1E1FA001CA24D /* SceneDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = C75C78F127E1E1FA001CA24D /* SceneDelegate.swift */; }; - C75C78F727E1E1FA001CA24D /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = C75C78F527E1E1FA001CA24D /* Main.storyboard */; }; - C75C78F927E1E1FD001CA24D /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = C75C78F827E1E1FD001CA24D /* Assets.xcassets */; }; - C75C78FC27E1E1FD001CA24D /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = C75C78FA27E1E1FD001CA24D /* LaunchScreen.storyboard */; }; - C7773B6429D44901007897D8 /* ApiVideoPlayer in Frameworks */ = {isa = PBXBuildFile; productRef = C7773B6329D44901007897D8 /* ApiVideoPlayer */; }; - C7922D942811685C00957116 /* PlayerViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = C7922D932811685B00957116 /* PlayerViewController.swift */; }; -/* End PBXBuildFile section */ - -/* Begin PBXFileReference section */ - C75C78EC27E1E1FA001CA24D /* PlayerUIKit.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = PlayerUIKit.app; sourceTree = BUILT_PRODUCTS_DIR; }; - C75C78EF27E1E1FA001CA24D /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; - C75C78F127E1E1FA001CA24D /* SceneDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SceneDelegate.swift; sourceTree = ""; }; - C75C78F627E1E1FA001CA24D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; - C75C78F827E1E1FD001CA24D /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; - C75C78FB27E1E1FD001CA24D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; }; - C75C78FD27E1E1FD001CA24D /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - C7773B6229D448B0007897D8 /* api.video-swift-player */ = {isa = PBXFileReference; lastKnownFileType = wrapper; name = "api.video-swift-player"; path = ../..; sourceTree = ""; }; - C7922D932811685B00957116 /* PlayerViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = PlayerViewController.swift; sourceTree = ""; }; -/* End PBXFileReference section */ - -/* Begin PBXFrameworksBuildPhase section */ - C75C78E927E1E1FA001CA24D /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - C7773B6429D44901007897D8 /* ApiVideoPlayer in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXFrameworksBuildPhase section */ - -/* Begin PBXGroup section */ - C75C78E327E1E1FA001CA24D = { - isa = PBXGroup; - children = ( - C75C78EE27E1E1FA001CA24D /* PlayerUIkit */, - C75C78ED27E1E1FA001CA24D /* Products */, - C7773B6129D448B0007897D8 /* Frameworks */, - ); - sourceTree = ""; - }; - C75C78ED27E1E1FA001CA24D /* Products */ = { - isa = PBXGroup; - children = ( - C75C78EC27E1E1FA001CA24D /* PlayerUIKit.app */, - ); - name = Products; - sourceTree = ""; - }; - C75C78EE27E1E1FA001CA24D /* PlayerUIkit */ = { - isa = PBXGroup; - children = ( - C75C78EF27E1E1FA001CA24D /* AppDelegate.swift */, - C75C78F127E1E1FA001CA24D /* SceneDelegate.swift */, - C75C78F527E1E1FA001CA24D /* Main.storyboard */, - C75C78F827E1E1FD001CA24D /* Assets.xcassets */, - C75C78FA27E1E1FD001CA24D /* LaunchScreen.storyboard */, - C75C78FD27E1E1FD001CA24D /* Info.plist */, - C7922D932811685B00957116 /* PlayerViewController.swift */, - ); - path = PlayerUIkit; - sourceTree = ""; - }; - C7773B6129D448B0007897D8 /* Frameworks */ = { - isa = PBXGroup; - children = ( - C7773B6229D448B0007897D8 /* api.video-swift-player */, - ); - name = Frameworks; - sourceTree = ""; - }; -/* End PBXGroup section */ - -/* Begin PBXNativeTarget section */ - C75C78EB27E1E1FA001CA24D /* PlayerUIKit */ = { - isa = PBXNativeTarget; - buildConfigurationList = C75C790027E1E1FD001CA24D /* Build configuration list for PBXNativeTarget "PlayerUIKit" */; - buildPhases = ( - C75C78E827E1E1FA001CA24D /* Sources */, - C75C78E927E1E1FA001CA24D /* Frameworks */, - C75C78EA27E1E1FA001CA24D /* Resources */, - ); - buildRules = ( - ); - dependencies = ( - ); - name = PlayerUIKit; - packageProductDependencies = ( - C7773B6329D44901007897D8 /* ApiVideoPlayer */, - ); - productName = ExampleiOS; - productReference = C75C78EC27E1E1FA001CA24D /* PlayerUIKit.app */; - productType = "com.apple.product-type.application"; - }; -/* End PBXNativeTarget section */ - -/* Begin PBXProject section */ - C75C78E427E1E1FA001CA24D /* Project object */ = { - isa = PBXProject; - attributes = { - BuildIndependentTargetsInParallel = 1; - LastSwiftUpdateCheck = 1330; - LastUpgradeCheck = 1330; - TargetAttributes = { - C75C78EB27E1E1FA001CA24D = { - CreatedOnToolsVersion = 13.3; - }; - }; - }; - buildConfigurationList = C75C78E727E1E1FA001CA24D /* Build configuration list for PBXProject "PlayerUIKit" */; - compatibilityVersion = "Xcode 13.0"; - developmentRegion = en; - hasScannedForEncodings = 0; - knownRegions = ( - en, - Base, - ); - mainGroup = C75C78E327E1E1FA001CA24D; - packageReferences = ( - ); - productRefGroup = C75C78ED27E1E1FA001CA24D /* Products */; - projectDirPath = ""; - projectRoot = ""; - targets = ( - C75C78EB27E1E1FA001CA24D /* PlayerUIKit */, - ); - }; -/* End PBXProject section */ - -/* Begin PBXResourcesBuildPhase section */ - C75C78EA27E1E1FA001CA24D /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - C75C78FC27E1E1FD001CA24D /* LaunchScreen.storyboard in Resources */, - C75C78F927E1E1FD001CA24D /* Assets.xcassets in Resources */, - C75C78F727E1E1FA001CA24D /* Main.storyboard in Resources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXResourcesBuildPhase section */ - -/* Begin PBXSourcesBuildPhase section */ - C75C78E827E1E1FA001CA24D /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - C75C78F027E1E1FA001CA24D /* AppDelegate.swift in Sources */, - C75C78F227E1E1FA001CA24D /* SceneDelegate.swift in Sources */, - C7922D942811685C00957116 /* PlayerViewController.swift in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXSourcesBuildPhase section */ - -/* Begin PBXVariantGroup section */ - C75C78F527E1E1FA001CA24D /* Main.storyboard */ = { - isa = PBXVariantGroup; - children = ( - C75C78F627E1E1FA001CA24D /* Base */, - ); - name = Main.storyboard; - sourceTree = ""; - }; - C75C78FA27E1E1FD001CA24D /* LaunchScreen.storyboard */ = { - isa = PBXVariantGroup; - children = ( - C75C78FB27E1E1FD001CA24D /* Base */, - ); - name = LaunchScreen.storyboard; - sourceTree = ""; - }; -/* End PBXVariantGroup section */ - -/* Begin XCBuildConfiguration section */ - C75C78FE27E1E1FD001CA24D /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_ANALYZER_NONNULL = YES; - CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++17"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_ENABLE_OBJC_WEAK = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_DOCUMENTATION_COMMENTS = YES; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = dwarf; - ENABLE_STRICT_OBJC_MSGSEND = YES; - ENABLE_TESTABILITY = YES; - GCC_C_LANGUAGE_STANDARD = gnu11; - GCC_DYNAMIC_NO_PIC = NO; - GCC_NO_COMMON_BLOCKS = YES; - GCC_OPTIMIZATION_LEVEL = 0; - GCC_PREPROCESSOR_DEFINITIONS = ( - "DEBUG=1", - "$(inherited)", - ); - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 11.0; - MACOSX_DEPLOYMENT_TARGET = 11.0; - MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; - MTL_FAST_MATH = YES; - ONLY_ACTIVE_ARCH = YES; - SDKROOT = iphoneos; - SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; - SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - }; - name = Debug; - }; - C75C78FF27E1E1FD001CA24D /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_ANALYZER_NONNULL = YES; - CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++17"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_ENABLE_OBJC_WEAK = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_DOCUMENTATION_COMMENTS = YES; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - ENABLE_NS_ASSERTIONS = NO; - ENABLE_STRICT_OBJC_MSGSEND = YES; - GCC_C_LANGUAGE_STANDARD = gnu11; - GCC_NO_COMMON_BLOCKS = YES; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 11.0; - MACOSX_DEPLOYMENT_TARGET = 11.0; - MTL_ENABLE_DEBUG_INFO = NO; - MTL_FAST_MATH = YES; - SDKROOT = iphoneos; - SWIFT_COMPILATION_MODE = wholemodule; - SWIFT_OPTIMIZATION_LEVEL = "-O"; - VALIDATE_PRODUCT = YES; - }; - name = Release; - }; - C75C790127E1E1FD001CA24D /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; - CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 1; - DEVELOPMENT_TEAM = GBC36KP98K; - GENERATE_INFOPLIST_FILE = YES; - INFOPLIST_FILE = PlayerUIKit/Info.plist; - INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES; - INFOPLIST_KEY_UILaunchStoryboardName = LaunchScreen; - INFOPLIST_KEY_UIMainStoryboardFile = Main; - INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; - INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; - IPHONEOS_DEPLOYMENT_TARGET = 11.0; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - ); - MACOSX_DEPLOYMENT_TARGET = 12.0; - MARKETING_VERSION = 1.0; - PRODUCT_BUNDLE_IDENTIFIER = video.api.player.PlayerUIKit; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_EMIT_LOC_STRINGS = YES; - SWIFT_VERSION = 5.0; - TARGETED_DEVICE_FAMILY = "1,2"; - }; - name = Debug; - }; - C75C790227E1E1FD001CA24D /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; - CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 1; - DEVELOPMENT_TEAM = GBC36KP98K; - GENERATE_INFOPLIST_FILE = YES; - INFOPLIST_FILE = PlayerUIKit/Info.plist; - INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES; - INFOPLIST_KEY_UILaunchStoryboardName = LaunchScreen; - INFOPLIST_KEY_UIMainStoryboardFile = Main; - INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; - INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; - IPHONEOS_DEPLOYMENT_TARGET = 11.0; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - ); - MACOSX_DEPLOYMENT_TARGET = 12.0; - MARKETING_VERSION = 1.0; - PRODUCT_BUNDLE_IDENTIFIER = video.api.player.PlayerUIKit; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_EMIT_LOC_STRINGS = YES; - SWIFT_VERSION = 5.0; - TARGETED_DEVICE_FAMILY = "1,2"; - }; - name = Release; - }; -/* End XCBuildConfiguration section */ - -/* Begin XCConfigurationList section */ - C75C78E727E1E1FA001CA24D /* Build configuration list for PBXProject "PlayerUIKit" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - C75C78FE27E1E1FD001CA24D /* Debug */, - C75C78FF27E1E1FD001CA24D /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - C75C790027E1E1FD001CA24D /* Build configuration list for PBXNativeTarget "PlayerUIKit" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - C75C790127E1E1FD001CA24D /* Debug */, - C75C790227E1E1FD001CA24D /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; -/* End XCConfigurationList section */ - -/* Begin XCSwiftPackageProductDependency section */ - C7773B6329D44901007897D8 /* ApiVideoPlayer */ = { - isa = XCSwiftPackageProductDependency; - productName = ApiVideoPlayer; - }; -/* End XCSwiftPackageProductDependency section */ - }; - rootObject = C75C78E427E1E1FA001CA24D /* Project object */; -} diff --git a/Examples/PlayerUIKit/PlayerUIKit.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/Examples/PlayerUIKit/PlayerUIKit.xcodeproj/project.xcworkspace/contents.xcworkspacedata deleted file mode 100644 index 919434a6..00000000 --- a/Examples/PlayerUIKit/PlayerUIKit.xcodeproj/project.xcworkspace/contents.xcworkspacedata +++ /dev/null @@ -1,7 +0,0 @@ - - - - - diff --git a/Examples/PlayerUIKit/PlayerUIKit.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/Examples/PlayerUIKit/PlayerUIKit.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist deleted file mode 100644 index 18d98100..00000000 --- a/Examples/PlayerUIKit/PlayerUIKit.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +++ /dev/null @@ -1,8 +0,0 @@ - - - - - IDEDidComputeMac32BitWarning - - - diff --git a/Examples/PlayerUIKit/PlayerUIKit.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved b/Examples/PlayerUIKit/PlayerUIKit.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved deleted file mode 100644 index d688970b..00000000 --- a/Examples/PlayerUIKit/PlayerUIKit.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved +++ /dev/null @@ -1,41 +0,0 @@ -{ - "pins" : [ - { - "identity" : "alamofire", - "kind" : "remoteSourceControl", - "location" : "https://github.com/Alamofire/Alamofire", - "state" : { - "revision" : "78424be314842833c04bc3bef5b72e85fff99204", - "version" : "5.6.4" - } - }, - { - "identity" : "anycodable", - "kind" : "remoteSourceControl", - "location" : "https://github.com/Flight-School/AnyCodable", - "state" : { - "revision" : "862808b2070cd908cb04f9aafe7de83d35f81b05", - "version" : "0.6.7" - } - }, - { - "identity" : "api.video-swift-client", - "kind" : "remoteSourceControl", - "location" : "https://github.com/apivideo/api.video-swift-client", - "state" : { - "revision" : "ebd726b792dfddad484bc95af92a8cc6e27471ad", - "version" : "1.2.1" - } - }, - { - "identity" : "api.video-swift-player-analytics", - "kind" : "remoteSourceControl", - "location" : "https://github.com/apivideo/api.video-swift-player-analytics", - "state" : { - "revision" : "a9811da994c2dedbd387888c92e292abfd738948", - "version" : "1.1.1" - } - } - ], - "version" : 2 -} diff --git a/Examples/PlayerUIKit/PlayerUIKit.xcodeproj/xcshareddata/xcschemes/PlayerUIKit.xcscheme b/Examples/PlayerUIKit/PlayerUIKit.xcodeproj/xcshareddata/xcschemes/PlayerUIKit.xcscheme deleted file mode 100644 index 3fe6cc8d..00000000 --- a/Examples/PlayerUIKit/PlayerUIKit.xcodeproj/xcshareddata/xcschemes/PlayerUIKit.xcscheme +++ /dev/null @@ -1,79 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/Examples/PlayerUIKit/PlayerUIkit/AppDelegate.swift b/Examples/iOS/AppDelegate.swift similarity index 100% rename from Examples/PlayerUIKit/PlayerUIkit/AppDelegate.swift rename to Examples/iOS/AppDelegate.swift diff --git a/Examples/PlayerSwiftUI/PlayerSwiftUI/Assets.xcassets/AccentColor.colorset/Contents.json b/Examples/iOS/Assets.xcassets/AccentColor.colorset/Contents.json similarity index 100% rename from Examples/PlayerSwiftUI/PlayerSwiftUI/Assets.xcassets/AccentColor.colorset/Contents.json rename to Examples/iOS/Assets.xcassets/AccentColor.colorset/Contents.json diff --git a/Examples/PlayerSwiftUI/PlayerSwiftUI/Assets.xcassets/AppIcon.appiconset/1024.png b/Examples/iOS/Assets.xcassets/AppIcon.appiconset/1024.png similarity index 100% rename from Examples/PlayerSwiftUI/PlayerSwiftUI/Assets.xcassets/AppIcon.appiconset/1024.png rename to Examples/iOS/Assets.xcassets/AppIcon.appiconset/1024.png diff --git a/Examples/PlayerUIKit/PlayerUIkit/Assets.xcassets/AppIcon.appiconset/120 1.png b/Examples/iOS/Assets.xcassets/AppIcon.appiconset/120 1.png similarity index 100% rename from Examples/PlayerUIKit/PlayerUIkit/Assets.xcassets/AppIcon.appiconset/120 1.png rename to Examples/iOS/Assets.xcassets/AppIcon.appiconset/120 1.png diff --git a/Examples/PlayerUIKit/PlayerUIkit/Assets.xcassets/AppIcon.appiconset/120 2.png b/Examples/iOS/Assets.xcassets/AppIcon.appiconset/120 2.png similarity index 100% rename from Examples/PlayerUIKit/PlayerUIkit/Assets.xcassets/AppIcon.appiconset/120 2.png rename to Examples/iOS/Assets.xcassets/AppIcon.appiconset/120 2.png diff --git a/Examples/PlayerUIKit/PlayerUIkit/Assets.xcassets/AppIcon.appiconset/152.png b/Examples/iOS/Assets.xcassets/AppIcon.appiconset/152.png similarity index 100% rename from Examples/PlayerUIKit/PlayerUIkit/Assets.xcassets/AppIcon.appiconset/152.png rename to Examples/iOS/Assets.xcassets/AppIcon.appiconset/152.png diff --git a/Examples/PlayerUIKit/PlayerUIkit/Assets.xcassets/AppIcon.appiconset/167.png b/Examples/iOS/Assets.xcassets/AppIcon.appiconset/167.png similarity index 100% rename from Examples/PlayerUIKit/PlayerUIkit/Assets.xcassets/AppIcon.appiconset/167.png rename to Examples/iOS/Assets.xcassets/AppIcon.appiconset/167.png diff --git a/Examples/PlayerUIKit/PlayerUIkit/Assets.xcassets/AppIcon.appiconset/180.png b/Examples/iOS/Assets.xcassets/AppIcon.appiconset/180.png similarity index 100% rename from Examples/PlayerUIKit/PlayerUIkit/Assets.xcassets/AppIcon.appiconset/180.png rename to Examples/iOS/Assets.xcassets/AppIcon.appiconset/180.png diff --git a/Examples/PlayerUIKit/PlayerUIkit/Assets.xcassets/AppIcon.appiconset/20.png b/Examples/iOS/Assets.xcassets/AppIcon.appiconset/20.png similarity index 100% rename from Examples/PlayerUIKit/PlayerUIkit/Assets.xcassets/AppIcon.appiconset/20.png rename to Examples/iOS/Assets.xcassets/AppIcon.appiconset/20.png diff --git a/Examples/PlayerUIKit/PlayerUIkit/Assets.xcassets/AppIcon.appiconset/29.png b/Examples/iOS/Assets.xcassets/AppIcon.appiconset/29.png similarity index 100% rename from Examples/PlayerUIKit/PlayerUIkit/Assets.xcassets/AppIcon.appiconset/29.png rename to Examples/iOS/Assets.xcassets/AppIcon.appiconset/29.png diff --git a/Examples/PlayerUIKit/PlayerUIkit/Assets.xcassets/AppIcon.appiconset/40 1.png b/Examples/iOS/Assets.xcassets/AppIcon.appiconset/40 1.png similarity index 100% rename from Examples/PlayerUIKit/PlayerUIkit/Assets.xcassets/AppIcon.appiconset/40 1.png rename to Examples/iOS/Assets.xcassets/AppIcon.appiconset/40 1.png diff --git a/Examples/PlayerUIKit/PlayerUIkit/Assets.xcassets/AppIcon.appiconset/40 2.png b/Examples/iOS/Assets.xcassets/AppIcon.appiconset/40 2.png similarity index 100% rename from Examples/PlayerUIKit/PlayerUIkit/Assets.xcassets/AppIcon.appiconset/40 2.png rename to Examples/iOS/Assets.xcassets/AppIcon.appiconset/40 2.png diff --git a/Examples/PlayerUIKit/PlayerUIkit/Assets.xcassets/AppIcon.appiconset/40.png b/Examples/iOS/Assets.xcassets/AppIcon.appiconset/40.png similarity index 100% rename from Examples/PlayerUIKit/PlayerUIkit/Assets.xcassets/AppIcon.appiconset/40.png rename to Examples/iOS/Assets.xcassets/AppIcon.appiconset/40.png diff --git a/Examples/PlayerUIKit/PlayerUIkit/Assets.xcassets/AppIcon.appiconset/58 1.png b/Examples/iOS/Assets.xcassets/AppIcon.appiconset/58 1.png similarity index 100% rename from Examples/PlayerUIKit/PlayerUIkit/Assets.xcassets/AppIcon.appiconset/58 1.png rename to Examples/iOS/Assets.xcassets/AppIcon.appiconset/58 1.png diff --git a/Examples/PlayerUIKit/PlayerUIkit/Assets.xcassets/AppIcon.appiconset/58.png b/Examples/iOS/Assets.xcassets/AppIcon.appiconset/58.png similarity index 100% rename from Examples/PlayerUIKit/PlayerUIkit/Assets.xcassets/AppIcon.appiconset/58.png rename to Examples/iOS/Assets.xcassets/AppIcon.appiconset/58.png diff --git a/Examples/PlayerUIKit/PlayerUIkit/Assets.xcassets/AppIcon.appiconset/60.png b/Examples/iOS/Assets.xcassets/AppIcon.appiconset/60.png similarity index 100% rename from Examples/PlayerUIKit/PlayerUIkit/Assets.xcassets/AppIcon.appiconset/60.png rename to Examples/iOS/Assets.xcassets/AppIcon.appiconset/60.png diff --git a/Examples/PlayerUIKit/PlayerUIkit/Assets.xcassets/AppIcon.appiconset/76.png b/Examples/iOS/Assets.xcassets/AppIcon.appiconset/76.png similarity index 100% rename from Examples/PlayerUIKit/PlayerUIkit/Assets.xcassets/AppIcon.appiconset/76.png rename to Examples/iOS/Assets.xcassets/AppIcon.appiconset/76.png diff --git a/Examples/PlayerUIKit/PlayerUIkit/Assets.xcassets/AppIcon.appiconset/80 1.png b/Examples/iOS/Assets.xcassets/AppIcon.appiconset/80 1.png similarity index 100% rename from Examples/PlayerUIKit/PlayerUIkit/Assets.xcassets/AppIcon.appiconset/80 1.png rename to Examples/iOS/Assets.xcassets/AppIcon.appiconset/80 1.png diff --git a/Examples/PlayerUIKit/PlayerUIkit/Assets.xcassets/AppIcon.appiconset/80.png b/Examples/iOS/Assets.xcassets/AppIcon.appiconset/80.png similarity index 100% rename from Examples/PlayerUIKit/PlayerUIkit/Assets.xcassets/AppIcon.appiconset/80.png rename to Examples/iOS/Assets.xcassets/AppIcon.appiconset/80.png diff --git a/Examples/PlayerUIKit/PlayerUIkit/Assets.xcassets/AppIcon.appiconset/87.png b/Examples/iOS/Assets.xcassets/AppIcon.appiconset/87.png similarity index 100% rename from Examples/PlayerUIKit/PlayerUIkit/Assets.xcassets/AppIcon.appiconset/87.png rename to Examples/iOS/Assets.xcassets/AppIcon.appiconset/87.png diff --git a/Examples/PlayerUIKit/PlayerUIkit/Assets.xcassets/AppIcon.appiconset/Contents.json b/Examples/iOS/Assets.xcassets/AppIcon.appiconset/Contents.json similarity index 100% rename from Examples/PlayerUIKit/PlayerUIkit/Assets.xcassets/AppIcon.appiconset/Contents.json rename to Examples/iOS/Assets.xcassets/AppIcon.appiconset/Contents.json diff --git a/Examples/PlayerSwiftUI/PlayerSwiftUI/Assets.xcassets/Contents.json b/Examples/iOS/Assets.xcassets/Contents.json similarity index 100% rename from Examples/PlayerSwiftUI/PlayerSwiftUI/Assets.xcassets/Contents.json rename to Examples/iOS/Assets.xcassets/Contents.json diff --git a/Examples/PlayerUIKit/PlayerUIkit/Base.lproj/LaunchScreen.storyboard b/Examples/iOS/Base.lproj/LaunchScreen.storyboard similarity index 100% rename from Examples/PlayerUIKit/PlayerUIkit/Base.lproj/LaunchScreen.storyboard rename to Examples/iOS/Base.lproj/LaunchScreen.storyboard diff --git a/Examples/PlayerUIKit/PlayerUIkit/Base.lproj/Main.storyboard b/Examples/iOS/Base.lproj/Main.storyboard similarity index 82% rename from Examples/PlayerUIKit/PlayerUIkit/Base.lproj/Main.storyboard rename to Examples/iOS/Base.lproj/Main.storyboard index 718dfc71..7bb8df63 100644 --- a/Examples/PlayerUIKit/PlayerUIkit/Base.lproj/Main.storyboard +++ b/Examples/iOS/Base.lproj/Main.storyboard @@ -1,18 +1,18 @@ - + - + - + - + diff --git a/Examples/PlayerUIKit/PlayerUIkit/Info.plist b/Examples/iOS/Info.plist similarity index 100% rename from Examples/PlayerUIKit/PlayerUIkit/Info.plist rename to Examples/iOS/Info.plist diff --git a/Examples/PlayerUIKit/PlayerUIkit/PlayerViewController.swift b/Examples/iOS/PlayerViewController.swift similarity index 100% rename from Examples/PlayerUIKit/PlayerUIkit/PlayerViewController.swift rename to Examples/iOS/PlayerViewController.swift diff --git a/Examples/PlayerUIKit/PlayerUIkit/SceneDelegate.swift b/Examples/iOS/SceneDelegate.swift similarity index 100% rename from Examples/PlayerUIKit/PlayerUIkit/SceneDelegate.swift rename to Examples/iOS/SceneDelegate.swift diff --git a/Examples/PlayerUIKit/PlayerUIkit/Assets.xcassets/AccentColor.colorset/Contents.json b/Examples/iOSSwiftUI/Assets.xcassets/AccentColor.colorset/Contents.json similarity index 100% rename from Examples/PlayerUIKit/PlayerUIkit/Assets.xcassets/AccentColor.colorset/Contents.json rename to Examples/iOSSwiftUI/Assets.xcassets/AccentColor.colorset/Contents.json diff --git a/Examples/PlayerUIKit/PlayerUIkit/Assets.xcassets/AppIcon.appiconset/1024.png b/Examples/iOSSwiftUI/Assets.xcassets/AppIcon.appiconset/1024.png similarity index 100% rename from Examples/PlayerUIKit/PlayerUIkit/Assets.xcassets/AppIcon.appiconset/1024.png rename to Examples/iOSSwiftUI/Assets.xcassets/AppIcon.appiconset/1024.png diff --git a/Examples/PlayerSwiftUI/PlayerSwiftUI/Assets.xcassets/AppIcon.appiconset/Contents.json b/Examples/iOSSwiftUI/Assets.xcassets/AppIcon.appiconset/Contents.json similarity index 100% rename from Examples/PlayerSwiftUI/PlayerSwiftUI/Assets.xcassets/AppIcon.appiconset/Contents.json rename to Examples/iOSSwiftUI/Assets.xcassets/AppIcon.appiconset/Contents.json diff --git a/Examples/PlayerSwiftUI/PlayerSwiftUI/Preview Content/Preview Assets.xcassets/Contents.json b/Examples/iOSSwiftUI/Assets.xcassets/Contents.json similarity index 100% rename from Examples/PlayerSwiftUI/PlayerSwiftUI/Preview Content/Preview Assets.xcassets/Contents.json rename to Examples/iOSSwiftUI/Assets.xcassets/Contents.json diff --git a/Examples/PlayerSwiftUI/PlayerSwiftUI/ContentView.swift b/Examples/iOSSwiftUI/ContentView.swift similarity index 100% rename from Examples/PlayerSwiftUI/PlayerSwiftUI/ContentView.swift rename to Examples/iOSSwiftUI/ContentView.swift diff --git a/Examples/iOSSwiftUI/Info.plist b/Examples/iOSSwiftUI/Info.plist new file mode 100644 index 00000000..dd3c9afd --- /dev/null +++ b/Examples/iOSSwiftUI/Info.plist @@ -0,0 +1,25 @@ + + + + + UIApplicationSceneManifest + + UIApplicationSupportsMultipleScenes + + UISceneConfigurations + + UIWindowSceneSessionRoleApplication + + + UISceneConfigurationName + Default Configuration + UISceneDelegateClassName + $(PRODUCT_MODULE_NAME).SceneDelegate + UISceneStoryboardFile + Main + + + + + + diff --git a/Examples/PlayerSwiftUI/PlayerSwiftUI/PlayerSwiftUIApp.swift b/Examples/iOSSwiftUI/PlayerSwiftUIApp.swift similarity index 100% rename from Examples/PlayerSwiftUI/PlayerSwiftUI/PlayerSwiftUIApp.swift rename to Examples/iOSSwiftUI/PlayerSwiftUIApp.swift diff --git a/Examples/PlayerUIKit/PlayerUIkit/Assets.xcassets/Contents.json b/Examples/iOSSwiftUI/Preview Content/Preview Assets.xcassets/Contents.json similarity index 100% rename from Examples/PlayerUIKit/PlayerUIkit/Assets.xcassets/Contents.json rename to Examples/iOSSwiftUI/Preview Content/Preview Assets.xcassets/Contents.json diff --git a/Package.swift b/Package.swift index b3b14b8f..5509cfdf 100644 --- a/Package.swift +++ b/Package.swift @@ -18,8 +18,8 @@ let package = Package( dependencies: [ // Dependencies declare other packages that this package depends on. // .package(url: /* package url */, from: "1.0.0"), - .package(url: "https://github.com/apivideo/api.video-swift-player-analytics", from: "1.1.1"), - .package(url: "https://github.com/apivideo/api.video-swift-client", from: "1.2.1") + .package(url: "https://github.com/apivideo/api.video-swift-player-analytics", exact: "1.1.1"), + .package(url: "https://github.com/apivideo/api.video-swift-client", exact: "1.2.1") ], targets: [ // Targets are the basic building blocks of a package. A target can define a module or a test suite. diff --git a/Sources/ApiVideoPlayer/ApiVideoPlayerController.swift b/Sources/ApiVideoPlayer/Player/ApiVideoPlayerController.swift similarity index 100% rename from Sources/ApiVideoPlayer/ApiVideoPlayerController.swift rename to Sources/ApiVideoPlayer/Player/ApiVideoPlayerController.swift diff --git a/Sources/ApiVideoPlayer/ApiVideoPlayerInformationNowPlaying.swift b/Sources/ApiVideoPlayer/Player/ApiVideoPlayerInformationNowPlaying.swift similarity index 100% rename from Sources/ApiVideoPlayer/ApiVideoPlayerInformationNowPlaying.swift rename to Sources/ApiVideoPlayer/Player/ApiVideoPlayerInformationNowPlaying.swift diff --git a/Sources/ApiVideoPlayer/ApiVideoPlayerResources.swift b/Sources/ApiVideoPlayer/Player/ApiVideoPlayerResources.swift similarity index 100% rename from Sources/ApiVideoPlayer/ApiVideoPlayerResources.swift rename to Sources/ApiVideoPlayer/Player/ApiVideoPlayerResources.swift diff --git a/Sources/ApiVideoPlayer/Delegate/ApiVideoPlayerControllerMulticastDelegate.swift b/Sources/ApiVideoPlayer/Player/Delegate/ApiVideoPlayerControllerMulticastDelegate.swift similarity index 100% rename from Sources/ApiVideoPlayer/Delegate/ApiVideoPlayerControllerMulticastDelegate.swift rename to Sources/ApiVideoPlayer/Player/Delegate/ApiVideoPlayerControllerMulticastDelegate.swift diff --git a/Sources/ApiVideoPlayer/Delegate/ApiVideoPlayerControllerPlayerDelegate.swift b/Sources/ApiVideoPlayer/Player/Delegate/ApiVideoPlayerControllerPlayerDelegate.swift similarity index 100% rename from Sources/ApiVideoPlayer/Delegate/ApiVideoPlayerControllerPlayerDelegate.swift rename to Sources/ApiVideoPlayer/Player/Delegate/ApiVideoPlayerControllerPlayerDelegate.swift diff --git a/Sources/ApiVideoPlayer/Delegate/MulticastDelegate.swift b/Sources/ApiVideoPlayer/Player/Delegate/MulticastDelegate.swift similarity index 100% rename from Sources/ApiVideoPlayer/Delegate/MulticastDelegate.swift rename to Sources/ApiVideoPlayer/Player/Delegate/MulticastDelegate.swift diff --git a/Sources/ApiVideoPlayer/Extensions/AVPlayer+Extensions.swift b/Sources/ApiVideoPlayer/Player/Extensions/AVPlayer+Extensions.swift similarity index 100% rename from Sources/ApiVideoPlayer/Extensions/AVPlayer+Extensions.swift rename to Sources/ApiVideoPlayer/Player/Extensions/AVPlayer+Extensions.swift diff --git a/Sources/ApiVideoPlayer/Extensions/AVPlayerViewController+extensions.swift b/Sources/ApiVideoPlayer/Player/Extensions/AVPlayerViewController+extensions.swift similarity index 100% rename from Sources/ApiVideoPlayer/Extensions/AVPlayerViewController+extensions.swift rename to Sources/ApiVideoPlayer/Player/Extensions/AVPlayerViewController+extensions.swift diff --git a/Sources/ApiVideoPlayer/Extensions/CMTime+Extensions.swift b/Sources/ApiVideoPlayer/Player/Extensions/CMTime+Extensions.swift similarity index 100% rename from Sources/ApiVideoPlayer/Extensions/CMTime+Extensions.swift rename to Sources/ApiVideoPlayer/Player/Extensions/CMTime+Extensions.swift diff --git a/Sources/ApiVideoPlayer/Extensions/Locale+Extensions.swift b/Sources/ApiVideoPlayer/Player/Extensions/Locale+Extensions.swift similarity index 100% rename from Sources/ApiVideoPlayer/Extensions/Locale+Extensions.swift rename to Sources/ApiVideoPlayer/Player/Extensions/Locale+Extensions.swift diff --git a/Sources/ApiVideoPlayer/Extensions/UIButton+Extensions.swift b/Sources/ApiVideoPlayer/Player/Extensions/UIButton+Extensions.swift similarity index 100% rename from Sources/ApiVideoPlayer/Extensions/UIButton+Extensions.swift rename to Sources/ApiVideoPlayer/Player/Extensions/UIButton+Extensions.swift diff --git a/Sources/ApiVideoPlayer/Extensions/UIStackView+Extensions.swift b/Sources/ApiVideoPlayer/Player/Extensions/UIStackView+Extensions.swift similarity index 100% rename from Sources/ApiVideoPlayer/Extensions/UIStackView+Extensions.swift rename to Sources/ApiVideoPlayer/Player/Extensions/UIStackView+Extensions.swift diff --git a/Sources/ApiVideoPlayer/Extensions/URLSession+Extensions.swift b/Sources/ApiVideoPlayer/Player/Extensions/URLSession+Extensions.swift similarity index 100% rename from Sources/ApiVideoPlayer/Extensions/URLSession+Extensions.swift rename to Sources/ApiVideoPlayer/Player/Extensions/URLSession+Extensions.swift diff --git a/Sources/ApiVideoPlayer/Models/ApiVideoPlayerItemFactory.swift b/Sources/ApiVideoPlayer/Player/Models/ApiVideoPlayerItemFactory.swift similarity index 100% rename from Sources/ApiVideoPlayer/Models/ApiVideoPlayerItemFactory.swift rename to Sources/ApiVideoPlayer/Player/Models/ApiVideoPlayerItemFactory.swift diff --git a/Sources/ApiVideoPlayer/Models/ApiVideoUrlFactory.swift b/Sources/ApiVideoPlayer/Player/Models/ApiVideoUrlFactory.swift similarity index 100% rename from Sources/ApiVideoPlayer/Models/ApiVideoUrlFactory.swift rename to Sources/ApiVideoPlayer/Player/Models/ApiVideoUrlFactory.swift diff --git a/Sources/ApiVideoPlayer/Models/Errors.swift b/Sources/ApiVideoPlayer/Player/Models/Errors.swift similarity index 100% rename from Sources/ApiVideoPlayer/Models/Errors.swift rename to Sources/ApiVideoPlayer/Player/Models/Errors.swift diff --git a/Sources/ApiVideoPlayer/Models/NowPlayingData.swift b/Sources/ApiVideoPlayer/Player/Models/NowPlayingData.swift similarity index 100% rename from Sources/ApiVideoPlayer/Models/NowPlayingData.swift rename to Sources/ApiVideoPlayer/Player/Models/NowPlayingData.swift diff --git a/Sources/ApiVideoPlayer/Models/PlayerEvents.swift b/Sources/ApiVideoPlayer/Player/Models/PlayerEvents.swift similarity index 100% rename from Sources/ApiVideoPlayer/Models/PlayerEvents.swift rename to Sources/ApiVideoPlayer/Player/Models/PlayerEvents.swift diff --git a/Sources/ApiVideoPlayer/Models/ScheduledTimer.swift b/Sources/ApiVideoPlayer/Player/Models/ScheduledTimer.swift similarity index 100% rename from Sources/ApiVideoPlayer/Models/ScheduledTimer.swift rename to Sources/ApiVideoPlayer/Player/Models/ScheduledTimer.swift diff --git a/Sources/ApiVideoPlayer/Models/SubtitleLanguage.swift b/Sources/ApiVideoPlayer/Player/Models/SubtitleLanguage.swift similarity index 100% rename from Sources/ApiVideoPlayer/Models/SubtitleLanguage.swift rename to Sources/ApiVideoPlayer/Player/Models/SubtitleLanguage.swift diff --git a/Sources/ApiVideoPlayer/Models/TokenSession.swift b/Sources/ApiVideoPlayer/Player/Models/TokenSession.swift similarity index 100% rename from Sources/ApiVideoPlayer/Models/TokenSession.swift rename to Sources/ApiVideoPlayer/Player/Models/TokenSession.swift diff --git a/Sources/ApiVideoPlayer/Models/VideoOptions.swift b/Sources/ApiVideoPlayer/Player/Models/VideoOptions.swift similarity index 100% rename from Sources/ApiVideoPlayer/Models/VideoOptions.swift rename to Sources/ApiVideoPlayer/Player/Models/VideoOptions.swift diff --git a/Sources/ApiVideoPlayer/Request/RequestsBuilder.swift b/Sources/ApiVideoPlayer/Player/Request/RequestsBuilder.swift similarity index 100% rename from Sources/ApiVideoPlayer/Request/RequestsBuilder.swift rename to Sources/ApiVideoPlayer/Player/Request/RequestsBuilder.swift diff --git a/Sources/ApiVideoPlayer/Request/TasksExecutor.swift b/Sources/ApiVideoPlayer/Player/Request/TasksExecutor.swift similarity index 100% rename from Sources/ApiVideoPlayer/Request/TasksExecutor.swift rename to Sources/ApiVideoPlayer/Player/Request/TasksExecutor.swift diff --git a/Sources/ApiVideoPlayer/Request/TasksExecutorProtocol.swift b/Sources/ApiVideoPlayer/Player/Request/TasksExecutorProtocol.swift similarity index 100% rename from Sources/ApiVideoPlayer/Request/TasksExecutorProtocol.swift rename to Sources/ApiVideoPlayer/Player/Request/TasksExecutorProtocol.swift diff --git a/Sources/ApiVideoPlayer/Views/ActionBarView.swift b/Sources/ApiVideoPlayer/Player/Views/ActionBarView.swift similarity index 100% rename from Sources/ApiVideoPlayer/Views/ActionBarView.swift rename to Sources/ApiVideoPlayer/Player/Views/ActionBarView.swift diff --git a/Sources/ApiVideoPlayer/Views/ApiVideoPlayerView.swift b/Sources/ApiVideoPlayer/Player/Views/ApiVideoPlayerView.swift similarity index 100% rename from Sources/ApiVideoPlayer/Views/ApiVideoPlayerView.swift rename to Sources/ApiVideoPlayer/Player/Views/ApiVideoPlayerView.swift diff --git a/Sources/ApiVideoPlayer/Views/ControlsView.swift b/Sources/ApiVideoPlayer/Player/Views/ControlsView.swift similarity index 100% rename from Sources/ApiVideoPlayer/Views/ControlsView.swift rename to Sources/ApiVideoPlayer/Player/Views/ControlsView.swift diff --git a/Sources/ApiVideoPlayer/Views/SelectableListView.swift b/Sources/ApiVideoPlayer/Player/Views/SelectableListView.swift similarity index 100% rename from Sources/ApiVideoPlayer/Views/SelectableListView.swift rename to Sources/ApiVideoPlayer/Player/Views/SelectableListView.swift diff --git a/Sources/ApiVideoPlayer/Views/TimeSliderView.swift b/Sources/ApiVideoPlayer/Player/Views/TimeSliderView.swift similarity index 100% rename from Sources/ApiVideoPlayer/Views/TimeSliderView.swift rename to Sources/ApiVideoPlayer/Player/Views/TimeSliderView.swift diff --git a/Sources/ApiVideoPlayer/Documentation.docc/Documentation.md b/Sources/Documentation.docc/Documentation.md similarity index 100% rename from Sources/ApiVideoPlayer/Documentation.docc/Documentation.md rename to Sources/Documentation.docc/Documentation.md diff --git a/Sources/ApiVideoPlayer/Documentation.docc/Getting Started.md b/Sources/Documentation.docc/Getting Started.md similarity index 100% rename from Sources/ApiVideoPlayer/Documentation.docc/Getting Started.md rename to Sources/Documentation.docc/Getting Started.md