Пишем декларативный Package.swift: DSL для модульной архитектуры iOS проекта

Swift Package Manager отлично подходит для модульной архитектуры, но по мере роста проекта Package.swift быстро превращается в длинный список строковых зависимостей. В статье показываю, как превратить Package.swift в типобезопасный DSL на Swift: - убрать строковые зависимости - автоматически генерировать feature-модули - зафиксировать архитектурные правила на уровне компиляции

https://habr.com/ru/articles/1010564/

#swift #swiftpm #dsl #swift_package_manager #ios #ios_development #modularity

Пишем декларативный Package.swift: DSL для модульной архитектуры iOS проекта

Swift Package Manager сегодня является стандартным инструментом для модульной архитектуры iOS-проектов. Он позволяет разделять код на независимые модули, ускорять сборку и явно описывать зависимости....

Хабр

"Added the ability to enable package traits on dependencies from the Package Dependencies view. (141748785)"

There are a ton of goodies in the release notes, but this one earns a well-deserved #Finally

#Swift #Xcode #SwiftPM #SPM

So I’m in the market for a #TypeForm style service with a good #Swift and #SwiftUI integration. I’d love to use TypeForm and the #swiftpm package that gives it a nice native integration to be able to collect in-app feedback from my users but their free tier is really limited and their paid tiers start at too high of a price to be worth it.. (I expect more than 10 submissions a month but not enough to justify to pay [that much] for it).

Yes I know I could just open an email client but so like the coneceptnof having the whole support / suggest / bug report flow in the app and only send replies per mail if needed.

XCFrameworkをSPM経由で導入する方法 - Qiita

はじめに 本記事は どすこい塾 Advent Calendar 2025 の10日目の記事です。 昨日は @dosukoi_android さんで サーバーサイドDartのフレームワークを作ってる でした。 XCFrameworkをSPM経由で導入する方法を紹介します。 ...

Qiita

Static or dynamic linking? Most teams go all-one-way. SwiftPM wants things to work – not what's best for launch time or binary size.

So I extended Argus with an agent-friendly interface to explore graphs & make smarter linking decisions:
https://github.com/tuist/argus/pull/11

Next: SWBBuildService proxy in Tuist (any Xcode version), then real-time web-based build insights.

We won't need @apple to make this useful.

#iOS #Xcode #SwiftPM #DevTools

feat: add build graph and deps CLI commands for linking analysis by pepicrft · Pull Request #11 · tuist/argus

Summary This PR adds infrastructure for AI agents to analyze build product types and linking relationships, enabling optimization recommendations for binary size and startup time. Schema Extension ...

GitHub
Swift Package: SwiftExtras - Wesley de Groot

In this post, we will explore the SwiftExtras Swift Package, a package that provides additional functionality and utilities for Swift developers. What is SwiftExtras? SwiftExtras is a Swift package that offers a collection of useful extensions, utilities, and helper functions to enhance the Swift programming experience. It aims to fill in the gaps and provide commonly needed functionality that may not be available...

Swift Package: SwiftCronParser https://wesleydegroot.nl/blog/swift-package-swiftcronparser #SwiftPM# SwiftCronParser
Swift Package: SwiftCronParser - Wesley de Groot

In this post, we will explore the SwiftCronParser Swift Package, a package to parse cron expressions in Swift. What is SwiftCronParser? SwiftCronParser is a Swift package that provides a simple and efficient way to parse cron expressions. Cron expressions are widely used in scheduling tasks and jobs in Unix-like operating systems. With SwiftCronParser, you can easily work with cron expressions in your Swift applic...

Swift Package: NetworkMonitor https://wesleydegroot.nl/blog/swift-package-networkmonitor #SwiftPM# NetworkMonitor
Swift Package: NetworkMonitor - Wesley de Groot

In this post, we will explore a Swift package designed to monitor network connectivity in iOS applications. What is NetworkMonitor? NetworkMonitor is a Swift package that provides a simple way to monitor the network connectivity status of your iOS app. This can be particularly useful for applications that rely on network access to function properly. Installation To install NetworkMonitor, you can use the Swift Pac...

Swift Package: PreventScreenshot https://wesleydegroot.nl/blog/swift-package-preventscreenshot #SwiftPM# PreventScreenshot
Swift Package: PreventScreenshot - Wesley de Groot

In this post, we will explore a Swift package designed to prevent screenshots in iOS applications. What is PreventScreenshot? PreventScreenshot is a Swift package that provides a simple way to prevent users from taking screenshots of sensitive information displayed in your iOS app. This can be particularly useful for applications that handle sensitive data, such as banking or healthcare apps. Installation To insta...

Swift Package: XCUITestHelper https://wesleydegroot.nl/blog/swift-package-xcuitesthelper #SwiftPM# XCUITestHelper
Swift Package: XCUITestHelper - Wesley de Groot

In this post, we will explore the XCUITestHelper Swift Package, a powerful tool for simplifying UI testing in your applications. What is XCUITestHelper? XCUITestHelper is a Swift Package that provides a set of utilities and extensions to make writing UI tests easier and more efficient. Installation To install XCUITestHelper, you can add it to your Swift Package dependencies. Here’s how you can do it: .package(ur...