Search results for

“missing package product”

53,803 results found

Post

Replies

Boosts

Views

Activity

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
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
4k
Aug ’18
Reply to ITMS-90238: Invalid Signature - The main app bundle Tren at path Tren.app has following signing error(s): a sealed resource is missing or invalid
Ignore the second error for the moment. You’ll need to fix the first error before you can tell whether it’s relevant. My standard practice for debugging such problems is: Choose Product > Archive to build an Xcode archive for your product. Use the Xcode organiser to upload that to App Store Connect. Confirm that you get the same error. Use the Xcode organiser to export an App Store compatible installer package (.pkg). Use Transporter to upload that to App Store Connect. Confirm that you get the same error. Now that you’ve confirmed that the installer package accurately reflects the problem, extract your app from that installer package [1]. Use codesign to check its signature: % codesign -d -vvv --deep --strict /path/to/your.app Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com [1] I use a third-party app for this, but you can do it from the command line using the techniques shown in Unpa
Topic: Code Signing SubTopic: General Tags:
Apr ’24
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.6k
Apr ’19
Terminal command for XCode->File->Packages->Reset Package Cache
I am using XCode 13.1 and wondering a way to execute XCode->File->Packages->Reset Package Cache on terminal. I see my CI machine is failing every time not for specific package but some random package. And when manually do XCode->File->Packages->Reset Package Cache, it resolves the package graph properly. I already tried clearing DerivedData and also clearing /Users/bostonsamddv/Library/Caches/org.swift.swiftpm with no luck :( Any help will be appreciated.
1
0
2.7k
Oct ’21
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
1.1k
May ’20
Completion in Swift packages
I have a Swift Package that builds both an AppKit and a UIKit library, and code completion works great for AppKit code, but does not work in any of the UIKit files - regardless of the target selected on the top of the IDE.This Swift Package in turn is consumed by an AppKit sample, and a UIKit sample, code completion works just fine on both of those projects. It is just the shared Swift Package that fails to work with iOS APIs.I have tried removing mac as a platform in `Package.swift`, and wiping out my DerivedData for the project, but it does not make a difference, completion still is completely busted for code living inside the Swift Package.The code is open source, under the MIT license, if anyone wants to look at the setup:https://github.com/migueldeicaza/SwiftTerm
0
0
638
Apr ’20
Large files in PKGs woes
Dear colleagues No matter how hard I try I can’t get large files ~20Gb to be processed correctly by the productbuild At least that’s what I think. I use —large-payload option Product build actively complains with warnings about 12,0 as min version of macOS. The issue here is that in app plist 12.4 is set as min version. PRE-INSTALL REQUIREMENTS PROPERTY LIST should apparently be used for this but no possible combo of options can fix this warning. The warning have far reaching consequences. More on this later All the utilities even Apple ones like Trandporter unpack the pkg absolutely wrong. When I check temporary expanded archive my 20gb file turns into 8Gb! i still have to check installer way whether it unpacks correctly. AppStore submission immediately rejects the pkg because lsmin key is 12.4 while package min is 12.0. The thing is I never ever used 12.0 anywhere. so to summarize. Cant submit large payloads archive Can’t extract it either what to do ? Best regards
3
0
1.3k
Jun ’23
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
237
Jul ’25
In-App Purchases not loading in production / TestFlight — Previously missing Paid Apps Agreement — App rejected under Guideline 3.1.2
Hello, My app was rejected on iPad (iPad Air 11-inch M3, iPadOS 26.2.1) with two related issues: Guideline 2.1 – Performance – App Completeness “The app exhibited one or more bugs that would negatively impact users. Bug description: the premium subscription cannot be loaded properly.” Guideline 3.1.2 – Business – Payments – Subscriptions “The submission did not include all the required information for apps offering auto-renewable subscriptions.” I am using StoreKit 2 with SubscriptionStoreView to present the auto-renewable subscription. During development: Subscriptions load correctly in the simulator (sandbox). On real devices, I test without a local StoreKit configuration file to fetch products from App Store Connect. The subscription UI (title, duration, price) displays correctly when products are returned. At the time of review, the Paid Apps Agreement was not active. I suspect this may have caused the subscription products to fail loading on the review device. Since then: Paid
1
0
278
Feb ’26
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.4k
May ’23
Issue with using Swift package with xcframework binaryTarget
Hi! I'm trying to create a target application that depends on multiple targets that all use the same Swift package that has xcframework binaryTarget. Each component can be successfully assembled individually, but when I try to create a core application that depends on these components, I get an error message on Prepare build stage: Multiple commands produce '/Users//Library/Developer/Xcode/DerivedData//Build/Products/Debug/Frameworks/.framework/Versions/A' Target '' has copy command from '/Users//Library/Developer/Xcode/DerivedData//SourcePackages/artifacts/...//.xcframework/macos-arm64_x86_64/.framework' to '/Users//Library/Developer/Xcode/DerivedData//Build/Products/Debug/Frameworks/.framework' Target '' has copy command from '/Users//Library/Developer/Xcode/DerivedData//SourcePackages/artifacts/...//.xcframework/macos-arm64_x86_64/.framework' to '/Users//Library/Developer/Xcode/DerivedData//Build/Products/Debug/Frameworks/.framework' – where is a name of the xcframework
0
0
419
Nov ’24
Download IAP .pkgs from Apple’s servers?
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?
Replies
0
Boosts
0
Views
369
Activity
Dec ’24
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:
Replies
Boosts
Views
Activity
May ’21
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?
Replies
5
Boosts
0
Views
4k
Activity
Aug ’18
Reply to ITMS-90238: Invalid Signature - The main app bundle Tren at path Tren.app has following signing error(s): a sealed resource is missing or invalid
Ignore the second error for the moment. You’ll need to fix the first error before you can tell whether it’s relevant. My standard practice for debugging such problems is: Choose Product > Archive to build an Xcode archive for your product. Use the Xcode organiser to upload that to App Store Connect. Confirm that you get the same error. Use the Xcode organiser to export an App Store compatible installer package (.pkg). Use Transporter to upload that to App Store Connect. Confirm that you get the same error. Now that you’ve confirmed that the installer package accurately reflects the problem, extract your app from that installer package [1]. Use codesign to check its signature: % codesign -d -vvv --deep --strict /path/to/your.app Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com [1] I use a third-party app for this, but you can do it from the command line using the techniques shown in Unpa
Topic: Code Signing SubTopic: General Tags:
Replies
Boosts
Views
Activity
Apr ’24
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:
Replies
Boosts
Views
Activity
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
Replies
6
Boosts
0
Views
5.6k
Activity
Apr ’19
Terminal command for XCode->File->Packages->Reset Package Cache
I am using XCode 13.1 and wondering a way to execute XCode->File->Packages->Reset Package Cache on terminal. I see my CI machine is failing every time not for specific package but some random package. And when manually do XCode->File->Packages->Reset Package Cache, it resolves the package graph properly. I already tried clearing DerivedData and also clearing /Users/bostonsamddv/Library/Caches/org.swift.swiftpm with no luck :( Any help will be appreciated.
Replies
1
Boosts
0
Views
2.7k
Activity
Oct ’21
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?
Replies
2
Boosts
0
Views
1.1k
Activity
May ’20
Completion in Swift packages
I have a Swift Package that builds both an AppKit and a UIKit library, and code completion works great for AppKit code, but does not work in any of the UIKit files - regardless of the target selected on the top of the IDE.This Swift Package in turn is consumed by an AppKit sample, and a UIKit sample, code completion works just fine on both of those projects. It is just the shared Swift Package that fails to work with iOS APIs.I have tried removing mac as a platform in `Package.swift`, and wiping out my DerivedData for the project, but it does not make a difference, completion still is completely busted for code living inside the Swift Package.The code is open source, under the MIT license, if anyone wants to look at the setup:https://github.com/migueldeicaza/SwiftTerm
Replies
0
Boosts
0
Views
638
Activity
Apr ’20
Large files in PKGs woes
Dear colleagues No matter how hard I try I can’t get large files ~20Gb to be processed correctly by the productbuild At least that’s what I think. I use —large-payload option Product build actively complains with warnings about 12,0 as min version of macOS. The issue here is that in app plist 12.4 is set as min version. PRE-INSTALL REQUIREMENTS PROPERTY LIST should apparently be used for this but no possible combo of options can fix this warning. The warning have far reaching consequences. More on this later All the utilities even Apple ones like Trandporter unpack the pkg absolutely wrong. When I check temporary expanded archive my 20gb file turns into 8Gb! i still have to check installer way whether it unpacks correctly. AppStore submission immediately rejects the pkg because lsmin key is 12.4 while package min is 12.0. The thing is I never ever used 12.0 anywhere. so to summarize. Cant submit large payloads archive Can’t extract it either what to do ? Best regards
Replies
3
Boosts
0
Views
1.3k
Activity
Jun ’23
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
Replies
2
Boosts
0
Views
237
Activity
Jul ’25
In-App Purchases not loading in production / TestFlight — Previously missing Paid Apps Agreement — App rejected under Guideline 3.1.2
Hello, My app was rejected on iPad (iPad Air 11-inch M3, iPadOS 26.2.1) with two related issues: Guideline 2.1 – Performance – App Completeness “The app exhibited one or more bugs that would negatively impact users. Bug description: the premium subscription cannot be loaded properly.” Guideline 3.1.2 – Business – Payments – Subscriptions “The submission did not include all the required information for apps offering auto-renewable subscriptions.” I am using StoreKit 2 with SubscriptionStoreView to present the auto-renewable subscription. During development: Subscriptions load correctly in the simulator (sandbox). On real devices, I test without a local StoreKit configuration file to fetch products from App Store Connect. The subscription UI (title, duration, price) displays correctly when products are returned. At the time of review, the Paid Apps Agreement was not active. I suspect this may have caused the subscription products to fail loading on the review device. Since then: Paid
Replies
1
Boosts
0
Views
278
Activity
Feb ’26
Reply to making USB-C accessory for Apple TV
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:
Replies
Boosts
Views
Activity
Oct ’15
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,
Replies
0
Boosts
0
Views
1.4k
Activity
May ’23
Issue with using Swift package with xcframework binaryTarget
Hi! I'm trying to create a target application that depends on multiple targets that all use the same Swift package that has xcframework binaryTarget. Each component can be successfully assembled individually, but when I try to create a core application that depends on these components, I get an error message on Prepare build stage: Multiple commands produce '/Users//Library/Developer/Xcode/DerivedData//Build/Products/Debug/Frameworks/.framework/Versions/A' Target '' has copy command from '/Users//Library/Developer/Xcode/DerivedData//SourcePackages/artifacts/...//.xcframework/macos-arm64_x86_64/.framework' to '/Users//Library/Developer/Xcode/DerivedData//Build/Products/Debug/Frameworks/.framework' Target '' has copy command from '/Users//Library/Developer/Xcode/DerivedData//SourcePackages/artifacts/...//.xcframework/macos-arm64_x86_64/.framework' to '/Users//Library/Developer/Xcode/DerivedData//Build/Products/Debug/Frameworks/.framework' – where is a name of the xcframework
Replies
0
Boosts
0
Views
419
Activity
Nov ’24