-
Notifications
You must be signed in to change notification settings - Fork 673
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Swift Package Manager Support (#411)
* Add support for Swift Package Manager - Add support for Swift Package Manager (SPM 5.3 required) - Fix failing unit tests - Remove redudant unit tests due to public API changes - Fix warnings for test target * Fix broken paths in youtube-ios-player-helper.xcodeproj * Add Swift Package Installation instruction to README.md
- Loading branch information
Ivan Lisovyi
committed
Dec 10, 2021
1 parent
ff5991e
commit cebd3ae
Showing
13 changed files
with
366 additions
and
241 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
// swift-tools-version:5.3 | ||
|
||
import PackageDescription | ||
|
||
let package = Package( | ||
name: "YouTubeiOSPlayerHelper", | ||
platforms: [ | ||
.iOS(.v10) | ||
], | ||
products: [ | ||
.library( | ||
name: "YouTubeiOSPlayerHelper", | ||
targets: ["YouTubeiOSPlayerHelper"] | ||
) | ||
], | ||
targets: [ | ||
.target( | ||
name: "YouTubeiOSPlayerHelper", | ||
path: "Sources", | ||
resources: [ | ||
.process("Assets") | ||
], | ||
publicHeadersPath: "." | ||
) | ||
] | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
155 changes: 107 additions & 48 deletions
155
Project/youtube-player-ios-example/youtube-player-ios-example.xcodeproj/project.pbxproj
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.