Sylvain G. · @sgamel
65 followers · 959 posts · Server mastodon.top

seems to support an iosApplication product but only inside swiftpm bundle for Playground support and nothing is documented of courses 😆

I guess there’s no way to really implement my unit tests inside the package.
mastodon.top/@sgamel/110926122

#swiftpackagemanager #swift #ios #iosdev

Last updated 1 year ago

Stewart Lynch · @StewartLynch
947 followers · 497 posts · Server iosdev.space

Have you ever wanted to create your own 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
youtu.be/o0fQC7JU-Ts

#swift #swiftpackagemanager

Last updated 1 year ago

Axel Le Pennec · @alpennec
101 followers · 118 posts · Server iosdev.space

Hey experts, when using SwiftUI Previews in a Swift Packages, are PreviewProviders automatically removed from the package when archiving an app, as it is the case with a 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?

#swiftui #xcode #spm #swiftpackagemanager

Last updated 2 years ago

Axel Le Pennec · @alpennec
100 followers · 110 posts · Server iosdev.space

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?

#xcode #swift #swiftpackagemanager #iOS #iosdev #coredata

Last updated 2 years ago

Axel Le Pennec · @alpennec
99 followers · 105 posts · Server iosdev.space

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: developer.apple.com/forums/thr

Any idea how to have this export work?

#xcode #swift #swiftpackagemanager #spm #xcodelocalization

Last updated 2 years ago

Jonathan Chacón · @jonathanchacon
71 followers · 78 posts · Server comunidad.nvda.es

@jerosanchez Yo es que más pestañas abiertas en el navegador no quiero así que suelo usar apps nativas de o de # que se puedan ejecutar en así queda todo recogidito :) por ahora he encontrado MastodonKit que es un

#macos #ios #m1 #swiftpackagemanager

Last updated 2 years ago

Duncan Babbage · @babbage
285 followers · 433 posts · Server iosdev.space

Moving my final dependencies to 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.)

#swiftpackagemanager

Last updated 2 years ago

Andrew Pontious · @apontious
282 followers · 929 posts · Server mastodon.social

Shot in the dark here, but anybody have experience with SPM and Enterprise builds? Ours is complaining about automatic signing, and I’ve been able to find *nothing* online about how to fix that.

#swiftpackagemanager #spm

Last updated 2 years ago

drag0ndust · @drag0ndust
46 followers · 81 posts · Server iosdev.space

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 in your app development?

Let's connect!

.0

instagram.com/p/CnVNMoRD5Ys/?i

#tca #appdevelopment #apparchitecture #stuffatory2 #appupdates #staytuned #indiedev #indieappdev #modularapp #swiftpackages #spm #swiftpackagemanager

Last updated 2 years ago