Search results for

missing package product

50,240 results found

Post

Replies

Boosts

Views

Activity

Reply to Identifying subscription changes server side (same group different premium content)
Thanks for the prompt reply.Does the the transaction.transactionReceipt contain the new product the user upgraded/downgraded? I know how to relate to the expiration, what I'm missing is what is the new package he upgraded/downgraded too.I know what I can extract from the receipt the expires_date_formatted/expires_date but what will the product_id represent in upgrade/downgrade?
Topic: App & System Services SubTopic: StoreKit Tags:
Jul ’16
ios app products are only permitted in swift playground packages error
Hello all! I am currently facing an issue where I am receiving an ios app products are only permitted in swift playground packages error when trying to build the app. I forked a branch from the git repo that my friend made not too long ago, yet I still can't figure out what the issue was. I can provide the repo if needed.
1
0
711
Oct ’24
Reply to Use Xcode for Server Side Development
Ok... The issue was I had the following as my config, and hadn't replaced the products.library with products.executable Incorrect Config import PackageDescription let package = Package( name: MyServer, products: [ // Products define the executables and libraries a package produces, and make them visible to other packages. .library( name: MyServer, targets: [MyServer]), ], dependencies: [ // Dependencies declare other packages that this package depends on. // .package(url: /* package url */, from: 1.0.0), .package(url: https://github.com/vapor/vapor.git, from: 4.0.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 depends on. .target( name: MyServer, dependencies: [dependencies: [ .product(name: Va
Jun ’22
Xcode 13.2 - Internal error : Missing Package Description Module
Hi guys, just updated Xcode to 13.2 via Mac App Store. I installed the additional components, and my project won't compile anymore : Xcode just tells me Internal error: missingPackageDescriptionModule - Resolving Package Graph Failed when attempting to build. None of the Swift packages used within my app seems to build, because Package resolution errors must be fixed before building. Already attempted to clean derived data, reset Swift package caches and update package versions to no avail. Guess I'll try re-installing Xcode but... does anyone else have the same issue ? Using an M1 Mac and just updated to Monterey 12.1 if that's relevant. Thank you !
122
0
63k
Dec ’21
In-App purchases products missing when testing in Testflight
We have a problem using StoreKit. In development, using the Simulator, everything runs fine using the xcode environment, but when we archive the app to be distributed using Testflight, the app starts and requests the available products, but it finds none. How is that possible? In the development build we are setting a StoreKit configuration file and it is syncronised with the configuration and products set in the Appstore connect panel. Maybe we have to remove the file when building the archived version for Testflight? This is our getProducts function: func getProducts(withHandler productsReceiveHandler: @escaping (_ result: Result<[SKProduct], IAPManagerError>) -> Void) { onReceiveProductsHandler = productsReceiveHandler guard let productIDs = getProductIDs() else { productsReceiveHandler(.failure(.noProductIDsFound)) return } print(productIDs count: +String(describing: productIDs.count)); let request = SKProductsRequest(productIdentifiers: Set(productIDs)) request.delegate = self
2
0
687
May ’23
Approved payment packages not working on production app ? Throwing an error
I submitted my app for approval which got approved but forgot to submit the new payment packages for approval. So the app was live without approved packages and was giving the following error : A problem occurred, please try again. Also, try restarting the appEven after submitting the packages for approval and getting them approved, I get the same error. The IAP in the app are monthly and yearly subscription packages. Whats the process to fix this ?
0
0
630
Nov ’18
Package dependency in own package
Hi All, I create a Swift Package (Xcode 14.3) and add a package dependency (https://github.com/stephencelis/SQLite.swift) by copying the autogenerated dependency clause into my Package.swift file. The package.resolved file is created, all good. Somehow I cannot use the package (SQLite) from my code because the import SQLite is not found. This happens from an empty package as well. How can I use the dependent package in my own package? Sorry for the seemingly simple question but despite a lot of googleing and fiddling with targets/products, I don't get this to work. UI options in Xcode to add targets etc. exist only for apps, not for packages. Any hints what I am doing wrong here greatly appreciated. Cheers Florian
0
0
597
Apr ’23
Reply to Having an issue with using a custom component with Reality Composer Pro
I was typing up the original post over a very slow internet connection so their some wonky grammar. I have been modifying the Package.swift file for the Reality Kit project & I have been using relative paths but it does not work for some reason. let package = Package( name: RealityKitContent, platforms: [ .visionOS(.v2), .macOS(.v15), .iOS(.v18) ], products: [ // Products define the executables and libraries a package produces, and make them visible to other packages. .library( name: RealityKitContent, targets: [RealityKitContent]), ], dependencies: [ // Dependencies declare other packages that this package depends on. // .package(url: /* package url */, from: 1.0.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
Mar ’25
Reply to SwiftUI Preview - Undefined symbols for architecture arm64
Hi, thanks for providing an example project. This is a known issue. For now you can try the following workaround. If you set the product type in your package to dynamic then previews should work for you. In the example you provided you would do this as follows: products: [ // Products define the executables and libraries a package produces, making them visible to other packages. .library( name: MyLibrary, type: .dynamic, targets: [MyLibrary]), ],
Topic: UI Frameworks SubTopic: SwiftUI Tags:
May ’24
Reply to Are Swift Packages supported by String Catalogs?
Here is the package manifest: // swift-tools-version: 5.9 // The swift-tools-version declares the minimum version of Swift required to build this package. import PackageDescription let package = Package( name: FakeModule, defaultLocalization: en, platforms: [ .iOS(.v16) ], products: [ // Products define the executables and libraries a package produces, making them visible to other packages. .library( name: FakeModule, targets: [FakeModule]), ], targets: [ // Targets are the basic building blocks of a package, defining a module or a test suite. // Targets can depend on other targets in this package and products from dependencies. .target( name: FakeModule, dependencies: [], path: Sources ), .testTarget( name: FakeModuleTests, dependencies: [FakeModule]), ] )
Sep ’23
Create installer package .pkg
Hi,I need to create an instaler package .pkg.I have read cerfuly the post Signing a Mac Product For Distribution, however i miss some pices:On Build an Installer Package section you say depending on your distribution channel” what are the options and do that influent the needed certificate?Currently I see that the only available certificate is 3rd Party Mac Developer Installer:” do we need to create Developer ID Installer:” (in all documentations that I have read all are talking on the Developer ID Installer:”, what is the deference?When using productbuild command with —sign we do not need to use productsign command?Using the codesign command with the flags --timestamp --options=runtime, in that case do we still ned entitlements attached for the timestamp and for the hardening?I there any totorial / example of how to create .pkg (this packege is to hold and use a .kext kernal extension) using xcode 11.x commandline tools that will load on macOS Catalina?Thanks a lo
1
0
6.5k
Apr ’20
Reply to How can I keep Installer from relocating packages?
I don't think we have the .plist file. We use pkgbuild --identifier org.${PRODUCT}.${VERSION} --version ${VERSION} --scripts ${TARGET_DIRECTORY}/darwin/scripts --root ${TARGET_DIRECTORY}/darwinpkg ${TARGET_DIRECTORY}/package/${PRODUCT}.pkg > /dev/null 2>&1 productbuild --distribution ${TARGET_DIRECTORY}/darwin/Distribution --resources ${TARGET_DIRECTORY}/darwin/Resources --package-path ${TARGET_DIRECTORY}/package ${TARGET_DIRECTORY}/pkg/$1 > /dev/null 2>&1
Jan ’24
Reply to UI Testing doesn't launch app
Good question. I tried running on the device but I received a code signing error:/Users/kiel.gillard/Library/Developer/Xcode/DerivedData/Alfred-adlymjyjtksujwbgrfamofhzhuck/Build/Products/Debug-iphoneos/AFRUITests-Runner.app/PlugIns/AFRUITests.xctest: No such file or directory Command /usr/bin/codesign failed with exit code 1The file indeed does not exist. Rather, an AFRUITests.app package exists in the directory instead and that app package merely contains an Info.plist file (it's missing an executable).Kiel
Sep ’15
Adding a transaction for a in-app purchase gives a "Missing Product Id" popup
Hi, I have followed all instructions in https://developer.apple.com/documentation/storekit/in-app_purchase/original_api_for_in-app_purchase/testing_in-app_purchases_in_xcode. My app is not on the Apple Store but is ready to submit. I have created an in-app purchase in applestoreconnect that is also ready to submit. When I try to add a transaction in the Transaction Manager, I get Missing Product Id with no further info about the problem. I can't seem to get any information about this online. What could be the problem?
1
0
318
Sep ’23