Search results for

“missing package product”

55,554 results found

Post

Replies

Boosts

Views

Activity

Reply to Executables QtWebSockets and QtQmlModels prevent notarization
but only by signing the app first with --deep, which I understand to be ill-advised. Indeed. See --deep Considered Harmful for an explanation as to why. I have yet to see if this prevents things from opening on a new machine. See Testing a Notarised Product for advice on how to test your notarised package. I'd be very appreciative if anyone can guide me through the process of successfully notarizing a package like mine See this pair of posts: Creating Distribution-Signed Code for Mac Packaging Mac Software for Distribution Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Topic: Code Signing SubTopic: Notarization Tags:
Mar ’22
Requesting products
Hi,Is it safe to request the products immediately when the app starts?It seems like you ought to be able to do this so you can have a product list ready as soon as the user hits a paywall.However, on my test phone, which isn't logged in to the app store, I get a password prompt immediately when the app starts. This is troubling. Obviously I don't want a real user to get a password prompt just because they ran my app.What's the best practice here?
1
0
310
Jul ’17
Reply to Invalid ToolChain
I had this error using the latest version of Xamarin. I usually sign the App in Xamarin and then use the Application loader. But got the error you reported. So I did this...1. Made the archive in Xamarin2. Opened Xcoder Organizer (When I tried to publish from here I got an error about the ITunesMetadata.plist)3. Show Package Contents on Archive4. Open Products, Applications, Show package Contents of the Application.5. delete the itunesMetadata.plist6. submit the app from the organizer.7. Sucess
Topic: App & System Services SubTopic: Core OS Tags:
Aug ’15
Reply to Sign and Notarize Electron App
It’s hard to say what’s going on here because you’re using a third-party tool to sign your app. You can find my general advice on how to sign and package a Mac product in: Creating distribution-signed code for macOS Packaging Mac software for distribution I recommend that you compare that advice against what your third-party tooling is doing. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Dec ’24
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
XCFramework and Swift Packages conflict
Hola! I'm facing an issue with XCFrameworks and Swift Packages. I will try to explain it the best I can: I have an XCFramework -> XCF XCF has one or many Swift Packages compiled into it: SP1, SP2 When an application uses my XCF, it works perfect. The issue comes when an application that is using XCF, tries to use SP1 or SP2 also. Sometimes this will give a build error because Xcode doesn't know which Swift Package to use since it has the precompiled one in the XCF but the app is also calling SP1 directly. Is there a way to prioritize one or the other? at the XCF level or at the app level? So that XCode knows that it does have two versions of the same Swift Package but knows that it should only use either the one in the XCF or the one that the app is importing.
1
0
818
Feb ’22
Language of pkg file.
Hi,I created an app for OS X and after that I created installer (pkg file). The requirement for the installer is that the installer should be translated on English language only. When I change the language of the OS X, the installer also translates.May I set that the installer should use only English language?Thanks.
4
0
914
May ’16
Xcode 27: huge build size jump, spike in "Class X is implemented in both" warnings
The compiled size of my app (DerivedData/*/Build/Products/Debug-iphonesimulator/AppName.app) jumped 200 MB (926 MB-> 1.12 GB) just by compiling with Xcode 27 beta 2 (currently the latest). I can compile with Xcode 27, but when I run it on a simulator it crashes on launch. I get the same type of crash when running my unit tests. I'm getting a lot of warnings in the debug console about Class X is implemented in both. I asked Claude to analyze the .app files to find the difference. Yes, I have a lot of internal and external packages/frameworks. Xcode26 ships 128 frameworks including 14 *_PackageProduct.framework dynamic frameworks (Logger_…, APICore_…, SplitManager_…, Apollo_…, PerModel_…, AppGateway_…, etc.). Xcode 27 ships 114 — all 14 of those dynamic package frameworks are gone. Xcode 27 changed the default and now links those SPM package products statically into every framework that consumes them. Counting framework binaries that carry their own copy of a package's
1
0
1.3k
Jun ’26
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
691
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
314
Dec ’23
Accessing Resources of other package targets or dependencies using Swift Package Manager
Good day I am developing XRKit framework, which contains the pipeline logic for rendering using Metal, in manifest it has two targets - framework itself in Swift and XRKitDefenitions in C++ and MSL (since Apple forbids us multilingualism in one package). Both targets have Resources folders open in their manifest. When I try to access the test files hello01.txt (Resources for XRKit) and hello2.txt (Resources for XRKitDefenitions) via Bundle.module, I only see hello01.txt and it doesn't read hello2.txt because it's in a different target. How do I properly organize my code with SPM to access the Resources of XRKitDefenitions target? PS When trying to organize XRKitDefenitions as a remote package on GitHub and defining it as a dependency, situation does not change. I understand now that Bundle.module only refers to its Resources. Is there a way to refer to resources that provided other targets or dependencies in the same package?
1
0
2.4k
May ’22
Active Compilation Conditions in Packages
The flags like #if DEBUG ... endif are dependent on the Active Compilation Conditions. So if they say DEBUG the enclosed code block will be executed, otherwise not. Now I have the phenomenon that a #DEBUG block in a Package does not evaluate these conditions. It rather depends on the name of the configuration used to build. So if I build my app with Active Compilation Condition set to DEBUG, but the configuration name is something like App-Release, the DEBUG block in my Package is not added/executed. The ones which are directly in the project are added. Vice versa if the Compilation Condition say RELEASE but the configuration is called App-Debug the blocks in the Package are added to the compilation, but the ones in the project itself are not It suffices that the config name contains the word Debug for this to happen. E.g. the configuration App-Release-Debug (I know that this would be stupid, but it is for demonstrating purposes) will cause the Packages to include the DEBUG
0
0
189
Mar ’25
Reply to Executables QtWebSockets and QtQmlModels prevent notarization
but only by signing the app first with --deep, which I understand to be ill-advised. Indeed. See --deep Considered Harmful for an explanation as to why. I have yet to see if this prevents things from opening on a new machine. See Testing a Notarised Product for advice on how to test your notarised package. I'd be very appreciative if anyone can guide me through the process of successfully notarizing a package like mine See this pair of posts: Creating Distribution-Signed Code for Mac Packaging Mac Software for Distribution Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Topic: Code Signing SubTopic: Notarization Tags:
Replies
Boosts
Views
Activity
Mar ’22
Reply to Dark Mode working in Debug configuration but not Release config
Thanks for the advice and sorry to hear about the trouble! We don't have a very complicated build process (completed product is an .app bundle with one login item helper embedded), so we roll with xcodebuild to archive then exportArchive, and then productbuild to create a signed .pkg installer.
Topic: UI Frameworks SubTopic: AppKit Tags:
Replies
Boosts
Views
Activity
Aug ’18
Requesting products
Hi,Is it safe to request the products immediately when the app starts?It seems like you ought to be able to do this so you can have a product list ready as soon as the user hits a paywall.However, on my test phone, which isn't logged in to the app store, I get a password prompt immediately when the app starts. This is troubling. Obviously I don't want a real user to get a password prompt just because they ran my app.What's the best practice here?
Replies
1
Boosts
0
Views
310
Activity
Jul ’17
Reply to Invalid ToolChain
I had this error using the latest version of Xamarin. I usually sign the App in Xamarin and then use the Application loader. But got the error you reported. So I did this...1. Made the archive in Xamarin2. Opened Xcoder Organizer (When I tried to publish from here I got an error about the ITunesMetadata.plist)3. Show Package Contents on Archive4. Open Products, Applications, Show package Contents of the Application.5. delete the itunesMetadata.plist6. submit the app from the organizer.7. Sucess
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Aug ’15
Reply to Sign and Notarize Electron App
It’s hard to say what’s going on here because you’re using a third-party tool to sign your app. You can find my general advice on how to sign and package a Mac product in: Creating distribution-signed code for macOS Packaging Mac software for distribution I recommend that you compare that advice against what your third-party tooling is doing. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Replies
Boosts
Views
Activity
Dec ’24
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
Replies
3
Boosts
0
Views
2.8k
Activity
Jun ’20
XCFramework and Swift Packages conflict
Hola! I'm facing an issue with XCFrameworks and Swift Packages. I will try to explain it the best I can: I have an XCFramework -> XCF XCF has one or many Swift Packages compiled into it: SP1, SP2 When an application uses my XCF, it works perfect. The issue comes when an application that is using XCF, tries to use SP1 or SP2 also. Sometimes this will give a build error because Xcode doesn't know which Swift Package to use since it has the precompiled one in the XCF but the app is also calling SP1 directly. Is there a way to prioritize one or the other? at the XCF level or at the app level? So that XCode knows that it does have two versions of the same Swift Package but knows that it should only use either the one in the XCF or the one that the app is importing.
Replies
1
Boosts
0
Views
818
Activity
Feb ’22
Language of pkg file.
Hi,I created an app for OS X and after that I created installer (pkg file). The requirement for the installer is that the installer should be translated on English language only. When I change the language of the OS X, the installer also translates.May I set that the installer should use only English language?Thanks.
Replies
4
Boosts
0
Views
914
Activity
May ’16
Xcode 27: huge build size jump, spike in "Class X is implemented in both" warnings
The compiled size of my app (DerivedData/*/Build/Products/Debug-iphonesimulator/AppName.app) jumped 200 MB (926 MB-> 1.12 GB) just by compiling with Xcode 27 beta 2 (currently the latest). I can compile with Xcode 27, but when I run it on a simulator it crashes on launch. I get the same type of crash when running my unit tests. I'm getting a lot of warnings in the debug console about Class X is implemented in both. I asked Claude to analyze the .app files to find the difference. Yes, I have a lot of internal and external packages/frameworks. Xcode26 ships 128 frameworks including 14 *_PackageProduct.framework dynamic frameworks (Logger_…, APICore_…, SplitManager_…, Apollo_…, PerModel_…, AppGateway_…, etc.). Xcode 27 ships 114 — all 14 of those dynamic package frameworks are gone. Xcode 27 changed the default and now links those SPM package products statically into every framework that consumes them. Counting framework binaries that carry their own copy of a package's
Replies
1
Boosts
0
Views
1.3k
Activity
Jun ’26
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
Replies
0
Boosts
0
Views
691
Activity
Sep ’24
Problem with localising a Swift package
I am using Xcode 15 and working on a localised app. I use the new String Catalogs feature which works great for my app. In my app I created some local package like Apple has done it in the Backyard Birds example. However the translations I did in the package's String Catalog won’t be used in the app. What am I doing wrong?
Replies
5
Boosts
0
Views
3k
Activity
Jul ’23
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
Replies
0
Boosts
0
Views
314
Activity
Dec ’23
Accessing Resources of other package targets or dependencies using Swift Package Manager
Good day I am developing XRKit framework, which contains the pipeline logic for rendering using Metal, in manifest it has two targets - framework itself in Swift and XRKitDefenitions in C++ and MSL (since Apple forbids us multilingualism in one package). Both targets have Resources folders open in their manifest. When I try to access the test files hello01.txt (Resources for XRKit) and hello2.txt (Resources for XRKitDefenitions) via Bundle.module, I only see hello01.txt and it doesn't read hello2.txt because it's in a different target. How do I properly organize my code with SPM to access the Resources of XRKitDefenitions target? PS When trying to organize XRKitDefenitions as a remote package on GitHub and defining it as a dependency, situation does not change. I understand now that Bundle.module only refers to its Resources. Is there a way to refer to resources that provided other targets or dependencies in the same package?
Replies
1
Boosts
0
Views
2.4k
Activity
May ’22
Active Compilation Conditions in Packages
The flags like #if DEBUG ... endif are dependent on the Active Compilation Conditions. So if they say DEBUG the enclosed code block will be executed, otherwise not. Now I have the phenomenon that a #DEBUG block in a Package does not evaluate these conditions. It rather depends on the name of the configuration used to build. So if I build my app with Active Compilation Condition set to DEBUG, but the configuration name is something like App-Release, the DEBUG block in my Package is not added/executed. The ones which are directly in the project are added. Vice versa if the Compilation Condition say RELEASE but the configuration is called App-Debug the blocks in the Package are added to the compilation, but the ones in the project itself are not It suffices that the config name contains the word Debug for this to happen. E.g. the configuration App-Release-Debug (I know that this would be stupid, but it is for demonstrating purposes) will cause the Packages to include the DEBUG
Replies
0
Boosts
0
Views
189
Activity
Mar ’25
Xcode adds the package URL
我想在我的 Mac OS 项目 (Swift UI) 中添加一个 Package dependency Package,但我只能添加一个 Package Collection,我不能只添加一个单独的包依赖包,我想添加 mysql kit 以使我的项目链接到 Mysql 数据库
Replies
1
Boosts
0
Views
164
Activity
Apr ’25