How to Make a Swift Package! (Xcode)

  Переглядів 16,714

Jared Davidson

2 роки тому

Today we set up our first Swift Package and upload it to GitHub and use it in an example project! Enjoy!
Source Code - github.com/Archetapp/MySwiftPackage
Music by Vexento
Jarvis Desk - goo.gl/JbVrWF
Fully Lumen Lamp - goo.gl/ndZUKD
Topo Anti-Fatigue Mat - goo.gl/sZ2n52
~Social Stuff~
Website - www.archet.app
Twitter/Instagram - @archetapp

КОМЕНТАРІ: 31
@Archetapp
@Archetapp 2 роки тому
Leave a like if you liked the video! Helps the YT Algorithm. :] Let me know some tutorials you'd like to see going forward! :D
@RobertHolzapfel
@RobertHolzapfel 16 днів тому
You are so quick in fixing things ... amazing.
@cylenalag
@cylenalag 2 роки тому
Omg I haven't seen a video from you in years! Looking good man! Thanks for the helpful tutorials as always!
@Archetapp
@Archetapp 2 роки тому
Lol, yeah, I’ve been very infrequent, but I do what I can. Thanks for watching over the years though!
@tuancao85
@tuancao85 Місяць тому
Such an awesome tutorial, Thanks Jared.
@daniel.iosdev
@daniel.iosdev Рік тому
Thank you Jared! This is amazing 🎯
@mhasan341
@mhasan341 2 роки тому
Great content as always
@atulvishnoi1716
@atulvishnoi1716 Рік тому
Hi Davidson very useful Video thanks for it. However just wanted to know how can we add a cocoapod dependency to our swiftPackage.
@AaronAnthony88
@AaronAnthony88 6 місяців тому
Very nice!
@kvancersoy8423
@kvancersoy8423 2 роки тому
@Jared Hi Jared I've tried all but when type .module for bundle it says 'module' is inaccessible due to 'internal' protection level any suggestions ?
@ajaydhasal9170
@ajaydhasal9170 7 місяців тому
Hi, This is a great to start the library development. Can we access the .plist file to grant permission for location, photos etc. Looking for your response.
@user-hg3sr6wy6k
@user-hg3sr6wy6k Місяць тому
Can you post an updated video for any changes, awesome video
@sazidhasandip6854
@sazidhasandip6854 10 місяців тому
I am totally surprised with the transition.. the very first video from you i had(if i am not wrong) seen of you is about trouble shooting to speed up the internet. may be 5 to 7 years ago.. :D. and now you have becoming an ios developer like my self.. :D :D :D
@ricco.mp4
@ricco.mp4 Рік тому
in Xcode 14.3, the Swift Package is not available anymore?
@davidagyakwa288
@davidagyakwa288 2 роки тому
how to I convert it to a framework
@user-ij4ut9oz8q
@user-ij4ut9oz8q 2 роки тому
Hi teacher,Can you teach me how to upload tools to pod?
@m8_981
@m8_981 2 роки тому
Can you link your background? :)
@syed_hassam
@syed_hassam 9 місяців тому
It is a good tutorial, but it would be more helpful if you add versioning in it.
@gustavobezerril3995
@gustavobezerril3995 2 роки тому
está top!! Parabéns..hehe
@Archetapp
@Archetapp 2 роки тому
Brigadão! :)
@BekaDemuradze
@BekaDemuradze 2 роки тому
Inside SwiftuiView Text and Image aren't wrapped in VStack, how is it possible?
@Archetapp
@Archetapp 2 роки тому
Huh. Good question!
@idontneedthis388
@idontneedthis388 Рік тому
So every time you want to test some changes in the package using example, you have to commit and push? Kinda irritating workflow. Coming from experience of developing packages for Unity, where your example app has local dependency to a package, and only actual applications use remote dependency. I wonder, is there possibility to set workflow the same way with swift packages.
@TheAhmadReza
@TheAhmadReza Місяць тому
Xcode does not like that in 2024! there is no package in template section...
@andymaddison4441
@andymaddison4441 Рік тому
You don't explain how you actually build the package to your desktop.
@adriangutierrez9812
@adriangutierrez9812 2 роки тому
You did good. You really know your stuff. However, from a teaching stand point, it would be a lot better if you could slow down. The way you explain stuff and swipe across the screen is way too quick. (At least for me) Before I have time to grasp one thing you're already on another. Otherwise, you did good. Keep up the great work!
@mbyllur3567
@mbyllur3567 2 роки тому
Sub pliz
@TailorRuku
@TailorRuku 8 місяців тому
At 11:22, you mentioned 'Resouces/Media.xcassets,' but it seems like you actually typed 'Resource/Media.xcassets.' This could be the reason why the image didn't load on the first attempt.
@lincolndickerson1293
@lincolndickerson1293 Рік тому
I found that you can set platforms in the package definintion and you don’t need to deal with the @available like this: let package = Package( name: “coolPackage”, platforms: [ .iOS(.v16)], …
@Archetapp
@Archetapp Рік тому
Thanks for the tip! I learned this after making the video sadly lol.