Search results for

missing package product

51,068 results found

Post

Replies

Boosts

Views

Activity

Swift Package Manager + Dependency: How to View Previews?
Assume you have a working swift package that previews a view see the following question on how to achieve that (https://developer.apple.com/forums/thread/651547?login=true&page=1#617372022). Note make sure your view is in the root folder of the package or live previews will not work. Add a dependency to the package. Example shown below The Problem Currently when you add a swift package manager dependency to a swift package in which you want to view a live preview you receive the following error: The Question How do you view live previews of a SwiftUI view in Xcode 12 Swift Package assuming you have a newly created swift package with another swift package as a dependency? Note: This may be a bug on Apple's part and if I do not see a response in a few days will file a bug report in feedback assistant. Live Preview Diagnostics: build aborted due to an internal error: planningFailed(multiple configured targets of 'SwiftyStoreKit' are bein
0
0
1.6k
Jun ’20
Does TestFlight erase production version data?
I have an expensive app ($300) that my users depend on for their daily work. I would like to have some of those users Flight Test an update I have prepared. But I don't want to erase the private data that the current production version has stored for each of them. Can they safely use TestFlight to load the beta version of my app without losing the data currently associated with the production version? And can they easily dump the beta version and return to the production version without losing that data? I know that if they uninstall the production version first, the private data store and settings they had developed on the production version will be lost. So I want to ensure that my testers will be able to test the beta version the same as if they had updated from the app store, in which case the private data for the app would be preserved.
1
0
1.1k
Sep ’19
Xcode and Supabase Package
Hi All, I'll start by saying i am complete beginner when it comes to coding/ developing. So please be easy on me, im also using AI tools to help and learn so apologies if what im saying doesnt make sense. The error im getting is /Services/SupabaseManager.swift:47:29 Cannot find 'GlobalOptions' in scope From AI tells me 'GlobalOptions' is defined a types.swift file in the supabase package public struct GlobalOptions: Sendable { /// Optional headers for initializing the client, it will be passed down to all sub-clients. public let headers: [String: String] /// A session to use for making requests, defaults to `URLSession.shared`. public let session: URLSession /// The logger to use across all Supabase sub-packages. public let logger: (any SupabaseLogger)? public init( headers: [String: String] = [:], session: URLSession = .shared, logger: (any SupabaseLogger)? = nil ) { self.headers = headers self.session = session self.logger = logger } } From what i can see i have added the supabase package
3
0
144
Apr ’25
What is "Package Power" in Powermetrics?
I am using powermetrics to collect the cpu_power information. I have a small command-line utility that uses some blas functions in Accelerate and I'd like to quantify the energy consumption of the algorithm. My workflow is to start powermetrics, wait 1 second, start my program, and then stop powermetrics. During that 1 second waiting period, Package Power is: If GPU power is 0, Package power is exactly equal to CPU power even though DRAM power is not 0 If GPU power is not 0, Package power is usually (but not always) equal to CPU + GPU power even though DRAM power is not 0 When my algorithm is running, Package power is sometimes greater than the sum of everything else, but sometimes not. I've tried using powermetrics with other programs and am seeing similar results. It appears that whatever Package Power means, it does not include DRAM Power. The man page doesn't have any information, and other internet searches turn up empty or are definitely wrong. Using blas fun
1
0
1.8k
Jun ’22
Reply to Login Item for an App showing unidentified developer
How are you installing this login item? Also, you wrote: The code we use to sign That’s using --deep, which is something I specifically recommend against. For general advice on how to sign and package Mac products, see: Creating Distribution-Signed Code for Mac Packaging Mac Software for Distribution Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Topic: App & System Services SubTopic: Core OS Tags:
Dec ’22
Cannot resolve dependencies when using a test only target from Swift Package
I'm having an issue resolving some dependencies in the test suite for my app when using a Swift Package in my test target. Here's the setup: We have a Swift Package that contains two products. One product is the main library that is used throughout our app. The other product is a library of testing utilities, like mocks and such. This is a simplified version of its Package.Swift file with actual package/target/library/dependency names changed. let package = Package( name: Library, platforms: [ .iOS(.v14) ], products: [ // Products define the executables and libraries a package produces, and make them visible to other packages. .library( name: Library, targets: [Library]), .library( name: LibraryTestUtilities, targets: [LibraryTestUtilities] ), ], dependencies: [ // Dependencies declare other packages that this package depends on. // .package(url: /* package url */, fr
3
0
2.3k
Dec ’22
Swift Packages: exclude developments resources/assets from package used in archived app.
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?
2
0
2.7k
Feb ’23