Search results for

“missing package product”

55,554 results found

Post

Replies

Boosts

Views

Activity

String catalog and local package
Hello Apple community ! I'm facing an issue regarding xcstrings in a local package in my project. It's an iOS application with a local package containing multiple targets. The Localizable.xcstrings is located in the app target and contains keys for the app and targets of the local package (Views in the targets look for keys in the main bundle) My issue is that auto detection/extraction seems to work only for keys used inside the app bundle. It doesn't look in the package. However, if I add a Localizable.xcstrings inside a package target, it gets populated. Is this normal behaviour & is there any way to make extraction put the keys in the main bundle xcstrings instead ? I feel like it should be normal behaviour if no xcstrings is found in the package My fallback would be to set all keys in manual extraction state but it's not ideal ;) Thanks in advance for the great work Eric
1
0
955
Sep ’24
My .pkg is being rejected after notarize it
I'm notarizing my .pkg installer and even stapling the ticket after, but I still get rejected after checking it with the following command:spctl -vvv --assess --type install path/to/my/notarized.pkg path/to/my/notarized.pkg: rejected origin=3rd Party Mac Developer Installer: My Certificate Name (XXXXXXXXX)My pkg is being created with the packages app and then signed using pkgutils. Then it's notarized and after the success response from Apple I'm stapling the ticket into it. The pkg contains an app that is also signed of course.How can I find more information about what's going on? Is there a log somewhere?Thanks in advance.
3
0
777
Apr ’20
Xcode package resolution issue
I am running into an issue mainly on my CI, but the issue is present either way. I have a project with multiple Swift Packages as dependancies, most are remote but i have a couple that are local swift packages. On first load of xcode, it will fail to fetch the local packages, if i keep xcode open, around 10 minutes later, it will automatically try and fetch the packages but this time will succeed. Has anybody had this issue? Apart from deploying these packages remotely, is there any other solutions? xcode 13, 13.1, 13.2 all tried and have the same behaviour. Thanks!
0
0
676
Nov ’21
pkg install but digital signature invalid
I made a pkg install my APP but failed to install to other macbooks because of digital signature invalid warning : Signed.pkg can't be installed because its digital signture is invalid. I signed again,but failed to install again with same warning. bogon:Desktop tanhuang$ productsign --timestamp --sign Developer ID Installer: Tan Huang (NGMD5RC85D) HuionDriver.pkg Signed.pkgproductsign: using timestamp authority for signatureproductsign: signing product with identity Developer ID Installer: Tan Huang (NGMD5RC85D) from keychain /Users/tanhuang/Library/Keychains/login.keychain-dbproductsign: adding certificate Developer ID Certification Authorityproductsign: adding certificate Apple Root CAproductsign: Wrote signed product archive to Signed.pkgbogon:Desktop tanhuang$ codesign -dvvv Signed.pkgSigned.pkg: code object is not signed at allbogon:Desktop tanhuang$ spctl --assess -v Signed.pkgSigned.pkg: rejectedsource=no usable signaturebogon:Desktop tanhuang$ spctl --assess -v --type instal
0
0
1.7k
Sep ’19
Reply to Unable to rename the Swift Playground or add an icon when package dependencies is imported
I was able to reproduce the behavior you described, and I recommend you submit a bug via Feedback Assistant, and make sure to reply with the feedback's ID on this thread for reference. You may also link this thread on your feedback. Some details about this bug Swift Playgrounds are a superset of swiftpm (the Swift Package format), and they have a Package.swift` settings file that you may access via clicking on Show Package Contents option in Finder: This file includes all your App Playground's settings and used packages. Here's how it looks on a functional app, with the same package you were using: // swift-tools-version: 5.9 // WARNING: // This file is automatically generated. // Do not edit it by hand because the contents will be replaced. import PackageDescription import AppleProductTypes let package = Package( name: My App, platforms: [ .iOS(18.1) ], products: [ .iOSApplication( name: My App, targets: [AppModule], displayVersion: 1.0, bundleVe
Feb ’25
Cannot load products in Sandbox
Hi, I'm trying to hook up some test in app purchases to test purchase code between our app and our app's backend. When I try to load products (requestProductData) with my Sandbox account, my product identifiers come back in the invalid product identifiers member of the response. My product says it's in waiting for review status in app store connect, and I'm logged in to the app store with my sandbox account on my device. We just accepted the paid apps agreement as well--is there some propagation time to that? The product ID I'm using (both in app store connect and in-app) is test_durable. Do I need to append the package name to that or something? I've dug through the docs and through the forums here and come up empty. I tried using the Xcode storekit test harness and the issue there is that because that doesn't actually talk to the store apis, I can't use that to test my backend correctly validating/processing the transactions. Thanks!
0
0
446
Jul ’26
Reply to Xcode 9.2 app uploading broken?
Issue was answered here: https://stackoverflow.com/questions/47644270/xcode-9-2-upload-to-app-store-fails-with-description-length-and-invalid-toolchai/47651392Right-Click on the archive file (.xcarchive) > Show Package Contents > Products > Applications > Right-Click on the app file > Show Package Contents > Double-Click on Info.plist to edit it Change value of DTXcodeBuild from 9C40b to 9C40 Re-submit and it will work
Dec ’17
Reply to Code Sign PKG file error "this identity cannot be used"
When I do that I get the error: Developer ID Installer: XYZ123: this identity cannot be used for signing code Right. That error is correct, but misleading. You have two signing identities: A code signing identity, Developer ID Application: TTT An installer signing identity, Developer ID Installer: TTT You use the first for signing code (and disk images) and the second for signing installer packages. If you attempt to cross the streams, bad things will happen. The issue here is that you’re trying to signing your installer package as if it were code. This will actually work [1] but it won’t produce anything useful. It’ll create an installer package that’s code signed, rather than an installer package that’s installer signed. To sign an installer package, use productsign. For general advice on how to package Mac products for distribution, see Packaging Mac Software for Distribution. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical
Topic: App & System Services SubTopic: Core OS Tags:
Aug ’22
Reply to Our app I was rejected, reason: Your app is primarily a book and is therefore not appropriate for the App Store.
If you don't like their rules, you are free to open your own online store and sell your products. Nobody can stop you. And you can be bitter for as many weeks and months as you want, thinking about how much money you have lost except that a stranger doesn't care. I would rather either accept a defeat and move on with my life or adjust the product such that it would be allowed into the store, examining similar products of others.
Feb ’24
Swift Package compilation issues
I'm working on an iOS project that uses Swift Package Manager to download and link a private package to it. The package is developed internally in our company, and it contains over 4000 files. The package creates namespaces using extensions, eg: /* Core.swift */ public enum Core { public enum Blobs { } t/* More enum declarations here */ } /* SomeBlob.swift */ public extension Core.Blobs { public class SomeBlob { /* implementation here */ } } The issue that we're facing is that we are unable to access all the classes, structs and enums from the Package, even though they've all been declared public. We are only able to access approximately a quarter of the files (up to the ones beginning with the letter C). Has anyone had this issue before ? Any suggestions are welcome. Thanks in advance :)
0
0
478
Sep ’20
Anyone successful with local Swift packages?
I've been trying all morning to get a trivial Swift package (local) working. I'm using macOS 11.2 with Xcode 12.4 on an iMac Pro. In all cases, I'm left with a compile error of Module 'MyPackage' has no member named 'some symbol'. Setup: Simple iOS single view app. Swift package with a simple Utility class with a static func named doWork that just prints a message. I've of course imported my package in the app's file where I need to use the utility function. What I've tried... Created a standalone Swift Package first. Then, the app project and dragged the Swift Package into it. As above but with a workspace instead of a project. Started with just an app project. Created my Utility.swift file in that project. Then, created the Swift package and dragged that Utility.swift file into the package's main source folder. This is basically what is demoed in Creating Swift Packages (WWDC 2019). During the first part showing how to create a local package
0
0
860
Feb ’21
Reply to Selecting Provisioning Profile for MacOS app via command line
altool is not involved in provisioning profiles; it just uploads whatever you given it. If there’s a profile missing then that’s related to the way that your app is built. How are you creating the installer package (.pkg) that you pass to altool? Using Distribute App > App Store Connect > Export in the Xcode organiser? Or using xcodebuild? Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
May ’22
Reply to Able to sign and notarize app, but verifying for app store results in error: The Info.plist indicates a Mac app, but submitting an ipa
Just to clarify this: I also tried signing in the above productbuild command instead of using productsign, but ended with same result I had also tried the below command (removing need for productsign as it creates the .pkg and signs it) as I was unsure if temporarily naming the package to epe.pkg was causing an issue: productbuild --component evilpoopemoji.app /Applications --sign 3rd Party Mac Developer Installer: My Name (ID NUMBER)tevilpoopemoji.pkg --product evilpoopemoji.app/Contents/Info.plist
Nov ’20
Reply to Selling IAP consumables using price tiers above 60
You can work around this by selling multiple packages of consumables. For example, have a consumable at tier 60 (with 100 units) and another consumable at a discount of tier 40 (also with 100 units) (for example) but the second package is not usually offered for sale. Tell the user that if they want to purchase 100 units it will cost tier 60. If they want to purchase 200 units then they can purchase the first 100 units and, for the next 24 hours, they will be able to purchase the next 100 units for tier 40 for a toal price of only tier 60 plus tier 40. For 24 hours after the first purchase show them the tier 40 product rather than the tier 60 product.
Nov ’16
Swift Packages: Custom Fonts
I'm building a package for my custom fonts. But not be able to register custom .ttf file in a Swift Package. Any recommendations for this?
Replies
0
Boosts
0
Views
937
Activity
Jul ’20
String catalog and local package
Hello Apple community ! I'm facing an issue regarding xcstrings in a local package in my project. It's an iOS application with a local package containing multiple targets. The Localizable.xcstrings is located in the app target and contains keys for the app and targets of the local package (Views in the targets look for keys in the main bundle) My issue is that auto detection/extraction seems to work only for keys used inside the app bundle. It doesn't look in the package. However, if I add a Localizable.xcstrings inside a package target, it gets populated. Is this normal behaviour & is there any way to make extraction put the keys in the main bundle xcstrings instead ? I feel like it should be normal behaviour if no xcstrings is found in the package My fallback would be to set all keys in manual extraction state but it's not ideal ;) Thanks in advance for the great work Eric
Replies
1
Boosts
0
Views
955
Activity
Sep ’24
My .pkg is being rejected after notarize it
I'm notarizing my .pkg installer and even stapling the ticket after, but I still get rejected after checking it with the following command:spctl -vvv --assess --type install path/to/my/notarized.pkg path/to/my/notarized.pkg: rejected origin=3rd Party Mac Developer Installer: My Certificate Name (XXXXXXXXX)My pkg is being created with the packages app and then signed using pkgutils. Then it's notarized and after the success response from Apple I'm stapling the ticket into it. The pkg contains an app that is also signed of course.How can I find more information about what's going on? Is there a log somewhere?Thanks in advance.
Replies
3
Boosts
0
Views
777
Activity
Apr ’20
Xcode package resolution issue
I am running into an issue mainly on my CI, but the issue is present either way. I have a project with multiple Swift Packages as dependancies, most are remote but i have a couple that are local swift packages. On first load of xcode, it will fail to fetch the local packages, if i keep xcode open, around 10 minutes later, it will automatically try and fetch the packages but this time will succeed. Has anybody had this issue? Apart from deploying these packages remotely, is there any other solutions? xcode 13, 13.1, 13.2 all tried and have the same behaviour. Thanks!
Replies
0
Boosts
0
Views
676
Activity
Nov ’21
pkg install but digital signature invalid
I made a pkg install my APP but failed to install to other macbooks because of digital signature invalid warning : Signed.pkg can't be installed because its digital signture is invalid. I signed again,but failed to install again with same warning. bogon:Desktop tanhuang$ productsign --timestamp --sign Developer ID Installer: Tan Huang (NGMD5RC85D) HuionDriver.pkg Signed.pkgproductsign: using timestamp authority for signatureproductsign: signing product with identity Developer ID Installer: Tan Huang (NGMD5RC85D) from keychain /Users/tanhuang/Library/Keychains/login.keychain-dbproductsign: adding certificate Developer ID Certification Authorityproductsign: adding certificate Apple Root CAproductsign: Wrote signed product archive to Signed.pkgbogon:Desktop tanhuang$ codesign -dvvv Signed.pkgSigned.pkg: code object is not signed at allbogon:Desktop tanhuang$ spctl --assess -v Signed.pkgSigned.pkg: rejectedsource=no usable signaturebogon:Desktop tanhuang$ spctl --assess -v --type instal
Replies
0
Boosts
0
Views
1.7k
Activity
Sep ’19
Reply to Unable to rename the Swift Playground or add an icon when package dependencies is imported
I was able to reproduce the behavior you described, and I recommend you submit a bug via Feedback Assistant, and make sure to reply with the feedback's ID on this thread for reference. You may also link this thread on your feedback. Some details about this bug Swift Playgrounds are a superset of swiftpm (the Swift Package format), and they have a Package.swift` settings file that you may access via clicking on Show Package Contents option in Finder: This file includes all your App Playground's settings and used packages. Here's how it looks on a functional app, with the same package you were using: // swift-tools-version: 5.9 // WARNING: // This file is automatically generated. // Do not edit it by hand because the contents will be replaced. import PackageDescription import AppleProductTypes let package = Package( name: My App, platforms: [ .iOS(18.1) ], products: [ .iOSApplication( name: My App, targets: [AppModule], displayVersion: 1.0, bundleVe
Replies
Boosts
Views
Activity
Feb ’25
Cannot load products in Sandbox
Hi, I'm trying to hook up some test in app purchases to test purchase code between our app and our app's backend. When I try to load products (requestProductData) with my Sandbox account, my product identifiers come back in the invalid product identifiers member of the response. My product says it's in waiting for review status in app store connect, and I'm logged in to the app store with my sandbox account on my device. We just accepted the paid apps agreement as well--is there some propagation time to that? The product ID I'm using (both in app store connect and in-app) is test_durable. Do I need to append the package name to that or something? I've dug through the docs and through the forums here and come up empty. I tried using the Xcode storekit test harness and the issue there is that because that doesn't actually talk to the store apis, I can't use that to test my backend correctly validating/processing the transactions. Thanks!
Replies
0
Boosts
0
Views
446
Activity
Jul ’26
Reply to Xcode 9.2 app uploading broken?
Issue was answered here: https://stackoverflow.com/questions/47644270/xcode-9-2-upload-to-app-store-fails-with-description-length-and-invalid-toolchai/47651392Right-Click on the archive file (.xcarchive) > Show Package Contents > Products > Applications > Right-Click on the app file > Show Package Contents > Double-Click on Info.plist to edit it Change value of DTXcodeBuild from 9C40b to 9C40 Re-submit and it will work
Replies
Boosts
Views
Activity
Dec ’17
Reply to Code Sign PKG file error "this identity cannot be used"
When I do that I get the error: Developer ID Installer: XYZ123: this identity cannot be used for signing code Right. That error is correct, but misleading. You have two signing identities: A code signing identity, Developer ID Application: TTT An installer signing identity, Developer ID Installer: TTT You use the first for signing code (and disk images) and the second for signing installer packages. If you attempt to cross the streams, bad things will happen. The issue here is that you’re trying to signing your installer package as if it were code. This will actually work [1] but it won’t produce anything useful. It’ll create an installer package that’s code signed, rather than an installer package that’s installer signed. To sign an installer package, use productsign. For general advice on how to package Mac products for distribution, see Packaging Mac Software for Distribution. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Aug ’22
Reply to Our app I was rejected, reason: Your app is primarily a book and is therefore not appropriate for the App Store.
If you don't like their rules, you are free to open your own online store and sell your products. Nobody can stop you. And you can be bitter for as many weeks and months as you want, thinking about how much money you have lost except that a stranger doesn't care. I would rather either accept a defeat and move on with my life or adjust the product such that it would be allowed into the store, examining similar products of others.
Replies
Boosts
Views
Activity
Feb ’24
Swift Package compilation issues
I'm working on an iOS project that uses Swift Package Manager to download and link a private package to it. The package is developed internally in our company, and it contains over 4000 files. The package creates namespaces using extensions, eg: /* Core.swift */ public enum Core { public enum Blobs { } t/* More enum declarations here */ } /* SomeBlob.swift */ public extension Core.Blobs { public class SomeBlob { /* implementation here */ } } The issue that we're facing is that we are unable to access all the classes, structs and enums from the Package, even though they've all been declared public. We are only able to access approximately a quarter of the files (up to the ones beginning with the letter C). Has anyone had this issue before ? Any suggestions are welcome. Thanks in advance :)
Replies
0
Boosts
0
Views
478
Activity
Sep ’20
Anyone successful with local Swift packages?
I've been trying all morning to get a trivial Swift package (local) working. I'm using macOS 11.2 with Xcode 12.4 on an iMac Pro. In all cases, I'm left with a compile error of Module 'MyPackage' has no member named 'some symbol'. Setup: Simple iOS single view app. Swift package with a simple Utility class with a static func named doWork that just prints a message. I've of course imported my package in the app's file where I need to use the utility function. What I've tried... Created a standalone Swift Package first. Then, the app project and dragged the Swift Package into it. As above but with a workspace instead of a project. Started with just an app project. Created my Utility.swift file in that project. Then, created the Swift package and dragged that Utility.swift file into the package's main source folder. This is basically what is demoed in Creating Swift Packages (WWDC 2019). During the first part showing how to create a local package
Replies
0
Boosts
0
Views
860
Activity
Feb ’21
Reply to Selecting Provisioning Profile for MacOS app via command line
altool is not involved in provisioning profiles; it just uploads whatever you given it. If there’s a profile missing then that’s related to the way that your app is built. How are you creating the installer package (.pkg) that you pass to altool? Using Distribute App > App Store Connect > Export in the Xcode organiser? Or using xcodebuild? Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Replies
Boosts
Views
Activity
May ’22
Reply to Able to sign and notarize app, but verifying for app store results in error: The Info.plist indicates a Mac app, but submitting an ipa
Just to clarify this: I also tried signing in the above productbuild command instead of using productsign, but ended with same result I had also tried the below command (removing need for productsign as it creates the .pkg and signs it) as I was unsure if temporarily naming the package to epe.pkg was causing an issue: productbuild --component evilpoopemoji.app /Applications --sign 3rd Party Mac Developer Installer: My Name (ID NUMBER)tevilpoopemoji.pkg --product evilpoopemoji.app/Contents/Info.plist
Replies
Boosts
Views
Activity
Nov ’20
Reply to Selling IAP consumables using price tiers above 60
You can work around this by selling multiple packages of consumables. For example, have a consumable at tier 60 (with 100 units) and another consumable at a discount of tier 40 (also with 100 units) (for example) but the second package is not usually offered for sale. Tell the user that if they want to purchase 100 units it will cost tier 60. If they want to purchase 200 units then they can purchase the first 100 units and, for the next 24 hours, they will be able to purchase the next 100 units for tier 40 for a toal price of only tier 60 plus tier 40. For 24 hours after the first purchase show them the tier 40 product rather than the tier 60 product.
Replies
Boosts
Views
Activity
Nov ’16