Category "swift-package-manager"

Embedding/excluding certain SPM libraries in specific build configuration

Currently our project are utilising come libraries added through SPM which contains some forbidden symbols, e.g RxTest, so before uploading the build to AppStor

SPM with Git-LFS The operation couldn’t be completed. (XCBUtil.BinaryReaderError error 2.)

I have created a swift package manager which contains a very large file, that's why I have uploaded it in git-lfs ( Large file storage). When I add the Swift de

SPM with Git-LFS The operation couldn’t be completed. (XCBUtil.BinaryReaderError error 2.)

I have created a swift package manager which contains a very large file, that's why I have uploaded it in git-lfs ( Large file storage). When I add the Swift de

How can I add a demo app target to a Swift Package?

I'm looking to include a demo app with a Swift Package of custom controls that shows implementation demos for each of the controls. Is there a way that I can in

Add dependency on a local swift package in Xcode 11

I am trying to add a dependency on a local swift package in my Xcode project. (I don't want to add a dependency using a file url file://me/dev/app/package as th

Package resolution failed. Couldn't get the list of tags

Can't add new dependency via SPM and always see this error fatal: bad numeric config value 'null' for 'tag.forcesignannotated': invalid unit Clean derived da

Build error for macOS in Swift Package for iOS platform

I am trying to add support for Swift Package Manager to one of my frameworks. The framework is iOS specific (I make use of UIKit on it), so I added the platform

Unable to access SPM classes in Swift classes referencing Obj-C classes

I'm currently working on moving one of our apps dependencies from Cocoapods to SPM. The dependency is written purely in Swift, but our codebase using it is both

Suppress warnings from dependencies with Swift Package Manager

Assuming I have a Package.swift like this below, and SomePackage from the dependencies produces warnings during swift build. // swift-tools-version:4.0 import

Xcode: Own Swift packages missing in Schema selector

I have some SPM swift packages as part of my swift project. After some Xcode crashes, those packages don't appear in the Schema selector (black arrow in image)

Swift Package Manager could not be resolved all libraries, project

This error always happens whenever I add a new Package via Swift Package Manager in Xcode: Cannot fetch library I've already configured my GitHub Auth Token

Two almost identical targets in Vapor Xcode project

I want to configure Package.swift so that one target would be an extension to another, both of them should share the same code from the one folder, but for the

Simple way to run SwiftLint for our Swift package

So far what I found is this blog article: It's time to use Swift Package Manager which recommends integrate SwiftLint and other tools with Package.swift. I was

Simple way to run SwiftLint for our Swift package

So far what I found is this blog article: It's time to use Swift Package Manager which recommends integrate SwiftLint and other tools with Package.swift. I was

Add a xib file to a Swift Package

I want to start using modular code with the new Swift Package Manager integration with Xcode 11. The problem is that I can't seem to add any kind of UI files t

Undefined symbol: _OBJC_CLASS_$_FIRApp

I m trying to add Firebase Analytic and Firebase Crashlytics using Swift package manager here is a link of git for firebase SDKhttps://github.com/firebase/fireb

Swift Package Manager (SPM) and Cocoapod Dependency Conflict

Overview I have two dependencies, one available as a Swift Package, and the other only available as a Cocoapod. The problem is that each has a dependency on a t

How to trigger Xcode's 'Update to Latest Package Versions' from command line?

Goal: I want to programmatically update the versions of Swift Packages consumed by a sample project. Problem: Xcode > 11 offers a menu option: File &

Excluding files in Swift Packages

To exclude entire sections of a file, I can use macros to target platforms such as #if os(iOS) || os(watchOS). Is there a way to do this in Package.swift, or

Getting 'no such module' error when importing a Swift Package Manager dependency

I'm running Xcode 11 Beta 4. I'm using CocoaPods, and wanted to use one of my dependencies with Swift Package Manager as a static library instead of as a framew