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
Search results for
missing package product
51,068 results found
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
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.
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
Topic:
Developer Tools & Services
SubTopic:
Xcode
I thought the main reason to join was to be able to use the made for iPhone etc. logos on your hardware product packaging. If you don't need / want that then I suspect you wouldn't need to join.Disclaimer: I have no experience with hardware development like that myself.
Topic:
App & System Services
SubTopic:
Core OS
Tags:
What is missing, EXACTLY ? Which details ? The wordings are missing, only a blank box is visible. How did you transfer the app from Xcode to Finder ? In Xcode, under the folder Products, right click the .app file, select the Show in Finder, then click it and run.
Topic:
App & System Services
SubTopic:
Core OS
Tags:
Is it possible to determine the location of the pkg file being ran from inside of an InstallerJS block? If so what would the function invocation be?
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
I’m updating an old app which uses StoreKit and hosted in-app purchases (multimedia add-ons). The original .pkgs are missing and the only known place they exist intact is on Apple’s servers. The app is able to download and install the IAPs. Is there anyway to save them to the local device?
https://stackoverflow.com/questions/70635415/xcode-13-missing-products-folder-when-creating-a-framework It worked on me - the answer > Simple way
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags:
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:
Seems pretty nice, except Java 6 is broken or missing and I can't reinstall it. Error below:Java for OS X 2014-001 can't be installed on this disk. A newer version of this package is already installed.
Topic:
App & System Services
SubTopic:
Core OS
Tags:
I have looked all over for contents/Developer/platform/iPhoneOS.platform/DeviceSupport but I just cannot find it on my Macbook. Is there some trick I am missing ? Thanks Update - Found it. Right Click on the xcode.app and select View Package Contents.
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags:
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
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?
Hello, I have a repo with only packages (includes snapshot tests). Is there a possibility to add package to the Xcode Cloud (package does not contain a application - it's only design system)