Search results for

“missing package product”

52,933 results found

Post

Replies

Boosts

Views

Activity

Reply to Application is rejected because of Missing IAPs?
The thing I missed was that in addition to all the information on the In App Purchase section, you have to select the IAPs to attach on the product page (the page where you enter the description and select a binary). The IAPs have to be selected like you select the binary. Easy to miss and Apple isn’t good about explaining that In their rejection.
Topic: App & System Services SubTopic: StoreKit Tags:
Jan ’24
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
908
May ’16
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
304
Jul ’17
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
LinkDylibError when previewing SwiftUI view from a package.
I have two (local) Swift packages (both with a single library product): RemoteImage, which defines setImage(from:) function on UIImageView and SatelitUI package which directly depends on the first one and defines some views. But when I'm trying to preview views from the second package I'm getting the following error: linker command failed with exit code 1 (use -v to see invocation) LinkDylibError: Failed to build TrailerView.swift Linking failed: linker command failed with exit code 1 (use -v to see invocation) ld: warning: directory not found for option '-F/Applications/Xcode-beta.app/Contents/SharedFrameworks-iphonesimulator' Undefined symbols for architecture x86_64: (extension in RemoteImage):__C.UIImageView.setImage(from: Foundation.URL?) -> (), referenced from: (extension in SatelitUI_PreviewReplacement_TrailerView_2):SatelitUI.TrailerView.(previewupdate in _8C3731B0EF007627509BEEB93277D681)(with: SatelitUI.Trailer?) -> () in TrailerView.2.preview-thunk.o ld: sy
2
0
2.1k
Jun ’20
XCode Not Resolving Swift Package Dependencies
Need help understanding if this is an XCode issue or user error. I created a XCFramework to distribute as a Swift Package. Manifest file ex: // The swift-tools-version declares the minimum version of Swift required to build this package. import PackageDescription let package = Package( ttname: MyFramework, ttplatforms: [ ttt.iOS(.v9) tt], ttproducts: [ tttt// Products define the executables and libraries a package produces, and make them visible to other packages. tttt.library( ttttttname: MyFramework, tttttttargets: [MyFramework]) tt], ttdependencies: [ tttt.package(name: Alamofire, url: https://github.com/Alamofire/Alamofire, .upToNextMajor(from: 4.8.2)), tttt... tttt], tttargets: [ tttt.binaryTarget( ttttttname: MyFramework, ttttttpath: ./Sources/MyFramework.xcframework) tt] ) When I import my Swift package in to a new XCode project, the modules in the dependencies are not found. Only when I manually import each dependency as a Swift Package
2
0
5.5k
Feb ’21
Path in Payload is missing from Bom
I'm trying to submit an App to the App Store and keep getting an error which says the following:This bundle is invalid - Package swiss.mandelkind.iBookmarks: Path iBookmarks.app/Contents/Resources/Python/site-packages/Crypto/Signature/.___init__.pyo in Payload is missing from Bom.This is due to a dependency I have to put into the bundle and I simply copy this with a cp -RP command using a Run Script Build Phase.I made sure there is no such hidden file before and after copying.That said, if I have a look at the created app archive, everything looks good, that is the .__init__.pyo does NOT exist.But as soon as I export the app for app store and trying to submit it, the above error is thrown.Any idea how to fix this? The only similar thing I was able to found in the net is the following - unfortunately without any hint or solution:ITMS-90000 :This bundle is invalid. Package org.xpra.pkg: Path Applications/Xpra?.app/Contents/Resources/lib/python2.7/numpy/f2py/tests/src/assumed_
0
0
643
Apr ’17
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
123
Mar ’25
Price Locale not available in Product
In the latest Product object we are unable to get the price locale of the current product. Even though the display price string available with currency symbol, we need to display discount price of current product by comparing with other products. Earlier in SKProduct we had price locale property to achieve this.But in latest Product object we are missing this. Is there a way to get the price locale of the current storefront?. There is a countryCode property in Storefront enum. But there is no option to create locale using country code.
3
0
4.6k
Aug ’21
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.3k
May ’22
Xcode Hangs on Updating {package-name}
Hey everyone, I recently installed macOS Ventura and when I went to update a package in Xcode, it hangs at Update Package {package-name} every time. Interestingly, the package it hangs on is different each time, but without fail it hangs. I'm no longer able to develop since our project depends on packages, and have been blocked by this for a few hours. Any ideas what the error might be or why it would hang like this? Things I've tried Clearing derived data resetting package cache from file -> packages
0
0
665
Oct ’22
Reply to Application is rejected because of Missing IAPs?
The thing I missed was that in addition to all the information on the In App Purchase section, you have to select the IAPs to attach on the product page (the page where you enter the description and select a binary). The IAPs have to be selected like you select the binary. Easy to miss and Apple isn’t good about explaining that In their rejection.
Topic: App & System Services SubTopic: StoreKit Tags:
Replies
Boosts
Views
Activity
Jan ’24
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
908
Activity
May ’16
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
304
Activity
Jul ’17
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
LinkDylibError when previewing SwiftUI view from a package.
I have two (local) Swift packages (both with a single library product): RemoteImage, which defines setImage(from:) function on UIImageView and SatelitUI package which directly depends on the first one and defines some views. But when I'm trying to preview views from the second package I'm getting the following error: linker command failed with exit code 1 (use -v to see invocation) LinkDylibError: Failed to build TrailerView.swift Linking failed: linker command failed with exit code 1 (use -v to see invocation) ld: warning: directory not found for option '-F/Applications/Xcode-beta.app/Contents/SharedFrameworks-iphonesimulator' Undefined symbols for architecture x86_64: (extension in RemoteImage):__C.UIImageView.setImage(from: Foundation.URL?) -> (), referenced from: (extension in SatelitUI_PreviewReplacement_TrailerView_2):SatelitUI.TrailerView.(previewupdate in _8C3731B0EF007627509BEEB93277D681)(with: SatelitUI.Trailer?) -> () in TrailerView.2.preview-thunk.o ld: sy
Replies
2
Boosts
0
Views
2.1k
Activity
Jun ’20
XCode Not Resolving Swift Package Dependencies
Need help understanding if this is an XCode issue or user error. I created a XCFramework to distribute as a Swift Package. Manifest file ex: // The swift-tools-version declares the minimum version of Swift required to build this package. import PackageDescription let package = Package( ttname: MyFramework, ttplatforms: [ ttt.iOS(.v9) tt], ttproducts: [ tttt// Products define the executables and libraries a package produces, and make them visible to other packages. tttt.library( ttttttname: MyFramework, tttttttargets: [MyFramework]) tt], ttdependencies: [ tttt.package(name: Alamofire, url: https://github.com/Alamofire/Alamofire, .upToNextMajor(from: 4.8.2)), tttt... tttt], tttargets: [ tttt.binaryTarget( ttttttname: MyFramework, ttttttpath: ./Sources/MyFramework.xcframework) tt] ) When I import my Swift package in to a new XCode project, the modules in the dependencies are not found. Only when I manually import each dependency as a Swift Package
Replies
2
Boosts
0
Views
5.5k
Activity
Feb ’21
Path in Payload is missing from Bom
I'm trying to submit an App to the App Store and keep getting an error which says the following:This bundle is invalid - Package swiss.mandelkind.iBookmarks: Path iBookmarks.app/Contents/Resources/Python/site-packages/Crypto/Signature/.___init__.pyo in Payload is missing from Bom.This is due to a dependency I have to put into the bundle and I simply copy this with a cp -RP command using a Run Script Build Phase.I made sure there is no such hidden file before and after copying.That said, if I have a look at the created app archive, everything looks good, that is the .__init__.pyo does NOT exist.But as soon as I export the app for app store and trying to submit it, the above error is thrown.Any idea how to fix this? The only similar thing I was able to found in the net is the following - unfortunately without any hint or solution:ITMS-90000 :This bundle is invalid. Package org.xpra.pkg: Path Applications/Xpra?.app/Contents/Resources/lib/python2.7/numpy/f2py/tests/src/assumed_
Replies
0
Boosts
0
Views
643
Activity
Apr ’17
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
123
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
70
Activity
Apr ’25
Price Locale not available in Product
In the latest Product object we are unable to get the price locale of the current product. Even though the display price string available with currency symbol, we need to display discount price of current product by comparing with other products. Earlier in SKProduct we had price locale property to achieve this.But in latest Product object we are missing this. Is there a way to get the price locale of the current storefront?. There is a countryCode property in Storefront enum. But there is no option to create locale using country code.
Replies
3
Boosts
0
Views
4.6k
Activity
Aug ’21
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.3k
Activity
May ’22
Reply to Archive still hangs on Xcode 11 GM Seed 2
Is this release note about your problem ?Known IssuesThe archive action does not code sign command-line executable products from Swift packages. (48717735)Workaround: Manually sign archived executables using the codesign tool before distributing them.
Replies
Boosts
Views
Activity
Sep ’19
Reply to Notarisation warning safariextz file is present inside app bundle
This is a legacy code and I don't think there is any specific reason for using /Resources/Components/We tried placing the legacy extension in Content/PlugIns, but the warning is still not resolved. (XXX.safariextz is not a valid product / component package.)Any other inputs that we could try.
Topic: Code Signing SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jan ’20
Xcode Hangs on Updating {package-name}
Hey everyone, I recently installed macOS Ventura and when I went to update a package in Xcode, it hangs at Update Package {package-name} every time. Interestingly, the package it hangs on is different each time, but without fail it hangs. I'm no longer able to develop since our project depends on packages, and have been blocked by this for a few hours. Any ideas what the error might be or why it would hang like this? Things I've tried Clearing derived data resetting package cache from file -> packages
Replies
0
Boosts
0
Views
665
Activity
Oct ’22
package manager not working
In any project,when I try to add a package with package manager,when I use search like blow I'll get a error like this How can I fix this?I try update my Xcode version,and it doesn't work.Now my Xcode version is 14.3.1, macos 13.4 Thanks for helping.
Replies
1
Boosts
0
Views
516
Activity
Jun ’23