#swiftpackagemanager — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #swiftpackagemanager, aggregated by home.social.
-
Working with open source at @snappmobile taught me what makes Swift packages truly good—beyond just working code.
Consolidated it into a 3-part checklist series: docs, dev workflow, community. All the stuff that's scattered across different resources.
Building in public, sharing the journey.
#Swift #SwiftLang #OpenSource #iOSDev #SwiftPackageManager #BuildingInPublic
-
Working with open source at @snappmobile taught me what makes Swift packages truly good—beyond just working code.
Consolidated it into a 3-part checklist series: docs, dev workflow, community. All the stuff that's scattered across different resources.
Building in public, sharing the journey.
#Swift #SwiftLang #OpenSource #iOSDev #SwiftPackageManager #BuildingInPublic
-
Why didn't Swift have this sooner? 𝑆𝑤𝑖𝑓𝑡 𝐶𝑜𝑛𝑓𝑖𝑔𝑢𝑟𝑎𝑡𝑖𝑜𝑛 1.0 is here, bringing standardized runtime configuration to Swift projects built with SwiftPM.
🔗: https://www.swift.org/blog/swift-configuration-1.0-released/ by 𝗛𝗼𝗻𝘇𝗮 𝗗𝘃𝗼𝗿𝘀𝗸𝘆
-
While tuning my SDK, I added an example app as an executable target. If it uses APIs beyond what your SDK supports (.𝘱𝘭𝘢𝘵𝘧𝘰𝘳𝘮𝘴), the compiler fails. Expected.
But: any dependencies the example app uses get declared in the package config - they show up when users add your SDK. Users get frameworks they didn't ask for.
Example apps should only use the SDK they're made for. Keeps things clean.
-
What if your Swift packages could adapt to different build configurations automatically?
SPM Traits act as powerful feature flags, enabling conditional compilation, optional dependencies, and advanced package configurations. Think of them as the missing piece for building truly flexible, modular Swift packages that adapt to your project's needs.
🔗: https://theswiftdev.com/2025/all-about-swift-package-manager-traits/ by @tiborbodecs
-
Do you treat compiler warnings as errors in your Swift Packages?
A practical tutorial on how to take control of compiler warnings in Swift Packages using Swift 6.2's new settings. A must-read for anyone who loves a clean build.
🔗: https://useyourloaf.com/blog/treating-warnings-as-errors-in-swift-packages/ by @kharrison
-
Want to turn your SwiftUI project into a reusable Swift package?
In this Sunday's video, I walk you through creating, structuring, and publishing an SF Symbol Picker package to GitHub.
https://youtu.be/_KYc2wJVIDE
#SwiftUI #SwiftPackageManager #iOSDev -
Want to turn your SwiftUI project into a reusable Swift package?
In this Sunday's video, I walk you through creating, structuring, and publishing an SF Symbol Picker package to GitHub.
https://youtu.be/_KYc2wJVIDE
#SwiftUI #SwiftPackageManager #iOSDev -
Apple öffnet Swift Build für die Entwickler-Community
Apple hat einen weiteren Schritt in Richtung Open Source unternommen: Swift Build, die zentrale Build-Engine für Swift-Projekte, steht ab sofort als Open-Source-Software zur Verfügung. Damit erhalten
https://www.apfeltalk.de/magazin/news/apple-oeffnet-swift-build-fuer-die-entwickler-community/
#News #Services #Apple #BuildSystem #Linux #llbuild #OpenSource #Softwareentwicklung #Swift #SwiftBuild #SwiftPackageManager #Windows #Xcode -
Apple öffnet Swift Build für die Entwickler-Community
Apple hat einen weiteren Schritt in Richtung Open Source unternommen: Swift Build, die zentrale Build-Engine für Swift-Projekte, steht ab sofort als Open-Source-Software zur Verfügung. Damit erhalten
https://www.apfeltalk.de/magazin/news/apple-oeffnet-swift-build-fuer-die-entwickler-community/
#News #Services #Apple #BuildSystem #Linux #llbuild #OpenSource #Softwareentwicklung #Swift #SwiftBuild #SwiftPackageManager #Windows #Xcode -
I also feel that Xcode shouldn’t be recompiling it every time? But incrementally, with no change whatsoever to the package? I feel that I’m missing a setting somewhere.
Any pointers or help would be appreciated.
-
why does switching between identical branches with identical Package.resolved make #SwiftPackageManager (or its Xcode integration?) do anything
-
I'm thinking about moving some models to a Swift Package.
I wanted to do that some time ago but couldn't find a way to exclude development assets from a package when building in Release (Archive). I currently have files in my "Preview Content" folder that are used for Previews with Core Data.
Is that still the same?
-
I'm thinking about moving some models to a Swift Package.
I wanted to do that some time ago but couldn't find a way to exclude development assets from a package when building in Release (Archive). I currently have files in my "Preview Content" folder that are used for Previews with Core Data.
Is that still the same?
-
FINALLY! After more than FOUR YEARS Google has officially published an iOS Google Maps SDK for #SwiftPackageManager. The original request was created in Sept 2019 😅
#Swift #SwiftPackage #googlemaps #SDK #iOS -
FINALLY! After more than FOUR YEARS Google has officially published an iOS Google Maps SDK for #SwiftPackageManager. The original request was created in Sept 2019 😅
#Swift #SwiftPackage #googlemaps #SDK #iOS -
SPX 1.2.0 is available now on GitHub and Homebrew!
This update confirms compatibility with Swift 5.8 and 5.9 and drops Swift 5.7.
This update addresses some memory leaks. Looking for feedback here.
-
Still more interop tests... Classes and Bundles and Templates Oh My!
https://www.whynotestflight.com/excuses/what-about-some-fancier-c-in-with-the-swift/
#Cpp #SwiftLang #SwiftPackageManager #ResourceBundle #CppSwiftInterop
-
Still more interop tests... Classes and Bundles and Templates Oh My!
https://www.whynotestflight.com/excuses/what-about-some-fancier-c-in-with-the-swift/
#Cpp #SwiftLang #SwiftPackageManager #ResourceBundle #CppSwiftInterop
-
Have you ever wanted to create your own #Swift Package? Let me show you how to do this. Include assets as well with your package. A starter project is included, but you can cut to the chase by going directly to 4:21 in the video #SwiftPackageManager
https://youtu.be/o0fQC7JU-Ts -
Have you ever wanted to create your own #Swift Package? Let me show you how to do this. Include assets as well with your package. A starter project is included, but you can cut to the chase by going directly to 4:21 in the video #SwiftPackageManager
https://youtu.be/o0fQC7JU-Ts -
Hey #SwiftUI experts, when using SwiftUI Previews in a Swift Package, are PreviewProviders automatically removed from the package when archiving an app, as it is the case with an app, or not?
If not, how to deal with that?
I’m not sure we can use compiler directives like if DEBUG in packages, can we? -
Hey #SwiftUI experts, when using SwiftUI Previews in a Swift Package, are PreviewProviders automatically removed from the package when archiving an app, as it is the case with an app, or not?
If not, how to deal with that?
I’m not sure we can use compiler directives like if DEBUG in packages, can we? -
I would love first class support from Swift Package Manager for JavaScript-style `devDependencies` and `npx <target-name>`. Until then, I use Swish. I use Swish to push to the App Store, generate assets, generate my xcodeproj, take screenshots, and even generate code.
Now available on HomeBrew!
brew tap fullqueuedeveloper/swish/swish
brew install fullqueuedeveloper/swishhttps://github.com/FullQueueDeveloper/Swish
#opensource #swiftpackagemanager #iosdev #swiftdev #scripting #devtools #swiftlang
-
When using Swift Packages in Xcode, is there a way to exclude files conditionally (in DEBUG or similar)? I know I can exclude files but I want them while in development.
I have a package that contains developments resource/assets (used to seed a Core Data database for the simulator + for Previews, with images and files), but I don't want to include these files in the package used by the real app when archiving.
Can we achieve that?
-
When using Swift Packages in Xcode, is there a way to exclude files conditionally (in DEBUG or similar)? I know I can exclude files but I want them while in development.
I have a package that contains developments resource/assets (used to seed a Core Data database for the simulator + for Previews, with images and files), but I don't want to include these files in the package used by the real app when archiving.
Can we achieve that?
-
I can't export Localizations for my iOS app or the SPM packages used by this iOS app with Xcode Product > Export Localizations.
The packages only specify the iOS platform but it seems Xcode also compiles the app/modules for macOS (whereas the supported destinations for the app are iOS and iPadOS).
I posted more details here: https://developer.apple.com/forums/thread/725395
Any idea how to have this export work?
-
I can't export Localizations for my iOS app or the SPM packages used by this iOS app with Xcode Product > Export Localizations.
The packages only specify the iOS platform but it seems Xcode also compiles the app/modules for macOS (whereas the supported destinations for the app are iOS and iPadOS).
I posted more details here: https://developer.apple.com/forums/thread/725395
Any idea how to have this export work?
-
@jerosanchez Yo es que más pestañas abiertas en el navegador no quiero así que suelo usar apps nativas de #MacOS o de ##iOS que se puedan ejecutar en #M1 así queda todo recogidito :) por ahora he encontrado MastodonKit que es un #SwiftPackageManager
-
Moving my final dependencies to #SwiftPackageManager included Crashlytics. ‘Interesting’ to see all the additional dependencies Firebase brings in when only the Crashlytics library enabled. Xcode (to my knowledge?) doesn’t provide a way to hide dependencies under the importing package, so they aren’t staring at me every day.
Advice on alternatives to Crashlytics? All I want is notifications any time my app crashes, with stack traces. (Feels like Apple’s opt-in system too limiting.)
-
Moving my final dependencies to #SwiftPackageManager included Crashlytics. ‘Interesting’ to see all the additional dependencies Firebase brings in when only the Crashlytics library enabled. Xcode (to my knowledge?) doesn’t provide a way to hide dependencies under the importing package, so they aren’t staring at me every day.
Advice on alternatives to Crashlytics? All I want is notifications any time my app crashes, with stack traces. (Feels like Apple’s opt-in system too limiting.)
-
Yesterday's session is up!
https://youtu.be/hNeIHthNaqIFriday Joy Rides are for cutting loose and seeing where the creativity takes me. Ended up makeing a grid system in SwiftUI. Ended up modeling our weekly schedule, and rendering it into this grid. And we added a command to export the schedule as PNG.
#indieappdeveloper #fridayjoyride #swiftdeveloper #iosdeveloper #swiftui #swiftpackagemanager
-
I'm thrilled to announce that I'm currently working on Stuffatory 2.0! This update will use an architecture called The Composable Architecture (TCA). Make sure to follow along for all the latest updates.
Are you also using #TCA in your app development?Let's connect!
#appdevelopment #apparchitecture #Stuffatory2.0 #appupdates #staytuned #indiedev #indieappdev #modularapp #swiftpackages #spm #swiftpackagemanager
https://www.instagram.com/p/CnVNMoRD5Ys/?igshid=YmMyMTA2M2Y=