Search results for

“missing package product”

52,933 results found

Post

Replies

Boosts

Views

Activity

macOS 15.6: Opened package is not the same at install time
I've created an installation package and it is failing to install on macOS 15.6. The package is, I believe, properly notarized, since it will install correctly on other macOS versions, including 15.5 The only clue I have is the output from installer: installer[8015] : Opened package is not the same at install time installer[8015] : Unable to use PK session due to incompatible packages. Terminating. installer[8015] : Install failed: The Installer could not install the software because there was no software found to install. The installer consists of a a single component package, and the outer product package. The component package is present, and I can successfully run installer manually to install it, so I don't think the component package is corrupt. Has anyone else encountered this? Are there any tools available to help me diagnose the issue? The logging is not helpful.
2
0
223
Aug ’25
SKTestSession.buyProduct(identifier: options:) doesn't work in swift package
We are doing a Swift Package to manage our iap with storekit 2. This packages also contains the unit tests for the code. (as well as all the required files .storekit, certificate, ...) when calling SKTestSession.buyProduct(identifier: options:) we catch an error : Error Domain=SKErrorDomain Code=0 (null) Note when trying exactly the same code but in a project instead of a package that works perfectly. Any idea what could it be? The code is really simple : var testSession: SKTestSession! override func setUpWithError() throws { testSession = try SKTestSession(configurationFileNamed: Products) } func testExample() async throws { do { let productID = nonConsumable.crystal.tier1 try await testSession.buyProduct(identifier: productID) } catch { XCTFail(An error occured during purchase : (error)) } } }
0
0
715
Jan ’24
Reply to MacOS application: How to become an identified developer?
I am generating the pkg file using productbuild 3rd Party Mac Developer Installer: command. That is a Mac App Store signing identity. If you want to ship outside of the Mac App Store, you must sign your package with your Developer ID Installer signing identity. For more on this and many other hints, see my Signing a Mac Product For Distribution - https://forums.developer.apple.com/thread/128166 post. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @apple.com
Topic: Code Signing SubTopic: General Tags:
Aug ’20
"Package.resolved" Error with local packages
Let's say you're creating two packages on a local drive, package 'A' and package 'B'. Is it possible, in A's Package.swift file to read (from a JSON or XML file) the path to B, and then add it as a Package.Dependency? I've written my Package.swift script to do so (actually I'm resolving an alias file instead of getting the path from JSON). The problem is: although A's script definitely can read the correct relative path to B (I've logged it to the console and it's fine), no matter what I do, the build always errors out: the Package.resolved file is most likely severely out-of-date and is preventing correct resolution; delete the resolved file and try again This happens so reliably that I assume it's either the (1) script timing out, or (2) some kind of sand-boxing. Either way, the message is pretty useless. I've checked .swiftpm and I see no trace of any Package.resolved file. Deleting .swiftpm doesn't fix the issue. Can anyone shed some light? I'm out of ideas.
2
0
1.3k
Jun ’20
Swift test with CoreData in a Package
I'm getting an error running unit tests with swift test that succeed when I run them from Xcode. The units and my CoreData model are in a Swift Package. I'm loading the model using Bundle.module like so: Bundle.module.url(forResource: PersistenceController.modelName, withExtension: momd) The unit tests are able to load the CoreData model when run from Xcode and also using the xcodebuild test command line. When I run the tests with swift test I get the following error: error: cannot find type 'MyEntity' in scope Is there something more to be done to enable running CoreData unit tests from a Package using swift tests?
2
0
2k
May ’21
Reply to Network Extension for iOS and MacOS. Is there any difference?
While they share a lot of common architecture, which means you’ll be able to share a lot of code, there are significant differences between NE packet tunnel providers on macOS and iOS. Foremost is that macOS allows a packet tunnel provider to be packaged as either an app extension or a system extension, whereas iOS only supports appex packaging. Packaging as a sysex allows your product to be distributed outside of the Mac App Store. See TN3134 Network Extension provider deployment for all the details. If you stick with appex packaging then things are very similar to iOS. If you switch to sysex packaging there are significantly more changes: You need to activate your sysex with the System Extensions framework. Your provider then runs inside your sysex. Which runs as root, although still sandboxed. And that presents some exciting challenges for app-to-provider IPC. Oh, and with regards the iOS memory limits, those do not apply on macOS. Share and Enjoy — Qui
Topic: App & System Services SubTopic: Core OS Tags:
May ’23
About Playgrounds, Swift packages and Workspaces
So, here's the thing: I'm trying to use Lottie (a very nice Swift package) to render animations within my Swift Student Challenge submission playground. I'm not really sure if we're supposed to be turning our playgrounds into Xcode Workspaces, but I presume we aren't. Right? Another question is: would there be any way of adding an importable package to a playground? Adding the files to the project itself makes the folder structure very messy (and Xcode's compiler goes crazy, since the package doesn't really build itself), so that doesn't really work... Thanks in advance for helping me! ♥️
0
0
653
Apr ’21
In app products help
Hey guys,im trying to implement in-app purchases to my app and i cant seem to get any of products back as 'valid' from SKProductsRequest here is what i have triedI Have enabled In-App Purchases for my App IDI Have checked Cleared for Sale for my productMy project’s .plist Bundle ID matches my App IDI have generated and installed a new provisioning profile for the new App IDI Have configured my project to code sign using this new provisioning profileI am building for iPhone OS 3.0 or aboveI have tried both the full product ID and sort-hand when when making an SKProductRequestI used explicit ID like com.app.myapp (and com.app.myapp.product1 for my product id)I Have waited over a day since adding my product to iTunes ConnectMy bank details active on iTunes ConnectI Have tried deleting the app from your device and reinstallingMy IAP status is 'Waiting for Screenshot'i tried a Clean and rebuildI made a new product IDI used explicit app IDI did complete all the financial
5
0
1.6k
Nov ’16
Reply to SwiftUI Previews in Xcode 14 failed to run with SettingsError: noExecutablePath(IDESwiftPackageStaticLibraryProductBuildable)
Hopefully this may help some of you. Im using Xcode 14.0 I had this same issue when building previews. I had added 2 swift packages via the built in spm in Xcode and was getting the error. Removing them from the target -> Frameworks & Libraries solved the issue for me and the preview showed as expected and the product also built successfully.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Sep ’22
macOS 15.6: Opened package is not the same at install time
I've created an installation package and it is failing to install on macOS 15.6. The package is, I believe, properly notarized, since it will install correctly on other macOS versions, including 15.5 The only clue I have is the output from installer: installer[8015] : Opened package is not the same at install time installer[8015] : Unable to use PK session due to incompatible packages. Terminating. installer[8015] : Install failed: The Installer could not install the software because there was no software found to install. The installer consists of a a single component package, and the outer product package. The component package is present, and I can successfully run installer manually to install it, so I don't think the component package is corrupt. Has anyone else encountered this? Are there any tools available to help me diagnose the issue? The logging is not helpful.
Replies
2
Boosts
0
Views
223
Activity
Aug ’25
SKTestSession.buyProduct(identifier: options:) doesn't work in swift package
We are doing a Swift Package to manage our iap with storekit 2. This packages also contains the unit tests for the code. (as well as all the required files .storekit, certificate, ...) when calling SKTestSession.buyProduct(identifier: options:) we catch an error : Error Domain=SKErrorDomain Code=0 (null) Note when trying exactly the same code but in a project instead of a package that works perfectly. Any idea what could it be? The code is really simple : var testSession: SKTestSession! override func setUpWithError() throws { testSession = try SKTestSession(configurationFileNamed: Products) } func testExample() async throws { do { let productID = nonConsumable.crystal.tier1 try await testSession.buyProduct(identifier: productID) } catch { XCTFail(An error occured during purchase : (error)) } } }
Replies
0
Boosts
0
Views
715
Activity
Jan ’24
Reply to MacOS application: How to become an identified developer?
I am generating the pkg file using productbuild 3rd Party Mac Developer Installer: command. That is a Mac App Store signing identity. If you want to ship outside of the Mac App Store, you must sign your package with your Developer ID Installer signing identity. For more on this and many other hints, see my Signing a Mac Product For Distribution - https://forums.developer.apple.com/thread/128166 post. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @apple.com
Topic: Code Signing SubTopic: General Tags:
Replies
Boosts
Views
Activity
Aug ’20
"Package.resolved" Error with local packages
Let's say you're creating two packages on a local drive, package 'A' and package 'B'. Is it possible, in A's Package.swift file to read (from a JSON or XML file) the path to B, and then add it as a Package.Dependency? I've written my Package.swift script to do so (actually I'm resolving an alias file instead of getting the path from JSON). The problem is: although A's script definitely can read the correct relative path to B (I've logged it to the console and it's fine), no matter what I do, the build always errors out: the Package.resolved file is most likely severely out-of-date and is preventing correct resolution; delete the resolved file and try again This happens so reliably that I assume it's either the (1) script timing out, or (2) some kind of sand-boxing. Either way, the message is pretty useless. I've checked .swiftpm and I see no trace of any Package.resolved file. Deleting .swiftpm doesn't fix the issue. Can anyone shed some light? I'm out of ideas.
Replies
2
Boosts
0
Views
1.3k
Activity
Jun ’20
Swift test with CoreData in a Package
I'm getting an error running unit tests with swift test that succeed when I run them from Xcode. The units and my CoreData model are in a Swift Package. I'm loading the model using Bundle.module like so: Bundle.module.url(forResource: PersistenceController.modelName, withExtension: momd) The unit tests are able to load the CoreData model when run from Xcode and also using the xcodebuild test command line. When I run the tests with swift test I get the following error: error: cannot find type 'MyEntity' in scope Is there something more to be done to enable running CoreData unit tests from a Package using swift tests?
Replies
2
Boosts
0
Views
2k
Activity
May ’21
Reply to Network Extension for iOS and MacOS. Is there any difference?
While they share a lot of common architecture, which means you’ll be able to share a lot of code, there are significant differences between NE packet tunnel providers on macOS and iOS. Foremost is that macOS allows a packet tunnel provider to be packaged as either an app extension or a system extension, whereas iOS only supports appex packaging. Packaging as a sysex allows your product to be distributed outside of the Mac App Store. See TN3134 Network Extension provider deployment for all the details. If you stick with appex packaging then things are very similar to iOS. If you switch to sysex packaging there are significantly more changes: You need to activate your sysex with the System Extensions framework. Your provider then runs inside your sysex. Which runs as root, although still sandboxed. And that presents some exciting challenges for app-to-provider IPC. Oh, and with regards the iOS memory limits, those do not apply on macOS. Share and Enjoy — Qui
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
May ’23
About Playgrounds, Swift packages and Workspaces
So, here's the thing: I'm trying to use Lottie (a very nice Swift package) to render animations within my Swift Student Challenge submission playground. I'm not really sure if we're supposed to be turning our playgrounds into Xcode Workspaces, but I presume we aren't. Right? Another question is: would there be any way of adding an importable package to a playground? Adding the files to the project itself makes the folder structure very messy (and Xcode's compiler goes crazy, since the package doesn't really build itself), so that doesn't really work... Thanks in advance for helping me! ♥️
Replies
0
Boosts
0
Views
653
Activity
Apr ’21
Can I launch my app as Product.
I’m about to launch a fintech app with the app Name being a product of XHALESOLUTIONS LIMITED the app name is Suftkash. My question is will I be able to enroll for a developer program as XHALESOLUTIONS LIMITED because it’s registered then launch my product app under the organization XHALESOLUTIONS LIMITED
Replies
1
Boosts
0
Views
450
Activity
Mar ’22
How can I keep Installer from relocating packages?
If there's another version of our app on the volume, it'll relocate the installed one there. This is particularly delightful, since nothing will work if it's not in /Applications. We use pkgbuild and productbuild to create the .pkg file.
Replies
4
Boosts
0
Views
1.6k
Activity
Jan ’24
In app products help
Hey guys,im trying to implement in-app purchases to my app and i cant seem to get any of products back as 'valid' from SKProductsRequest here is what i have triedI Have enabled In-App Purchases for my App IDI Have checked Cleared for Sale for my productMy project’s .plist Bundle ID matches my App IDI have generated and installed a new provisioning profile for the new App IDI Have configured my project to code sign using this new provisioning profileI am building for iPhone OS 3.0 or aboveI have tried both the full product ID and sort-hand when when making an SKProductRequestI used explicit ID like com.app.myapp (and com.app.myapp.product1 for my product id)I Have waited over a day since adding my product to iTunes ConnectMy bank details active on iTunes ConnectI Have tried deleting the app from your device and reinstallingMy IAP status is 'Waiting for Screenshot'i tried a Clean and rebuildI made a new product IDI used explicit app IDI did complete all the financial
Replies
5
Boosts
0
Views
1.6k
Activity
Nov ’16
How can I enable “Approachable Concurrency” for a Swift Package?
I’m aware that Xcode version 26 beta 3 provides an option to enable Swift’s Approachable Concurrency feature at the project level. However, I’d like to achieve the same for a Swift Package. Could you please advise on how to enable Approachable Concurrency support specifically for a Swift Package?
Replies
3
Boosts
0
Views
1.1k
Activity
Jul ’25
Reply to SwiftUI Previews in Xcode 14 failed to run with SettingsError: noExecutablePath(IDESwiftPackageStaticLibraryProductBuildable)
Hopefully this may help some of you. Im using Xcode 14.0 I had this same issue when building previews. I had added 2 swift packages via the built in spm in Xcode and was getting the error. Removing them from the target -> Frameworks & Libraries solved the issue for me and the preview showed as expected and the product also built successfully.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Sep ’22
Example App embedded in Swift Package
I have been trying to compile and run an example App embedded in a Swift package, but failed. I have extracted the app and tried building it but it can't find the package and nothing I do fixes it. Can someone please let me into the secret.
Replies
0
Boosts
0
Views
572
Activity
Jan ’21
CryptoKit TOTP Fails in Swift Package
I am trying to use the HMAC function in a swift package but it does not work it only works in standard view controller style packages. let hash = HMAC.authenticationCode(for: counterData, using: SymmetricKey(data: secret))
Replies
2
Boosts
0
Views
927
Activity
Sep ’21
Apple Product Test?
Does Apple Do the Product Testing anymore? If so how to you join?
Replies
1
Boosts
0
Views
564
Activity
Sep ’17