Swift Packages

RSS for tag

Create reusable code, organize it in a lightweight way, and share it across Xcode projects and with other developers using Swift Packages.

Swift Packages Documentation

Posts under Swift Packages tag

199 Posts
Sort by:
Post not yet marked as solved
2 Replies
812 Views
It appears that on an Apple Silicon Macs, we cannot do unit tests for Swift Packages using Mac Catalyst. Steps to produce: 0. Get an Apple Silicon Mac. Go to an empty folder, create a new Swift Package using swift package init. Open the created Package.swift, select the running destination to be My Mac (Mac Catalyst). Run the tests. I was getting the following error: code signature in [generated test path] not valid for use in process using Library Validation: Trying to load an unsigned library. I did not get this issue on my Intel Mac. On Apple Silicon Macs, set the destination to an iOS simulator or a “pure” Mac destination also works. How to bypass this issue, or is this a bug from Xcode? I am running the latest Xcode 12.3.
Posted
by
Post not yet marked as solved
2 Replies
6k Views
There is a question on stackoverflow for that too: https://stackoverflow.com/questions/66143815/xcode-12-5-spm-dependency-cache-location Xcode 12.5 release notes mention the "per-user-basis" cache for SPM dependencies: https://developer.apple.com/documentation/xcode-release-notes/xcode-12_5-beta-release-notes Is the location outside of DerivedData folder so cache still persists somewhere in ~/Library/Caches and can be reused even for clean build? It's very important to know for CI performance! Any guidance/help is appreciated.
Posted
by
Post not yet marked as solved
1 Replies
1k Views
Hi, guys! I created a empty Xcode project with catalyst support and added one dependency YandexMobileMetrica via Swift Package Manager. YandexMobileMetrica not support Catalyst architecture, so I need exclude this framework for macOS. I opened section "Frameworks, Libraries" and I switched value from "iOS + macOS" to "iOS". Then I wrapped the code: #if !targetEnvironment(macCatalyst) import YandexMobileMetrica #endif But I'm getting an error: language While building for Mac Catalyst, no library for this platform was found in '/Users/mezhevikin/Library/Developer/Xcode/DerivedData/catalyst-spm-test-gapaedifaylhvwatazbwfppyplvj/SourcePackages/artifacts/YandexMobileMetrica/YandexMobileMetricaCrashes.xcframework'. https://github.com/mezhevikin/catalyst-spm-test - example of problem How to exclude SPM dependency for Catalyst?
Posted
by
Post not yet marked as solved
5 Replies
1.6k Views
When trying to using an image from a Swift Package within Interface Builder / Storyboard Scene: In the "Attributes Inspector" the images are displayed in the dropdown for placing within the UIImageView When the the image is selected from the dropdown it is populated within the UIImage object When the iOS app is side-loaded to an iPad or the Simulator, the image does not appear within the UIImage object I have created a UIImage extension within the Swift Package containing corresponding color name properties populate in "Images.xcassets" - when using these properties to populate the UIImage object within the Swift class via code the image displays successfully Baseline: Xcode version - 12.4 iPadOS 14.4 [Package] - Image sources within the package: "Sources" - "Package Name" - "Resources" - "Images.xcassets" [Package] - Has "resources: [.process("Resources")]" added to "Package - targets - .target" Question: Is this a bug in within Xcode 12.*, by Apple/Xcode design or am I missing a step?
Posted
by
Post not yet marked as solved
5 Replies
1.5k Views
Hi. I was wondering if anyone else has the same issue with Swift packages that include binary targets. Let's say that some static frameworks or resources are stored in git lfs, and they are a part of the Swift Package (binary targets). On the other side, in a project, you would like to add that package (or resolve it) through Xcode. By normal "add swift package flow from the URL," a process fails with "terminated(128)". I did some digging, and here is what I get: Downloading X.a (715 KB) Error downloading object: X.a (2f7ae21): Smudge error: Error downloading X.a (2f7ae213e49b8b079b584b007d2cc0ab0fb0d581a64f8e4f800b1d2807a86f62): error transferring "2f7ae213e49b8b079b584b007d2cc0ab0fb0d581a64f8e4f800b1d2807a86f62": [0] remote missing object 2f7ae213e49b8b079b584b007d2cc0ab0fb0d581a64f8e4f800b1d2807a86f62 Errors logged to .../checkouts/X/.git/lfs/logs/20210323T161533.36114.log Use `git lfs logs last` to view the log. error: external filter 'git-lfs filter-process' failed fatal: X.a: smudge filter lfs failed Interesting part from the git lfs log: error transferring "2f7ae213e49b8b079b584b007d2cc0ab0fb0d581a64f8e4f800b1d2807a86f62": [0] remote missing object 2f7ae213e49b8b079b584b007d2cc0ab0fb0d581a64f8e4f800b1d2807a86f62 Error downloading x.a (2f7ae213e49b8b079b584b007d2cc0ab0fb0d581a64f8e4f800b1d2807a86f62) I saw in the custom "checkout" folder where SPM checkouts the package a little bit unusual git structure. I would say that this is the core issue because a normal git clone (with lfs) pulls everything, and files are ok. Git lfs is, of course, already installed and used. Is there any workaround for this?
Posted
by
Post not yet marked as solved
4 Replies
1.2k Views
I am working on rebuilding our large app's dependency graph to use Swift Package Manager, replacing CocoaPods. I have it nearly done and am quite happy with the progress so far. However, I've run into a blocker with Xcode's SwiftUI Previews not working, seemingly due to several .binaryTarget dependencies. I've boiled this down to a simple reproducible case, with this Package.swift: let package = Package( name: "MyLibrary", platforms: [.iOS(.v13)], products: [.library(name: "MyLibrary", targets: ["MyLibrary"]),], dependencies: [], targets: [ .target(name: "MyLibrary", dependencies: ["NewRelic"]), .binaryTarget(name: "NewRelic", url: "https://download.newrelic.com/ios_agent/NewRelic_XCFramework_Agent_7.3.0.zip", checksum: "daaaff7897246e4baddb1b8131a79268de3b6889a48182b4fbdabe5b926d08f4"), ] ) Here I am using NewRelic as a common 3rd party dependency that vends an .xcframework.zip-- but this is not specific to NewRelic and can be reproduced with many (any?) similar examples. This package builds a library successfully and works as expected when included in an app. But when I try to use SwiftUI previews on a trivial view, e.g.: struct MyLibraryView: View { var body: some View { VStack { Text(verbatim: "Hello World, I'm MyLibraryView") } } } struct MyLibrary_Previews: PreviewProvider { static var previews: some View { return MyLibraryView() } } I end up with this Unexpected duplicate tasks build failure, due to the build system seemingly trying to process the XCFramework twice: note: Using new build system note: Building targets in parallel note: Planning build note: Using build description from memory note: Using build description 'e8ea061fcc823688d24edc3f230a0c7c' note: Build preparation complete note: Target dependency graph (3 targets) MyLibrary in MyLibrary MyLibrary in MyLibrary, depends on: MyLibrary in MyLibrary (explicit) MyLibrary in MyLibrary, depends on: MyLibrary in MyLibrary (explicit) error: Unexpected duplicate tasks: 1) Command: ProcessXCFramework /Users/mthole/Library/Developer/Xcode/DerivedData/DuplicateTasksOnPreview-bkclfnyhkfofwaaulhpstpdjggqb/SourcePackages/artifacts/DuplicateTasksOnPreview/NewRelic.xcframework ios simulator 2) Command: ProcessXCFramework /Users/mthole/Library/Developer/Xcode/DerivedData/DuplicateTasksOnPreview-bkclfnyhkfofwaaulhpstpdjggqb/SourcePackages/artifacts/DuplicateTasksOnPreview/NewRelic.xcframework ios simulator I've posted the reproduction case on GitHub here. Tested with Xcode 12.5 Beta 3. https://github.com/mthole/DuplicateTasksOnPreview
Posted
by
Post not yet marked as solved
2 Replies
827 Views
Hello, We are modularizing our iOS project using SPM. One of those modules is our UI module, which contains a bunch of Resources, for example, custom fonts. In order to register the fonts, we use the following code to access the resources: swift Bundle.module.urls(forResourcesWithExtension: "otf", subdirectory: nil) This is the recommended way from Apple as seen here - https://developer.apple.com/videos/play/wwdc2020/10169/. This seems to be working when importing the module into our main app. The problem appears when this code is executed from a Playground within the same module. When the code is executed, a fatal error is thrown: unable to find bundle named UniverseUI_UniverseUI This is triggered from the generated file resource_bundle_accessor.swift which contains the following code: swift import class Foundation.Bundle private class BundleFinder {} extension Foundation.Bundle {     /// Returns the resource bundle associated with the current Swift module.     static var module: Bundle = {         let bundleName = "UniverseUI_UniverseUI"         let candidates = [             // Bundle should be present here when the package is linked into an App.             Bundle.main.resourceURL,             // Bundle should be present here when the package is linked into a framework.             Bundle(for: BundleFinder.self).resourceURL,             // For command-line tools.             Bundle.main.bundleURL,         ]         for candidate in candidates {             let bundlePath = candidate?.appendingPathComponent(bundleName + ".bundle")             if let bundle = bundlePath.flatMap(Bundle.init(url:)) {                 return bundle             }         }         fatalError("unable to find bundle named UniverseUI_UniverseUI")     }() } Lastly, our module target defines resources like so: swift resources: [.process("Resources")]), Is there any workaround so we don't trigger the fatalError when executing that code from a playground? Any check to know if Bundle.module is available? Thank you
Posted
by
Post marked as solved
5 Replies
4.2k Views
Today, after Xcode 12.5 upgraded, when I try to work on my projects, Xcode keeps running "Resolve Swift Packages" every second or so, this means that it both keeps flashing the display the whole time - it never settles, and it also keeps the machine busy and eventually, Xcode becomes unusable. This has a movie showing what my Xcode looks like tonight, the pauses in the video are caused by Xcode not responding to scrolling, since I left that thing idling while I had dinner: tirania.org/tmp/xcode-hang.mov This can be reproduced by downloading github.com/migueldeicaza/SwiftTerm and opening either the Swift solution or the Xcode projects. I have submitted a bug report.
Posted
by
Post not yet marked as solved
0 Replies
796 Views
I work on iOS App project in workspace. I splitted feature in a Local Swift Package. Workspace contains both iOS App Project and Swift Package. https://i.stack.imgur.com/LhL5j.jpg Swift package platform is iOS 14 and deployment target of project is iOS 13. I put optional link on my Swift Package to avoid crash on iOS 13 https://i.stack.imgur.com/Y1HYb.png Application run well on iOS 14 but still crash on iOS 13 : dyld: Symbol not found: _$s7SwiftUI4ViewP14_viewListCount6inputsSiSgAA01_ceF6InputsV_tFZTq Just for example, I would like to use Swift Package like this : Swift #if canImport(Classifier) @available(iOS 14.0, *) struct ActionClassifier: View { var body: some View { Text("Hello, World!") } } #endif Did I miss something on the way of link my Swift Package Binary to my project ?
Posted
by
Post not yet marked as solved
1 Replies
517 Views
Hi all ;-) I'm using SPM to create various libraries. So far, I only had to localize strings, so I added a Resources folder, some .lproj data and a defaultLocalization in my Package.swift file. Now I'd like to localize some images in the XCAsset catalog, but when I click on "localize" on my image, the only localization that is proposed is the defaultLocalization from my Package.swift file (if I change "en" to "fr", I now get a "French" localize option, but English has gone). How can I make Xcode aware of the supported localization inside my package ? Thanks.
Posted
by
Post not yet marked as solved
1 Replies
1.5k Views
I am trying to include a binary swift package dependency in my app to upload to App Store connect. When doing so the framework is embedded in the app which is fine, unless I also want to use that dependency in an App Extension or an embedded App Clip. In those cases when I archive the framework is embedded in the extension and app clip as well which leads to the following errors during validation. CFBundleIdentifier Collision. There is more than one bundle with the CFBundleIdentifier value 'com.company.frameworkName-Dynamic' under the iOS application 'MyApp.app' Invalid Bundle. The bundle at 'MyApp.app/Plugins/MyAppExtension.appex' contains disallowed nested bundles. Invalid Bundle. The bundle at 'MyApp.app/Plugins/MyAppExtension.appex' contains disallowed file 'Frameworks' This issue has existed since at least Xcode 12.1 reported here in the Swift forums: https://forums.swift.org/t/swift-package-binary-framework-issue/41922 The XCFramework binary Swift Package archive was built and distributed using Xcode 12.5 build tools with Swift 5.4 tools in the Swift package. The archive is also built and validated using Xcode 12.5
Posted
by
Post not yet marked as solved
2 Replies
844 Views
I have some third party static libraries which I've put into an XCFramework. When I add the framework to another app, the classes in the libraries are visible when I import the framework, but when I compile the app, I get the following error: Undefined symbols for architecture arm64: "_OBJC_CLASS_$_<Class Name>", referenced from: type metadata for Local object.o "_OBJC_METACLASS_$_<Class Name>", referenced from: _OBJC_METACLASS_$__TtC8Local object.o The Environment: IDE: Xcode 12.4 OS: macOS 11.15.4 - Catalina Machine: MacBookPro15,1 The details: The XCFramework is built from a project based upon the Framework template. The libraries, the *.a files, are included in the project and they are "required." Their respective header, *.h files, are included and set to public. They are also listed in the umbrella header file with this notation: #import <FrameworkName/Library name.h> In the build settings, SKIP_INSTALL is set to NO. BUILD_LIBRARY_FOR_DISTRIBUTION is set to YES. I use the following terminal command to archive the framework: xcodebuild archive -scheme Name -archivePath ./Name-iOS SKIP_INSTALL=NO BUILD_LIBRARY_FOR_DISTRIBUTION=YES I then use the following terminal command to create the Xcframework: xcodebuild -create-xcframework -framework ./NAME-iOS.xcarchive/Products/Library/Frameworks/NAME.framework -output ./NAME.xcframework I take the product of this and drop it into the "Frameworks, Libraries, and Embedded Content" section of the app project where I want to use the libraries. I could drop the libraries into the app outside of a framework (and I have and they work just fine) but I want to build a single portable object so I can move this functionality from one project to another without a lot of copy and pasting. So far, so good. When I reference an object in a swift class, like so: import Foundation import NAME class AppLocalObject: ClassInName { } Everything seems to be fine. I don't get any errors from Xcode saying it can't find the "ClassInName" object. But when I try to compile the app I get the aforementioned error. I'm sure I'm doing something wrong that's simple to fix. But I don't know what that is.
Posted
by
Post not yet marked as solved
2 Replies
4.3k Views
I'm working on a simple iOS app and am trying to add a Swift Package dependency to my project (in my case, Alamofire) and I'm getting an error when I paste their GitHub URL into the box asking for it. It reads The operation couldn't be completed. (PackageCollections.JSONPackageCollectionsProviderError error 3.). I also tried to see if the error was because Alamofire isn't updated for Xcode 13, but a package generated locally for development and pushed to GitHub also has the same error (That url is: here on Github). Any help would be great!
Posted
by
Post marked as solved
1 Replies
542 Views
I created an executable Swift package and when I do a simple HTTP request such as: func request() {     let url = URL(string: "https://httpbin.org/get")!     let task = URLSession.shared.dataTask(with: url) { (data, response, error) in print("Test") // Never executed         if let error = error {             print("error: \(error)")         } else {             if let response = response as? HTTPURLResponse {                 print("statusCode: \(response.statusCode)")             }             if let data = data, let dataString = String(data: data, encoding: .utf8) {                 print("data: \(dataString)")             }         }     }     task.resume() } request() It simply does not execute the code inside of dataTask.
Posted
by
Post not yet marked as solved
2 Replies
1.3k Views
Hi, I using packages to modularize my app's features, so my package contains Views. I'm unable to get the preview working in from any of my packages. SwiftUI preview is complaining that it couldn't find the dependency module. MessageSendFailure: Message send failure for send previewInstances message to agent ================================== | RemoteHumanReadableError | | LoadingError: failed to load library at path "/Users/karthik/Library/Developer/Xcode/DerivedData/WWoC-eovhbulekrmpsfbtdmwyilxornun/Build/Intermediates.noindex/Previews/WWoC/Products/Debug-iphonesimulator/PackageFrameworks/Groups.framework/Groups": Optional(dlopen(/Users/karthik/Library/Developer/Xcode/DerivedData/WWoC-eovhbulekrmpsfbtdmwyilxornun/Build/Intermediates.noindex/Previews/WWoC/Products/Debug-iphonesimulator/PackageFrameworks/Groups.framework/Groups, 0x0000): Library not loaded: @rpath/UIConvenience.framework/UIConvenience | Referenced from: /Users/karthik/Library/Developer/Xcode/DerivedData/WWoC-eovhbulekrmpsfbtdmwyilxornun/Build/Intermediates.noindex/Previews/WWoC/Products/Debug-iphonesimulator/PackageFrameworks/Groups.framework/Groups | Reason: tried: '/Users/karthik/Library/Developer/Xcode/DerivedData/WWoC-eovhbulekrmpsfbtdmwyilxornun/Build/Intermediates.noindex/Previews/WWoC/Products/Debug-iphonesimulator/UIConvenience.framework/UIConvenience' (no such file), '/Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/UIConvenience.framework/UIConvenience' (no such file)) I noticed that that the preview starts to work as soon as I remove all the dependencies on a package. It looks like SwiftUI preview is not working for the packages with dependencies. I'm seeing this bug in Xcode 12.5 and in Xcode 13.0 beta 2 ss well. Can some please help me with this bug. At least please confirm if, at all, this feature is implemented in Xcode.
Posted
by
Post not yet marked as solved
1 Replies
619 Views
Hi, I added an ipa file on transporter and got this message: Verifying or delivering apps requires that certain development tools bundled with Xcode are installed.>>> I don't understand. This didn't happen before.
Posted
by
Post not yet marked as solved
1 Replies
1.1k Views
In regular projects, there is an "Export Localizations" option in the Product menu, but for Swift Packages, this is not available. Adding local Swift Packages as dependencies of a regular project and using Export Localizations on the regular project doesn't include the Localizable strings from the Packages' sources either. The command-line version (xcodebuild -exportLocalizations) has the same restrictions. Is there a way to export NSLocalizedString occurrences to an xliff for Swift Packages? Or are we supposed to do things manually for now?
Posted
by
Post marked as solved
1 Replies
1k Views
Feedback ID: FB9337463 Hello, When compiling our application, I see the following problem reproduced with the attached sample example (modified the following repository sample as the problem happens in this library: https://github.com/ephread/Instructions.git ): $HOME/Library/Developer/Xcode/DerivedData/Instructions_Example-hhbleavuawdnqpbogvbuddnqmepj/SourcePackages/checkouts/Instructions/Sources/Instructions/Core/Public/CoachMarksController.swift:215:48: error: 'shared' is unavailable in application extensions for iOS: Use view controller based solutions where appropriate instead. if let windowScene = UIApplication.shared.activeScene { Note that this was not happening in our app or this sample project with Xcode 13.0 beta 2, it started happening today when I updated to Xcode 13.0 beta 3). Thank you in advance for your help :)! Kind Regards, Goffredo Marocchi Sample projects (archive): https://www.icloud.com/iclouddrive/0rc9JcVxDKFF6I8hfzZ7_6KLQ#SampleIssue%5FProj Kind Regards, Goffredo
Posted
by
Post not yet marked as solved
1 Replies
818 Views
My CircleCI workflow has started failing with an error I can't seem to find any documentation for: Could not compute signing task inputs - operation was cancelled. ... and then a reference to a 3rd party library's product, eg.: (in target 'Appboy_iOS_SDK_AppboyKit' from project 'Appboy_iOS_SDK'). I'm using SPM to manage dependencies and I'm trying to modularize my Xcode project by adding a local SPM package. Below is the relevant part of the CircleCI output. I can't seem to figure out what these errors are referring to and they don't seem to occur when I remove UI tests from the scheme, so I'm assuming this has something to do with the "Copy Bundle Resources" step of the "MyAppUITests" target. Any help would be much appreciated. Xcode version: 12.5.1 [00:00:45]: Running Tests: ▸ Touching MyApp.app (in target 'MyApp' from project 'MyApp') [00:00:45]: ▸ Build Succeeded [00:00:45]: ▸ 2021-07-22 00:00:45.521 xcodebuild[1629:69156] [MT] DVTAssertions: Warning in /Library/Caches/com.apple.xbs/Sources/IDEFrameworks/IDEFrameworks-18212/IDEFoundation/Testing/IDETestRunSpecificationBuilder.m:678 [00:00:45]: ▸ Details: Failed to compute path to baseline file during test run spec construction: <XCTHTestRunSpecification: 0x7fa5036121a0> [00:00:45]: ▸ Object: <IDETestRunSpecificationBuilder> [00:00:45]: ▸ Method: +testRunSpecificationsForTestingSpecifiers:scheme:buildables:withBuildParameters:additionalEnvironmentVariables:additionalCommandLineArguments:testRerunPolicy:includeClangProfileParameters:shouldDebugAppExtensions:error: [00:00:45]: ▸ Thread: <NSThread: 0x7fa4f9618f70>{number = 1, name = main} [00:00:45]: ▸ Please file a bug at https://feedbackassistant.apple.com with this warning message and any useful information you can provide. [00:00:45]: ▸ 2021-07-22 00:00:45.526 xcodebuild[1629:69156] [MT] DVTAssertions: Warning in /Library/Caches/com.apple.xbs/Sources/IDEFrameworks/IDEFrameworks-18212/IDEFoundation/Testing/IDETestRunSpecificationBuilder.m:678 [00:00:45]: ▸ Details: Failed to compute path to baseline file during test run spec construction: <XCTHTestRunSpecification: 0x7fa50305bb20> [00:00:45]: ▸ Object: <IDETestRunSpecificationBuilder> [00:00:45]: ▸ Method: +testRunSpecificationsForTestingSpecifiers:scheme:buildables:withBuildParameters:additionalEnvironmentVariables:additionalCommandLineArguments:testRerunPolicy:includeClangProfileParameters:shouldDebugAppExtensions:error: [00:00:45]: ▸ Thread: <NSThread: 0x7fa4f9618f70>{number = 1, name = main} [00:00:45]: ▸ Please file a bug at https://feedbackassistant.apple.com with this warning message and any useful information you can provide. [00:00:45]: ▸ 2021-07-22 00:00:45.531 xcodebuild[1629:69156] [MT] DVTAssertions: Warning in /Library/Caches/com.apple.xbs/Sources/IDEFrameworks/IDEFrameworks-18212/IDEFoundation/Testing/IDETestRunSpecificationBuilder.m:678 [00:00:45]: ▸ Details: Failed to compute path to baseline file during test run spec construction: <XCTHTestRunSpecification: 0x7fa50306a230> [00:00:45]: ▸ Object: <IDETestRunSpecificationBuilder> [00:00:45]: ▸ Method: +testRunSpecificationsForTestingSpecifiers:scheme:buildables:withBuildParameters:additionalEnvironmentVariables:additionalCommandLineArguments:testRerunPolicy:includeClangProfileParameters:shouldDebugAppExtensions:error: [00:00:45]: ▸ Thread: <NSThread: 0x7fa4f9618f70>{number = 1, name = main} [00:00:45]: ▸ Please file a bug at https://feedbackassistant.apple.com with this warning message and any useful information you can provide. [00:00:45]: ▸ 2021-07-22 00:00:45.536 xcodebuild[1629:69156] [MT] DVTAssertions: Warning in /Library/Caches/com.apple.xbs/Sources/IDEFrameworks/IDEFrameworks-18212/IDEFoundation/Testing/IDETestRunSpecificationBuilder.m:678 [00:00:45]: ▸ Details: Failed to compute path to baseline file during test run spec construction: <XCTHTestRunSpecification: 0x7fa503076680> [00:00:45]: ▸ Object: <IDETestRunSpecificationBuilder> [00:00:45]: ▸ Method: +testRunSpecificationsForTestingSpecifiers:scheme:buildables:withBuildParameters:additionalEnvironmentVariables:additionalCommandLineArguments:testRerunPolicy:includeClangProfileParameters:shouldDebugAppExtensions:error: [00:00:45]: ▸ Thread: <NSThread: 0x7fa4f9618f70>{number = 1, name = main} [00:00:45]: ▸ Please file a bug at https://feedbackassistant.apple.com with this warning message and any useful information you can provide. [00:00:45]: ▸ 2021-07-22 00:00:45.549 xcodebuild[1629:69156] [MT] DVTAssertions: Warning in /Library/Caches/com.apple.xbs/Sources/IDEFrameworks/IDEFrameworks-18212/IDEFoundation/Testing/IDETestRunSpecificationBuilder.m:678 [00:00:45]: ▸ Details: Failed to compute path to baseline file during test run spec construction: <XCTHTestRunSpecification: 0x7fa503660a10> [00:00:45]: ▸ Object: <IDETestRunSpecificationBuilder> [00:00:45]: ▸ Method: +testRunSpecificationsForTestingSpecifiers:scheme:buildables:withBuildParameters:additionalEnvironmentVariables:additionalCommandLineArguments:testRerunPolicy:includeClangProfileParameters:shouldDebugAppExtensions:error: [00:00:45]: ▸ Thread: <NSThread: 0x7fa4f9618f70>{number = 1, name = main} [00:00:45]: ▸ Please file a bug at https://feedbackassistant.apple.com with this warning message and any useful information you can provide. [00:00:45]: ▸ 2021-07-22 00:00:45.555 xcodebuild[1629:69156] [MT] DVTAssertions: Warning in /Library/Caches/com.apple.xbs/Sources/IDEFrameworks/IDEFrameworks-18212/IDEFoundation/Testing/IDETestRunSpecificationBuilder.m:678 [00:00:45]: ▸ Details: Failed to compute path to baseline file during test run spec construction: <XCTHTestRunSpecification: 0x7fa50366c6a0> [00:00:45]: ▸ Object: <IDETestRunSpecificationBuilder> [00:00:45]: ▸ Method: +testRunSpecificationsForTestingSpecifiers:scheme:buildables:withBuildParameters:additionalEnvironmentVariables:additionalCommandLineArguments:testRerunPolicy:includeClangProfileParameters:shouldDebugAppExtensions:error: [00:00:45]: ▸ Thread: <NSThread: 0x7fa4f9618f70>{number = 1, name = main} [00:00:45]: ▸ Please file a bug at https://feedbackassistant.apple.com with this warning message and any useful information you can provide. [00:00:51]: ▸ ❌ error: Could not compute signing task inputs - operation was cancelled. (in target 'Appboy_iOS_SDK_AppboyKit' from project 'Appboy_iOS_SDK') [00:00:51]: ▸ ❌ error: Could not compute signing task inputs - operation was cancelled. (in target 'Appboy_iOS_SDK_AppboyUI' from project 'Appboy_iOS_SDK') [00:00:51]: ▸ ❌ error: Could not compute signing task inputs - operation was cancelled. (in target 'Mixpanel_Mixpanel' from project 'Mixpanel') [00:00:52]: ▸ Testing failed: [00:00:52]: ▸ Could not compute signing task inputs - operation was cancelled. [00:00:52]: ▸ Testing cancelled because the build failed. [00:00:52]: ▸ ** TEST FAILED **```
Posted
by