Search results for

missing package product

50,380 results found

Post

Replies

Boosts

Views

Activity

How to build an XCFramework from a Swift Package (with Resources)
I have some code that is currently built using Swift Package Manager. It does not have an Xcode project. I want to build an XCFramework from my package, but when I build the package it creates a .o, and xcodebuild -create-xcframework does not seem to support .o files. Also, I have added resources, and now I see there is a .bundle, but I don’t see any way to add the .bundle to an XCFramework. I have tried changing my Package.swift library product to be .dynamic (even though I prefer it to be .static), and that produces a .framework, which I can then convert to an XCFramework, but it does not appear to have my resources (they appear to still be in the .bundle file next to my .o). I have also tried making an Xcode project to wrap my Swift package. It imports my package and links against it and produces a Framework that I can make an XCFramework from, but it also does not have my Resources. All of this was done using Xcode 12 beta.
7
0
9.9k
Jun ’20
Reply to How fix the package "%@"is missing or invalid
May have a look here: https ://osxdaily. com/2020/11/12/macos-big-sur-update-download-errors/ “The package %@ is missing or invalid” Error Message Some users have encountered an error message stating “The package %@ is missing or invalid” when attempting to download or upgrade to macOS Big Sur. This problem can sometimes be resolved by installing any available system software updates on the Mac first. Also, sometimes changing the wi-fi network (or turning off wi-fi if you’re on ethernet), and then deleting and re-downloading the macOS Big Sur installer can sometimes resolve the error.
Topic: App & System Services SubTopic: Core OS Tags:
May ’21
Apple Core Package for Unity
I have installed the aple game kit and when it is time to build the packages i go to unity pakage manager and find the .tgz file and open it but the apple core pakage does not appear on the list inside package manager. Using unity 2022.2.2 [08:53:18] [Package Manager Window] Error adding package: file:./Assets/External Packages/unityplugins-main/Build/fbx20133_converter_mac.pkg.tgz. Unable to add package file: /Assets/External Packages/unitvolugins-main/Build/fbx20133 converter mac.nka.tazl: [08:56:07] [Package Manager Window] Error adding package: file:./Assets/External Packages/unityplugins-main/Build/fbx20133_converter_mac.pkq.tqz. Unable to add package tile:.. Assets/External Packages unitvplugins-mainBulld/TbX20133_converter mac.pka.taz: [08:59:311 [Package Manager Window] Error adding package: file../ Assets/External Packages/unityplugins-main/Build/fbx20133_converter_ma
1
0
935
Dec ’23
Certificate Missing Required Extension
I'm not much of a Developer, but I use my developer account as a Mac Admin to sign packages and mobileconfig profiles for distribution via JAMF. I've had no problems until recently.I went to sign a mobileconfig like I always do I can get an error saying: errSecInternalComponentor I get this if I try to sign from the command line using the product sign command: productsign: error: Can't read input product archive /Users/myuser/Desktop/TEST.mobileconfigWhen I run this: security find-identity -vp macappstoreThis is the what is returned 1) 111111111111111111abcdefghijklmnop Developer ID Installer: My Name (blah0011112) (Missing required extension)In fact all of my developer ID certs return that (Missing required extension) message nowI assume this has something to do with my inability to sign mobileconfigs, but i'm totally stuck.I've created a whole new keychain, issued a new certificate, nothing works. Any ideas?
2
0
1k
May ’20
pkg installer background disappears in Mojave dark mode
Our product uses an installer/.pkg file for distribution. The pkg has a branded background image.In Mojave Dark Mode, that background goes away and is replaced by the system default dark gray. I see this behavior in both our product and in the Python 3.7 installer (https://www.python.org/ftp/python/3.7.0/python-3.7.0-macosx10.9.pkg).Anybody know of a workaround to restore the background image in Dark Mode? Is there a new/undocumented key for the XML file?
5
0
3.9k
Aug ’18
Production review failed because IAP products cannot be loaded
My app has a couple of consumable IAP items. I have tested this extensively and it works in all test scenarios including loads of beta testers using testflight. However, Apple's production reviewer reports that loading of the products hangs in their setup. This is very frustrating as I have no means of recreating the problem. My first product was tested ok an all my IAP items are approved for release. However, I did not explicitly assign them to my build. I read somewhere that you need to do that but could not find in App Store Connect after my first product was approved. Below is the relevant code section. What am I missing? class DonationManager: NSObject, ObservableObject, SKProductsRequestDelegate, SKPaymentTransactionObserver { @Published var products: [SKProduct] = [] // This is observed by a view. But apparently that view never gets populated in Apple's production review setup @Published var isPurchasing: Bool = false @Published var purchas
2
0
184
Jul ’25
Reply to When to notarize artifacts developed in different stages?
My general advice is that you sign and package your code from the inside out, and then notarise the final product. There are situations where it makes sense to deviate from that path, but in most cases it’s the best path forward. For general advice on signing and packaging, see: Creating distribution-signed code for macOS Packaging Mac software for distribution For lots of links to notarisation documentation, forums posts, and whatever, see Notarisation Resources. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Topic: Code Signing SubTopic: Notarization Tags:
May ’25
Notarizing a flat package?
Hi,I'm having some trouble notarizing a package with a single app bundle in it. The application is actually a binary that is run as a LaunchDaemon as root. Originally our package installer just deployed two Mach-O binaries (executable and a dylib) to a directory along with the LaunchDaemon plist.With notarization requiring an App Bundle, we've moved our two Mach-O binaries to the required App Bundle structure and successfully signed & notarized the App Bundle itself. A side note - we're not working with a typical Xcode setup. The binary is written in Rust and we're signing/notarizing manually with automation.However, now that I'm attempting to build the flat PKG installer with the App Bundle, we're failing notarization for a reason that doesn't really make sense. The error we're getting from the notarization service is:{ logFormatVersion: 1, jobId: 91ca9fc8-50b4-4008-b691-xxxxxxx, status: Invalid, statusSummary: Archive contains critical validation errors, statusCode: 4000, arch
6
0
5.5k
Apr ’19
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.5k
Jun ’20
Create Swift Package with 3rd party dependencies
I am trying to create a Swift Package for a custom framework I'm building for a client. The framework has a dependency on a couple of 3rd party frameworks. I've read about how even though binary frameworks don't support dependencies directly, there is way to do this with a 'wrapper' target, so this is what I came up with for Package.swift: let package = Package( name: SBCardScannerFramework, platforms: [ .iOS(.v16) ], products: [ // Products define the executables and libraries a package produces, and make them visible to other packages. .library( name: SBCardScannerFramework, targets: [SBCardScannerFramework-Target]), ], dependencies: [ // Dependencies declare other packages that this package depends on. .package(url: https://github.com/apple/swift-algorithms.git, from: 1.0.0), .package(url: https://github.com/marmelroy/PhoneNumberKit.git, from: 3.3.3) ], targets: [ .target(name: SBCardScannerFramework-Target,
0
0
1.3k
May ’23
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
87
Apr ’25