Search results for

missing package product

51,814 results found

Post

Replies

Boosts

Views

Activity

Invalid product id
We have one application called Hydra with products already created. But one of them is always returning us an invalid product id when we request the information about products. The current status for this product is Ready to submit and the price is 0. The other products are always ok. Can someone help me?
2
0
540
Jun ’21
Dyld Symbol not found on Local Swift Package
I work on iOS App project in workspace. I splitted feature in a Local Swift Package. Workspace contains both iOS App Project and Swift Package. https://i.stack.imgur.com/LhL5j.jpg Swift package platform is iOS 14 and deployment target of project is iOS 13. I put optional link on my Swift Package to avoid crash on iOS 13 https://i.stack.imgur.com/Y1HYb.png Application run well on iOS 14 but still crash on iOS 13 : dyld: Symbol not found: _$s7SwiftUI4ViewP14_viewListCount6inputsSiSgAA01_ceF6InputsV_tFZTq Just for example, I would like to use Swift Package like this : Swift #if canImport(Classifier) @available(iOS 14.0, *) struct ActionClassifier: View { var body: some View { Text(Hello, World!) } } #endif Did I miss something on the way of link my Swift Package Binary to my project ?
1
0
1.4k
Apr ’21
SwiftUI Previews broken on Swift Package with dependencies
Hello! Previously, using content from one Swift Package in the UI of another would cause preview failures. Now, with Xcode 16, this issue has been improved, and the preview feature is working, though occasional crashes still occur. I have submitted a report regarding this issue. I’ve encountered some issues while developing a SwiftUI-based application, particularly when using Xcode’s SwiftUI preview feature, which frequently crashes. My app supports both macOS and iOS. Due to the differences between the platforms, I’ve had to implement some pages using UIKit and reference a few UIKit-based open-source frameworks. For instance, I’m using the LazyPager library, which only supports iOS. During runtime, I ensure LazyPager is only compiled for iOS by using .product(name: LazyPager, package: LazyPager, condition: .when(platforms: [.iOS])), which works as expected. However, when I use Xcode’s SwiftUI preview mode and select macOS as the target, UIKit-related code still gets compiled, leadi
0
0
662
Sep ’24
I need to create a package for installing content in a specific folder.
I need to create a PKG that can install my products within a specific location. I managed to create one that worked on my machine, but I am encountering issues when running it on other computers. I believe this is because the installation path may vary depending on the user executing the PKG... Example path: /Users/itallo/Movies/Motion Templates.localized/Titles.localized
0
0
297
Dec ’23
Reply to Detect if Bundle.module is available
In the Package.swift in target declare: let package = Package( name: Library, defaultLocalization: en, platforms: [ .iOS(.v11) ], products: [ .library( name: Library, targets: [Library] ), ], dependencies: [], targets: [ .target( name: Library, dependencies: [], path: Sources, swiftSettings: [ .define(SPM) ] ), ] ) the important part is the definition of SPM, then we create the following extension #if !SPM extension Bundle { static var module:Bundle { Bundle(identifier: com.library.example)! } } #endif this way we always have Bundle.module available
Topic: Programming Languages SubTopic: Swift Tags:
Feb ’21
Determining development/production environment for DeviceCheck
Is there a recommended way to determine whether to use the development or the production server API endpoint for DeviceCheck? For App Attest, the authenticator data includes either appattest or appattestdevelop in a field of the cbor data. For IAPs, we're supposed to try the production endpoint and then retry with the development endpoint if we get a particular HTTP status code. But the docs for DeviceCheck say only to use the development endpoint in development and the production endpoint in production. What are others doing? Is there any clue in the docs that I have missed?
1
0
1.2k
Mar ’22
Reply to xcode 10.1 crash on startup in Mojave
Problem solved:The problem was that i extracted the xip on an external ssd drive and then dragged the Xcode package to the program folder.Extracting the xip in the program folder did the trick that Xcode asked then for installing additional components (probably the ones that were missing) and started up normally after.
Jun ’19
Swift Package Manager MongoDB
I've been trying for hours just wanted some direction. I am trying to set up an app that uses a local mongo database. I've set up the IP address and everything, I'll be port forwarding for usage outside my local network. But I've been having some trouble importing mongbodb for my swift app. I keep getting this error with the package manager. If you have some tips please send them my way. So here is the code I'm supposed to use got this from the GitHub page: https://github.com/mongodb/mongo-swift-driver // swift-tools-version:5.1 import PackageDescription let package = Package( ttname: MyPackage, ttdependencies: [ tttt.package(url: https://github.com/mongodb/mongo-swift-driver.git, from: VERSION.STRING.HERE), tt], tttargets: [ tttt// Async module tttt.target(name: MyAsyncTarget, dependencies: [MongoSwift]), tttt// Sync module tttt.target(name: MySyncTarget, dependencies: [MongoSwiftSync]) tt] ) So all I did was add the version I needed and I put the latest. // swift-tools-version:5.3
1
0
1.2k
Jan ’21
Both app and pkg are notarized; app opens fine but pkg encounters javascript error
I have an app built using python with pyinstaller. I was able to successfully get the app notarized and open it on my computer as well as a different one (OS 11.6.1). I can also get the pkg successfully notarized, but when I attempt to launch it on my own computer (or a different one), an error box immediately appears stating There was an error reading the package along with JavaScriptError. I looked at the log file corresponding to the notarization, and I saw no error messages or warnings. Neither java nor javascript appear anywhere. This was not a problem for me a couple weeks ago when using a slightly different version of my program. Is there a different log file of some type, associated with javascript, that might shed light on the problem? Update: I did just try to check whether package passed the gatekeeper test by typing spctl -a '/Users/..../application.pkg' at the terminal, which returned rejected
9
0
2.2k
May ’22
Cannot find swift package module in release build
I have created a swift package and successfully added some stub code, imported into another class import PackageName This all works as expected when building in debug configuration. When I try to build for release using xcodebuild, it fails with no such module : PackageName Is there something missing that dictates how a package works in different configurations? Thanks
3
0
2.8k
Jun ’20
Improving performance of Swift package
I have started to make a Swift package to better organize my project, but I have noticed that when I try to use code from my package, some code will run much slower than when I use the same code in the project. How could this be solved? I have tried using @inlinable for functions, and it works for most functions, but some functions still fail to meet the performance standards that I see when I use the code in my project.
0
0
359
Sep ’24
My does my production push certificate have development credentials in it?
HiI'm trying to upload my production p12 push cert to my push provider, and it keeps telling me that it's a development cert. I've created and recreated the cert again, making sure it's a production cert, but I still get the error:P12's gateway is Development while it was uploaded as ProductionFor further information please refer to our iOS guideI notice that the p12 contains both development and production credentials. Is this normal? Is there something I'm missing re creating a production certificate?Thanks for your time and help.
1
0
385
Dec ’17