#swiftpm

GripNewsGripNews
2025-05-17

🌘 xtool - 跨平臺 Xcode 替代方案
➤ 開發 iOS 應用程式,不再受限於 macOS
github.com/xtool-org/xtool
xtool 是一個跨平臺工具,旨在取代 Xcode,支援在 Linux、Windows 和 macOS 上使用 SwiftPM 構建和部署 iOS 應用程式。它提供 Xcode 的核心功能,包括構建 SwiftPM 專案、簽署和安裝 iOS 應用程式,以及程式化地與 Apple Developer Services 互動。此外,xtool 還提供一個 XKit 函式庫,允許開發者在自己的應用程式中訪問 Apple Developer Services 和 iOS 設備。
+ 終於有能在 Windows 上開發 iOS 應用程式的好工具了!
+ 這對於想要在不同平臺上進行 iOS 開發的團隊來說,簡直是救星。

Marcin Krzyzanowskikrzyzanowskim
2025-03-29

bonus point for mise, is support for CLI tools installation. it allows to install swift package like this:

~ ❯ mise use -g spm:swiftwasm/WasmKit
~ ❯ wasmkit-cli --help
OVERVIEW: WasmKit WebAssembly Runtime

2025-01-27

@tuist I don't think Swiftlint is a great example since it's available already through asdf.

Regardless, here is a snippet from my mise.toml 💪🏽
#mixe #dx #swiftpm

2025-01-20

Everytime I try and do something with #cocoapods I just end up in #ruby version hell 😭😭

Are people still using it or can I just drop support for it and require #SwiftPM? It’s so much easier to work with!

2025-01-18

I wonder why #SwiftPM build plugins have not gained broader usage (at least that's my impression)? Do they slow build times, are they too clunky to develop, something else?

iOSoho Meetupiosoho@iosdev.space
2024-12-08

Check out the video from last month's meetup at DoorDash, which featured these talks:

• Laura Artiles on Building Reusable Components at DoorDash
• Sean Zhang on Migrating to Swift Package Manager

youtube.com/watch?v=VWWoqAZwJj

#iosdev #swift #swiftui #swiftpackagemanager #SwiftPM

Cihat GündüzJeehut@iosdev.space
2024-12-03

This .editorconfig file should be added to every single #SwiftPM repo out there! 👇
gist.github.com/Jeehut/e5b7559

It ensures that everyone editing the package in Xcode will get the same indentation settings avoiding mismatches with their global settings. 🥳

Add it now! 💯 #iOSDev #OpenSource #SwiftLang #XcodeTips

black lipstick on your flight controlsvyr@princess.industries
2024-11-20

ticked off at whoever decided SwiftPM wasn't gonna support multiple packages per Git repo (ignoring local package references)

c'mon, you can't tell me anyone enjoys duplicating CI config, etc. across multiple repos, and SPM packages are a nice way to structure code otherwise.

#iOSDev #SwiftLang #SwiftPM

Cihat GündüzJeehut@iosdev.space
2024-07-29

This .editorconfig file should be added to every single #SwiftPM repo out there! 👇
gist.github.com/Jeehut/e5b7559

It ensures that in Xcode 16+ everyone editing the package will get the same indentation settings avoiding mismatches with their global settings. 🥳

Add it now! 💯 #iOSDev #OpenSource

Christian Tietzectietze
2024-07-12

with resources in production and test target work in Xcode.

`swift test` on the CLI fails to load NSColor from Asset catalog, though. The catalog is part of the library.

Is that some CLI thing?

Is Bundle.module pointing at the wrong one?

2024-07-04

One of the most underrated aspects of #SwiftPM is the bundle structure by convention and not by referencing individual source code files as it happens in #Xcode project bundles. 🙏

I am thankful for that on every merge conflict I have to resolve.

Would every source code file still be referenced as in an Xcode project file, it would totally wreck it during rebases all the time. 😀

#Swift #Git

Ma’mounmamouneyya
2024-06-03

I occasionally hear the misconception amongst iOS devs that SwiftPM will resolve/clone every dependency in the graph, including test dependencies added by dependent packages. This is not true since SE-0226.

Since Swift 5.2, SwiftPM will compute the graph needed only by the specific products you add from a package. Because test dependencies will never be added to those production targets, they should never be included in resolved graph.

Frederic Barthelemyfbartho
2024-05-04

I’m trying to make a package that vends at least two libraries.

The package builds each library fine, and I had no problem importing the first library into my app, but when I try to import the second library, it tells me “Cannot find ‘Foo’ in package. Did you mean ‘Foo’”

I’ve been fighting this for a few days. Any advice or pointers to projects I can learn from?

Christian Tietzectietze
2024-05-02

It's May 2nd!

Two days ago, the results were discouraging, so now that the deadline has passed, I ask again :)

Where can I steal *your* Privacy Manifest build step instructions for packages and frameworks?

Christian Tietzectietze
2024-04-29

Did y'all write Privacy Manifests for your / projects?

Still need to update packages I use and/or maintain 😥

Marcin Krzyzanowskikrzyzanowskim
2024-04-04

If you asked how @SwiftStudio going. Well... it been better. Apple just recently decided to shutdown API I use (to make things CLI cannot provide). I find it unexpected (to me, not to apple) move after many years. github.com/apple/swift-package

I'm disappointed with a move in that direction and find that decision harmful for the third-party dev tooling ecosystem trying to adopt SwiftPM. IMHO.

2024-03-30

the `reset package caches -> close xcode -> git checkout Package.resolved -> open xcode -> build` dance is the new “clean derived data” #SwiftPM

Axel Le Pennecalpennec@iosdev.space
2024-03-22

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?

#SwiftPackageManager #Swift #SwiftPM #Xcode

2024-03-21

For the package name (not the library name) in Package.swift, some use all lower case with hyphens such as swift-algorithms and some use camel case such as CryptoSwift. Is there not a standard naming convention for the package name? #SwiftLang #SwiftPM

Adin Cebicadincebic
2023-12-24

📚 Just dropped my latest article on Swift Package Manager! 🚀 Explore the benefits of Exact Versioning and why ignoring Package.resolved might help your project. 📦💡 t.co/S4p1aRNcgS

Client Info

Server: https://mastodon.social
Version: 2025.04
Repository: https://github.com/cyevgeniy/lmst