Skip to content

Commit

Permalink
release: 4.0.0-rc
Browse files Browse the repository at this point in the history
  • Loading branch information
rashadatjou committed Aug 17, 2023
0 parents commit e0a0eac
Show file tree
Hide file tree
Showing 63 changed files with 2,705 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/release-deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Release Deploy

on:
release:
types: [published]
workflow_dispatch:
inputs:
newVersion:
description: 'New Version'
default: '4.0.0'
required: true

jobs:
updatePackageSwift:
runs-on: macos-latest

steps:
- uses: actions/checkout@v3
- name: Extract Tag Name
id: tag_name
run: echo "TAG_NAME=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV
if: github.event_name == 'release'
- name: Update Package.swift with release ref
run: ./Scripts/UpdateManifests.bash $TAG_NAME
if: github.event_name == 'release'
- name: Update SDK Manifests with new version
run: ./Scripts/UpdateManifests.bash ${{ github.event.inputs.newVersion }}
if: github.event_name == 'workflow_dispatch'
- name: Create Pull Request
uses: peter-evans/create-pull-request@v5
with:
title: '[Release] Confirm New Version'
base: main
96 changes: 96 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@
# Xcode
#
# gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore

## User settings
xcuserdata/

## compatibility with Xcode 8 and earlier (ignoring not required starting Xcode 9)
*.xcscmblueprint
*.xccheckout

## compatibility with Xcode 3 and earlier (ignoring not required starting Xcode 4)
build/
DerivedData/
*.moved-aside
*.pbxuser
!default.pbxuser
*.mode1v3
!default.mode1v3
*.mode2v3
!default.mode2v3
*.perspectivev3
!default.perspectivev3

## Obj-C/Swift specific
*.hmap

## App packaging
*.ipa
*.dSYM.zip
*.dSYM

## Playgrounds
timeline.xctimeline
playground.xcworkspace

# Swift Package Manager
#
# Add this line if you want to avoid checking in source code from Swift Package Manager dependencies.
# Packages/
# Package.pins
# Package.resolved
# *.xcodeproj
#
# Xcode automatically generates this directory with a .xcworkspacedata file and xcuserdata
# hence it is not needed unless you have added a package configuration file to your project
# .swiftpm

.build/
.swiftpm/config/registries.json
.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata

# CocoaPods
#
# We recommend against adding the Pods directory to your .gitignore. However
# you should judge for yourself, the pros and cons are mentioned at:
# https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control
#
# Pods/

# Carthage
#
# Add this line if you want to avoid checking in source code from Carthage dependencies.
# Carthage/Checkouts

Carthage/Build/

# fastlane
#
# It is recommended to not store the screenshots in the git repo.
# Instead, use fastlane to re-generate the screenshots whenever they are needed.
# For more information about the recommended setup visit:
# https://docs.fastlane.tools/best-practices/source-control/#source-control

fastlane/report.xml
fastlane/Preview.html
fastlane/screenshots/**/*.png
fastlane/test_output

# Code Injection
#
# After new code Injection tools there's a generated folder /iOSInjectionProject
# https://github.com/johnno1962/injectionforxcode

iOSInjectionProject/

# macOS
.DS_Store

# Build process
Archives/
Release/
SourcePackages/

# Node
node_modules
26 changes: 26 additions & 0 deletions Examples.xcworkspace/contents.xcworkspacedata

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

8 changes: 8 additions & 0 deletions Examples.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?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>IDEDidComputeMac32BitWarning</key>
<true/>
</dict>
</plist>
14 changes: 14 additions & 0 deletions Examples.xcworkspace/xcshareddata/swiftpm/Package.resolved
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"pins" : [
{
"identity" : "swift-google-ima-spm",
"kind" : "remoteSourceControl",
"location" : "https://github.com/rashadatjou/swift-google-ima-spm",
"state" : {
"revision" : "46a0a8e8ce3bdf501cb34b69b5c8b66889836ebe",
"version" : "1.2.0"
}
}
],
"version" : 2
}
19 changes: 19 additions & 0 deletions FlowplayerSDK.podspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
require 'json'

VERSION = "4.0.0-rc"
SOURCE_URL = "https://github.com/flowplayer/apple-sdk-releases/releases/download/#{version}/FlowplayerSDK.zip"

Pod::Spec.new do |spec|

spec.name = "FlowplayerSDK"
spec.version = VERSION
spec.summary = "Official Flowplayer SDK designed for the Apple eco-system."
spec.homepage = "https://wowza.com"
spec.license = { :type => "Wowza Commercial License", :file => "LICENSE.md" }
spec.author = "Wowza LLC"
spec.platforms = { :ios => "14.0", :tvos => "14.0" }
spec.swift_version = "5.0"
spec.source = { :http => SOURCE_URL }
spec.vendored_frameworks = 'FlowplayerSDK.xcframework'

end
9 changes: 9 additions & 0 deletions FlowplayerSDK/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
.DS_Store
/.build
/Packages
/*.xcodeproj
xcuserdata/
DerivedData/
.swiftpm/config/registries.json
.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata
.netrc
Binary file added FlowplayerSDK/License.pdf
Binary file not shown.
26 changes: 26 additions & 0 deletions FlowplayerSDK/Package.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
// swift-tools-version: 5.6

import PackageDescription

let version = "4.0.0-rc"

let package = Package(
name: "FlowplayerSDK",
platforms: [
.iOS(.v14),
.tvOS(.v14),
],
products: [
.library(
name: "FlowplayerSDK",
targets: ["FlowplayerSDK"]
),
],
targets: [
.binaryTarget(
name: "FlowplayerSDK",
url: "https://github.com/flowplayer/apple-sdk-releases/releases/download/\(version)/FlowplayerSDK.zip",
checksum: "8d2a99256f69155101c0520ffbe692e622b5288a91d2891cdddb0da94c7623b0"
),
]
)
14 changes: 14 additions & 0 deletions FlowplayerSDK/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# FlowplayerSDK

The official Swift Package for the Wowza Flowplayer Apple SDK.

For more, get started with our official Apple SDK documentation:

- [Wowza Flowplayer iOS SDK](https://developer.wowza.com/docs/wowza-flowplayer/sdks/apple/ios/getting-started/#about-wowza-flowplayer-ios-sdk)
- [Wowza Flowplayer tvOS SDK](https://developer.wowza.com/docs/wowza-flowplayer/sdks/apple/tvos/getting-started/#about-wowza-flowplayer-tvos-sdk) documentation


## Simulator iOS 16.4 and tvOS 16.4 Black Screen
There is currently an issue with DRM content when played via HLS on the simulators on both iOS and tvOS. For some reson only a black screen appears and there is no video output even though there is an audio output for the selected media.

You can read more about it here: https://developer.apple.com/forums/thread/727288
Loading

0 comments on commit e0a0eac

Please sign in to comment.