Creating and Using Swift Packages - Part 1

Опубликовано: 30 Март 2026
на канале: Coding With Tom
2,930
34

Today we will be using Swift Packages. First we will create a Swift Package with a convenience method. Then we will add a Third party dependency to the Swift Package, Lottie. Lastly we will distribute an XCFramework through a Swift Package to hide the source code.

Chapters:
0:00 Creating a Swift Package with Dependencies
0:12 Creating a Swift Package
3:40 Adding a Local Package
4:55 Adding a Third Part Library as a Swift Package
6:45 Adding a Third Part Library to another Swift Package
10:50 Adding File Resources to a Swift Package
14:20 Creating an XCFramework from a Framework Project
18:30 Using Swift Package to Provide Dependency for XCFramework
20:30 Using an XCFramework as your Swift Package

Source code: https://github.com/codingWithTom/Swif...

Playlist:    • Swift Packages  

Lottie file source: https://lottiefiles.com/animations/an...

Apple Documentation:
https://developer.apple.com/documenta...
https://developer.apple.com/documenta...

Intro song: All That  from Bensound.com
Outro song: Happiness from Bensound.com