Search results for

“missing package product”

52,923 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
Missing required module ‘CNIOAtomics’ when I copy CLI target product into macOS app bundle
I work on an Xcode project that has three targets: macOS app CLI shared framework (mostly shared types and constants) macOS app and CLI have NIO as a dependency. When I build and run targets in the default configuration, everything works. However, I plan to bundle the CLI into the main app bundle so users can install/symlink it to make it available in their PATH. When I add the Copy Files build phase and select the CLI product, the macOS app doesn't build with the error missing required module 'CNIOAtomics' that originates in the CLI. How to configure the build considering the requirements?
1
0
1.3k
Oct ’23
“Missing required module 'XYZ'” on Unit Tests when using Swift Package Manager
I'm using Swift Package Manager on an iOS app on Xcode 11 following the instructions from https://developer.apple.com/videos/play/wwdc2019/408/Everything looks great, except Unit Tests won't work now.Screenshot: Errorhttps://www.dropbox.com/s/uws8hur4ro7bv5j/2265eb764586d19671d2e98f755533026fe76bd7.png?dl=0Screenshot: Navigatorhttps://www.dropbox.com/s/bovk30pqfa5ydw7/e7a8c97ecb1c7b30b22100c77012a65a87c91018.jpeg?dl=0Screenshot: Projecthttps://www.dropbox.com/s/p5smomqhb2n3gtc/313462f93c519e2d592792860fc62c2d1e027580_2_690x412.png?dl=0
1
0
1.5k
Sep ’19
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
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
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
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
693
Jan ’24
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
955
Jul ’21
Accessory Packaging Guidelines
How can I get my hands on the guidelines for packaging for accessories for apple products.
Replies
0
Boosts
0
Views
132
Activity
Oct ’16
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
Missing required module ‘CNIOAtomics’ when I copy CLI target product into macOS app bundle
I work on an Xcode project that has three targets: macOS app CLI shared framework (mostly shared types and constants) macOS app and CLI have NIO as a dependency. When I build and run targets in the default configuration, everything works. However, I plan to bundle the CLI into the main app bundle so users can install/symlink it to make it available in their PATH. When I add the Copy Files build phase and select the CLI product, the macOS app doesn't build with the error missing required module 'CNIOAtomics' that originates in the CLI. How to configure the build considering the requirements?
Replies
1
Boosts
0
Views
1.3k
Activity
Oct ’23
Reply to Installing Dependencies Package is MISSING checkbox
You have to set Add To Target to None when you don't want a Package Product. It work for me.
Replies
Boosts
Views
Activity
Jan ’24
“Missing required module 'XYZ'” on Unit Tests when using Swift Package Manager
I'm using Swift Package Manager on an iOS app on Xcode 11 following the instructions from https://developer.apple.com/videos/play/wwdc2019/408/Everything looks great, except Unit Tests won't work now.Screenshot: Errorhttps://www.dropbox.com/s/uws8hur4ro7bv5j/2265eb764586d19671d2e98f755533026fe76bd7.png?dl=0Screenshot: Navigatorhttps://www.dropbox.com/s/bovk30pqfa5ydw7/e7a8c97ecb1c7b30b22100c77012a65a87c91018.jpeg?dl=0Screenshot: Projecthttps://www.dropbox.com/s/p5smomqhb2n3gtc/313462f93c519e2d592792860fc62c2d1e027580_2_690x412.png?dl=0
Replies
1
Boosts
0
Views
1.5k
Activity
Sep ’19
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 creates schemes for some referenced Swift Packages
Are these packages of yours dependencies in Package.swift, or do they live locally alongside your project? If the former, then my answer applies (make sure to .gitignore .swiftpm from whatever repo you're storing your packages in). If the latter, then this is standard behavior from Xcode as it autogenerates schemes for all local package products.
Replies
Boosts
Views
Activity
Nov ’22
Reply to Xcode 13 "Missing package product" using local Swift Packages
EVERY DAY my Xcode welcomes me with missing packages problems. Yes, Reset Package Caches works but really Apple, fix this horrible issue, still present in Version 14.3 (14E222b)
Replies
Boosts
Views
Activity
Apr ’23
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
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 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
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
693
Activity
Jan ’24
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
955
Activity
Jul ’21
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
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