Search results for

“missing package product”

55,547 results found

Post

Replies

Boosts

Views

Activity

Reply to In App Purchase max quantity
A) Sell the credits in packages and discount the larger packages.1 credit for $105 credits for $4525 credits for $20050 credits for $300B) have a set of products available for purchase but only display those products when the user has made previous purchases:User has no previous purchases: (show only products A and B) 1 credit for $10 (Product A) 10 credits for $100 (Product B) - limit quantity 2User has 25 previous purchases: (show only products C and D) 1 credit for $8 (Product C) 10 credits for $80 (Product D) - limit quantity 2User has 50 previous purchases: (show only products E and F) 1 credit for $6 (Product E) 10 credits for $60 (Product F)
Apr ’18
Reply to Can’t archive App that uses a swift package with an xcframework
Same situation here, got around the problem by adding library A as a new product of the package. e.g. let package = Package( name: PackageB, products: [ .library( name: PackageB, targets: [PackageB]), .library( name: LibraryA, targets: [LibraryA]) ], targets: [ .binaryTarget( name: LibraryA, url: https://url.to/LibraryA.xcframework.zip, checksum: checksum), .target( name: PackageB, dependencies: [ LibraryA ]) ]) Then add both libraries to App's Frameworks, Libraries, and Embedded Content. Still would like a better solution.
Nov ’20
Reply to Xcode error: Abort Trap 6
Same issue here. After trying everyone's suggestions from this thread and coming up dry, I finally narrowed down the needle-in-a-haystack. In my case it was a Swift Package. Debug builds built fine, but Release builds (with optimizations) caused the Swift compiler to crash with the same stack trace and error: Abort trap: 6 as others have mentioned. The culprit? A single missing import statement in one of the package's .swift files. To elaborate the particulars: PackageA (crashed compiler) has PackageB as a dependency, which in turn has PackageC as a dependency. All three packages show up in the dependency pool of course. PackageA was accessing methods from PackageC without actually using an import PackageC statement (possibly by way of PackageB exporting types from PackageC in some of its interfaces). The missing import statement was forgotten because compilation succeeded in Debug builds and development and testing was only ever done in a Debug build. It wasn't un
Topic: Programming Languages SubTopic: Swift Tags:
Aug ’21
How to edit local package referenced from package in XCode?
Situation I am working on two Swift packages, let's call them Applied and Base. Package Applied has dependency on a package Base. Both are stored on Github and the package Applied has dependecy specified as: .package(url: https://github.com/.../Base, branch: main), When I work from command-line, I mark the Base package in the Applied package directory for edditing with: swift package edit --path ../Base Base This works as expected from the command-line. Problem XCode seems to be ignoring packages in edit mode. The article Organizing your code with local packages seems not to be applicable in this case, as it assumes that the Applied package is a XCode project or a workspace, which is not - it is just another plain Swift package. Both projects are plain Swift packages. What is the way to make XCode use the local package in edit mode when none of the packages is XCode Project/Wo
0
0
712
Jan ’24
Reply to Notarization Failed for "The binary is not signed"
Hi @eskimo, Thank you for sharing me the debug process. And you are right, this file is indeed not signed. With this lead I found that this file is used to make an installer package before it is signed. This explains the issue here. So my next question is here we have two schemes, one for the app and the other one for the installer package. During the execution of the installer package, we were trying to copy the product of app scheme. We have a dependency within installer package scheme. And the app scheme is in the dependency. But it looks like it could not guarantee that app is signed before used. Do you know is there any way to make sure that the product of app scheme is signed before used/copied?
Topic: Code Signing SubTopic: Notarization Tags:
Jun ’22
Safari Web Extension Packager: App Store and Development export both fail, but logs artifact is missing
I’m packaging a Safari Web Extension using the web-based Safari Web Extension Packager in App Store Connect. The ZIP uploads successfully, the manifest is accepted, and the Packager automatically creates the related Extension identifier. However, every build fails during export with: Exporting for App Store Distribution failed. Please download the logs artifact for more information. It also shows: Exporting for Development Distribution failed. Please download the logs artifact for more information. There is no Logs, Artifacts, or Download button on the build or issue page. To isolate the problem, I tested: Manifest V2 and Manifest V3 A minimal extension containing only HTML and icons No JavaScript, permissions, host permissions, APIs, or external dependencies A completely new App Store Connect app A new explicit Bundle ID A name-matched extension ZIP Multiple version and build numbers Every test produced exactly the same export errors. The App Store Connect agreement is active, and
0
0
20
3w
Reply to iTunes Sandbox Extremely Slow
I'm seeing the same: 100% packet loss when pinging sandbox.itunes.apple.com and yet the developer system status shows everything all green. Retrieving products seems fine, but doing anything substantive—like purchasing products or restoring purchases—is very hit & miss. Mostly miss.
Topic: App & System Services SubTopic: StoreKit Tags:
Apr ’18
ITMS-90237: The product archive package's signature is invalid. Ensure that it is signed with your '3rd Party Mac Developer Installer' certificate.
ITMS-90237: The product archive package's signature is invalid. Ensure that it is signed with your '3rd Party Mac Developer Installer' certificate. How can I solve? I've revoked my mac installer distribution certificate and re-download or did many things but the same error occurs several times.
2
0
966
Jul ’21
How to use dependencies in a Swift Package
I created a new Package with Xcode and incorporated a dependency, however when I try to use it, I get a No such module error. How do I use the dependency in the Package sources? In a normal project, I can easily import and use AgileDB. Here's the Package: // The swift-tools-version declares the minimum version of Swift required to build this package. import PackageDescription let package = Package( name: DBCore, products: [ // Products define the executables and libraries a package produces, and make them visible to other packages. .library( name: DBCore, targets: [DBCore]), ], dependencies: [ .package(url: https://github.com/AaronBratcher/AgileDB, from: 6.4.0) ], targets: [ // Targets are the basic building blocks of a package. A target can define a module or a test suite. // Targets can depend on other targets in this package, and on products in packages this package
1
0
1.1k
Apr ’22
Impossible to notarize my .pkg ? Product sign: error: Could not find appropriate signing identity for "Developer ID Installer: **** (******)"
Hello, I have a problem to notarize my .pkg. Indeed, I have a certified certificat in .pfx format and I have a Apple Developer Program account. 1 - in the key chain, I request a certificate from a certificate authority in Keychain to have a .csr 2 - I install the .csr to have a .cert than I put in keychain to have a valide certificate 3 - I execute this command : productsign --sign Developer ID Installer: Name_of_developer_ID (Number_of_DeveloperID) name_uncertfied.pkg name_certified.pkg Finaly, I get that answer : Product sign: error: Could not find appropriate signing identity for Developer ID Installer: ** (****) then that there are a valide certificate with wrote Developer ID installer : Name_of_developper_ID (Number_of_DeveloperID). Moreover, when I execute this command : security -v find-identity -p codesigning My certificate don't appears in matching identities then he is in my Keychain et I don't know why ... My Question is, How I can notarize my .pkg ?
9
0
2k
May ’21
How to preview with package
How do you get previews working in a swift package? This talk shows this working, however the following steps do not work. Using Xcode 13.2.1 create a new Swift Package Add a simple view with a preview to that swift package (See code below) Attempt to run the preview. code: import SwiftUI @available(iOS 14.0, *) public struct TestView: View { public init() { } public var body: some View { Text(Hello World) } } @available(iOS 14.0, *) struct NoDataView_Previews: PreviewProvider { static var previews: some View { TestView() } } #endif See errors: ================================== | RemoteHumanReadableError | | LoadingError: failed to load library at path /Users/fishycx/Library/Developer/Xcode/DerivedData/MyLibrary-cwtaivijrddzbkeegisudpueggjw/Build/Intermediates.noindex/Previews/MyLibrary/Products/Debug-iphonesimulator/PackageFrameworks/MyLibrary_-71ED4B7C0CDEC55C_PackageProduct.framework/MyLibrary_-71ED4B7C0CDEC55C_PackageProduct: Optional(dlopen(/Users/fishycx/Library/Deve
1
0
657
Feb ’22
Reply to In App Purchase max quantity
A) Sell the credits in packages and discount the larger packages.1 credit for $105 credits for $4525 credits for $20050 credits for $300B) have a set of products available for purchase but only display those products when the user has made previous purchases:User has no previous purchases: (show only products A and B) 1 credit for $10 (Product A) 10 credits for $100 (Product B) - limit quantity 2User has 25 previous purchases: (show only products C and D) 1 credit for $8 (Product C) 10 credits for $80 (Product D) - limit quantity 2User has 50 previous purchases: (show only products E and F) 1 credit for $6 (Product E) 10 credits for $60 (Product F)
Replies
Boosts
Views
Activity
Apr ’18
Reply to Can’t archive App that uses a swift package with an xcframework
Same situation here, got around the problem by adding library A as a new product of the package. e.g. let package = Package( name: PackageB, products: [ .library( name: PackageB, targets: [PackageB]), .library( name: LibraryA, targets: [LibraryA]) ], targets: [ .binaryTarget( name: LibraryA, url: https://url.to/LibraryA.xcframework.zip, checksum: checksum), .target( name: PackageB, dependencies: [ LibraryA ]) ]) Then add both libraries to App's Frameworks, Libraries, and Embedded Content. Still would like a better solution.
Replies
Boosts
Views
Activity
Nov ’20
Reply to Xcode error: Abort Trap 6
Same issue here. After trying everyone's suggestions from this thread and coming up dry, I finally narrowed down the needle-in-a-haystack. In my case it was a Swift Package. Debug builds built fine, but Release builds (with optimizations) caused the Swift compiler to crash with the same stack trace and error: Abort trap: 6 as others have mentioned. The culprit? A single missing import statement in one of the package's .swift files. To elaborate the particulars: PackageA (crashed compiler) has PackageB as a dependency, which in turn has PackageC as a dependency. All three packages show up in the dependency pool of course. PackageA was accessing methods from PackageC without actually using an import PackageC statement (possibly by way of PackageB exporting types from PackageC in some of its interfaces). The missing import statement was forgotten because compilation succeeded in Debug builds and development and testing was only ever done in a Debug build. It wasn't un
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Aug ’21
How to edit local package referenced from package in XCode?
Situation I am working on two Swift packages, let's call them Applied and Base. Package Applied has dependency on a package Base. Both are stored on Github and the package Applied has dependecy specified as: .package(url: https://github.com/.../Base, branch: main), When I work from command-line, I mark the Base package in the Applied package directory for edditing with: swift package edit --path ../Base Base This works as expected from the command-line. Problem XCode seems to be ignoring packages in edit mode. The article Organizing your code with local packages seems not to be applicable in this case, as it assumes that the Applied package is a XCode project or a workspace, which is not - it is just another plain Swift package. Both projects are plain Swift packages. What is the way to make XCode use the local package in edit mode when none of the packages is XCode Project/Wo
Replies
0
Boosts
0
Views
712
Activity
Jan ’24
Reply to Notarization Failed for "The binary is not signed"
Hi @eskimo, Thank you for sharing me the debug process. And you are right, this file is indeed not signed. With this lead I found that this file is used to make an installer package before it is signed. This explains the issue here. So my next question is here we have two schemes, one for the app and the other one for the installer package. During the execution of the installer package, we were trying to copy the product of app scheme. We have a dependency within installer package scheme. And the app scheme is in the dependency. But it looks like it could not guarantee that app is signed before used. Do you know is there any way to make sure that the product of app scheme is signed before used/copied?
Topic: Code Signing SubTopic: Notarization Tags:
Replies
Boosts
Views
Activity
Jun ’22
Reply to Code Coverage Not Accurate in Xcode 26
We are encountering the same issue since Xcode 16. We run XCTest and Swift Testing. For us it is flaky, sometimes some local Packages (SPM) are missing in the .xcresult file, resulting in a Coverage of 0% for these packages
Replies
Boosts
Views
Activity
Nov ’25
Reply to What's Apple's intended use case for mediafilesegmenter?
The mediafilesegmenter is a reference implementation of an HLS packager (for VOD). It is not intended to be used in a production environment; it is designed to produce working examples and as a validation tool for an actual production workflow.
Topic: Media Technologies SubTopic: Streaming Tags:
Replies
Boosts
Views
Activity
Jul ’20
Safari Web Extension Packager: App Store and Development export both fail, but logs artifact is missing
I’m packaging a Safari Web Extension using the web-based Safari Web Extension Packager in App Store Connect. The ZIP uploads successfully, the manifest is accepted, and the Packager automatically creates the related Extension identifier. However, every build fails during export with: Exporting for App Store Distribution failed. Please download the logs artifact for more information. It also shows: Exporting for Development Distribution failed. Please download the logs artifact for more information. There is no Logs, Artifacts, or Download button on the build or issue page. To isolate the problem, I tested: Manifest V2 and Manifest V3 A minimal extension containing only HTML and icons No JavaScript, permissions, host permissions, APIs, or external dependencies A completely new App Store Connect app A new explicit Bundle ID A name-matched extension ZIP Multiple version and build numbers Every test produced exactly the same export errors. The App Store Connect agreement is active, and
Replies
0
Boosts
0
Views
20
Activity
3w
Reply to iTunes Sandbox Extremely Slow
I'm seeing the same: 100% packet loss when pinging sandbox.itunes.apple.com and yet the developer system status shows everything all green. Retrieving products seems fine, but doing anything substantive—like purchasing products or restoring purchases—is very hit & miss. Mostly miss.
Topic: App & System Services SubTopic: StoreKit Tags:
Replies
Boosts
Views
Activity
Apr ’18
ITMS-90237: The product archive package's signature is invalid. Ensure that it is signed with your '3rd Party Mac Developer Installer' certificate.
ITMS-90237: The product archive package's signature is invalid. Ensure that it is signed with your '3rd Party Mac Developer Installer' certificate. How can I solve? I've revoked my mac installer distribution certificate and re-download or did many things but the same error occurs several times.
Replies
2
Boosts
0
Views
966
Activity
Jul ’21
How to use dependencies in a Swift Package
I created a new Package with Xcode and incorporated a dependency, however when I try to use it, I get a No such module error. How do I use the dependency in the Package sources? In a normal project, I can easily import and use AgileDB. Here's the Package: // The swift-tools-version declares the minimum version of Swift required to build this package. import PackageDescription let package = Package( name: DBCore, products: [ // Products define the executables and libraries a package produces, and make them visible to other packages. .library( name: DBCore, targets: [DBCore]), ], dependencies: [ .package(url: https://github.com/AaronBratcher/AgileDB, from: 6.4.0) ], targets: [ // Targets are the basic building blocks of a package. A target can define a module or a test suite. // Targets can depend on other targets in this package, and on products in packages this package
Replies
1
Boosts
0
Views
1.1k
Activity
Apr ’22
Impossible to notarize my .pkg ? Product sign: error: Could not find appropriate signing identity for "Developer ID Installer: **** (******)"
Hello, I have a problem to notarize my .pkg. Indeed, I have a certified certificat in .pfx format and I have a Apple Developer Program account. 1 - in the key chain, I request a certificate from a certificate authority in Keychain to have a .csr 2 - I install the .csr to have a .cert than I put in keychain to have a valide certificate 3 - I execute this command : productsign --sign Developer ID Installer: Name_of_developer_ID (Number_of_DeveloperID) name_uncertfied.pkg name_certified.pkg Finaly, I get that answer : Product sign: error: Could not find appropriate signing identity for Developer ID Installer: ** (****) then that there are a valide certificate with wrote Developer ID installer : Name_of_developper_ID (Number_of_DeveloperID). Moreover, when I execute this command : security -v find-identity -p codesigning My certificate don't appears in matching identities then he is in my Keychain et I don't know why ... My Question is, How I can notarize my .pkg ?
Replies
9
Boosts
0
Views
2k
Activity
May ’21
Reply to Unable to upload In-App-Purchase from Xcode to App Store Connect
In Xcode, make sure that the IAPProductIdentifier field in the ContentInfo.plist file is set to your product identifier (the product ID column in App Store Connect). When uploading the archived hosted package, select the app's bundle identifier associated with this product identifier to proceed.
Replies
Boosts
Views
Activity
Jun ’20
How to preview with package
How do you get previews working in a swift package? This talk shows this working, however the following steps do not work. Using Xcode 13.2.1 create a new Swift Package Add a simple view with a preview to that swift package (See code below) Attempt to run the preview. code: import SwiftUI @available(iOS 14.0, *) public struct TestView: View { public init() { } public var body: some View { Text(Hello World) } } @available(iOS 14.0, *) struct NoDataView_Previews: PreviewProvider { static var previews: some View { TestView() } } #endif See errors: ================================== | RemoteHumanReadableError | | LoadingError: failed to load library at path /Users/fishycx/Library/Developer/Xcode/DerivedData/MyLibrary-cwtaivijrddzbkeegisudpueggjw/Build/Intermediates.noindex/Previews/MyLibrary/Products/Debug-iphonesimulator/PackageFrameworks/MyLibrary_-71ED4B7C0CDEC55C_PackageProduct.framework/MyLibrary_-71ED4B7C0CDEC55C_PackageProduct: Optional(dlopen(/Users/fishycx/Library/Deve
Replies
1
Boosts
0
Views
657
Activity
Feb ’22
Reply to a mismatch between the mbr and gpt partition maps is not supported
The installer -pkg /Volumes/BOOTCAMP/gdisk-1.0.0.pkg /Volumes/Macintosh HD line was missing -target, so it should be:installer -pkg /Volumes/<LOCATION>/gdisk-1.0.0.pkg -target /Volumes/Macintosh HDOtherwise, thank you KDParker& Frantz. I have now fixed the MBR/GPT and I've begun the re-install of OSX again. Hopefully this time it will work.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Aug ’15