Search results for

“missing package product”

52,932 results found

Post

Replies

Boosts

Views

Activity

Cannot notarize flat package
Hello,I successfully codesigned my app and it was accepted by notarization service. Then I created a package using pkgbuild / an app called packages and codesigned it using Installer identity. The installer works fine.I'm now trying to notarize the .pkg file but no success. It always returns invalid status with this error:severityerrorcodenullpath<package internal path>.pkg Contents/Payload/Contents/MacOS/<executable>messageThe signature of the binary is invalid.docUrlnullarchitecturex86_64(I replaced real paths above).It's an Unity app, so I don't place random scripts in random places.If I made a .dmg installer with these files, the .dmg is accepted by notarization serviceHowever, when the application is installed, both codesign and spctl return OK status. I use XCode 11.3.1. on macOS 10.14.6.Any suggestions how to fix this problem?
3
0
595
Apr ’20
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 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
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
851
Feb ’21
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
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
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
761
Apr ’20
Swift Packages + Module Stability
Hi! Support for binary dependencies in Xcode 12.0 is really a great addition to the whole ecosystem built around Swift Package Manager. Last year we learned that the non-binarySwift Packages don't work well with the module stable frameworks. Is there a plan to add a module stability to open-source Swift Packages, too? In a way that closed-source binaries could depend on open-source Swift Packages? Thanks!
0
0
641
Jun ’20
notarization: ".pkg could not be extracted."
Hi, after a software update of our previously successfully notarizated installion .pkg we now receive a cryptic notarization issue refusing the entire .pkg: { logFormatVersion: 1, jobId: 5cff2d71-7228-4fb4-a39d-329084cd2713, status: Invalid, statusSummary: Archive contains critical validation errors, statusCode: 4000, archiveFilename: my_installer.pkg.zip, uploadDate: 2024-12-04T23:17:14.016Z, sha256: 2f26d0376506abe130ac904d7cb0d0cd5428666624428da9f44da7756352844f, ticketContents: null, issues: [ { severity: error, code: null, path: my_installer.pkg.zip, message: Package my_installer.pkg.zip has no signed executables or bundles. No tickets can be generated., docUrl: null, architecture: null }, { severity: warning, code: null, path: my_installer.pkg.zip/my_installer.pkg, message: The contents of the package at my_installer.pkg.zip/my_installer.pkg could not be extracted., docUrl: null, architecture: null } ] } What could be the reason for that? We've also submitted the .pkg
3
0
611
Dec ’24
the package was signed with a certificate that has expired
I am very new to this, so apologies if this is a noob question. I am creating a package using Packages. I have a Developer ID certificate that expires in 2027. If I set my project to use that certificate before building in Packages, the build fails. So I am certifying after using terminal. However, in both the Terminal certification and running the installer for my .pkg, it says that the certificate is expired. I don't understand how a certificate that expires in 2027 can already be expired. Any ideas out there? I found a post with the same problem from 7 years ago and there were no responses. Thanks all!
1
0
949
Jan ’23
Reply to All live CloudKit user data in Developement environment
Was your app uploaded before or after August 20, 2015?Prior to that date, there was an issue for apps that use the CloudKit container environment set to Development instead of Production; the issue was caused by a missing validation in iTunes Connect for apps not built and uploaded with Xcode, or where “Development” was inadvertently selected when exporting the archive from Xcode.The missing validation was corrected on August 20, and apps uploaded after that date would not pass validation until they were updated to add the “Production” value to the com.apple.developer.icloud-container-environment” entitlement (or to add that entitlement if it missing completely).The current impact on your users depends on what your app does with CloudKit:If the app uses CloudKit to get a stable user identifier, there should be no impact to your app: the identifiers for a given user are identical between Production and Development containers, so it will remain unchanged aft
Jan ’16
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 TFOD on M1 Mac
I got the TensorFlow object detection tutorial page (https://www.tensorflow.org/hub/tutorials/tf2_object_detection) running. I had successfully installed tensorflow-macos and tensor flow-metal before, so that I could do already the image classification task shown on the TensorFlow hub site, but object detection was not possible for me as the installation mentioned on TensorFlow hub did not work. Initially I was struggling with the cell containing the installation of the object_detection-package, mainly because of missing packages or package conflicts. I mean this piece of code: %%bash sudo apt install -y protobuf-compiler cd models/research/ protoc object_detection/protos/*.proto --python_out=. cp object_detection/packages/tf2/setup.py . python -m pip install . The failure always occurred with the last line. I could overcome them with the following steps (as it was a longer trial and error I hope I don't miss any steps): The missing tensor flow-te
Topic: App & System Services SubTopic: Core OS Tags:
Apr ’22
SKProductRequest return 0 product with production-signed app
Hi,I have an iOS application which uses in-app purchases.I have already set the environment for IAP:Set all the Agreements Tax and Banking sections,Created IAP products on iTunes connectTurned on In app purchases in the capabilities tabImplemented my code to retrieve the product list and to perform a purchase validating the receipt server-sideI have also tested all with a sandbox environment and all works as expected: the list of products is correctly received by the store I can purchase a product validating the corresponding receipt.I have also tested the application using Testflight which creates automatically a sandbox user for all testers and all works as expected.I submitted my application to the Apple store and the revision has been passed so that at the moment the application is in Pending Developer Release status, all the products have been approved.In order to try an actual purchase (using a real credit card) I have generated a promo code with iTunes conne
2
0
1.6k
Nov ’18
Cannot notarize flat package
Hello,I successfully codesigned my app and it was accepted by notarization service. Then I created a package using pkgbuild / an app called packages and codesigned it using Installer identity. The installer works fine.I'm now trying to notarize the .pkg file but no success. It always returns invalid status with this error:severityerrorcodenullpath<package internal path>.pkg Contents/Payload/Contents/MacOS/<executable>messageThe signature of the binary is invalid.docUrlnullarchitecturex86_64(I replaced real paths above).It's an Unity app, so I don't place random scripts in random places.If I made a .dmg installer with these files, the .dmg is accepted by notarization serviceHowever, when the application is installed, both codesign and spctl return OK status. I use XCode 11.3.1. on macOS 10.14.6.Any suggestions how to fix this problem?
Replies
3
Boosts
0
Views
595
Activity
Apr ’20
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 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
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
851
Activity
Feb ’21
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
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
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
761
Activity
Apr ’20
Swift Packages + Module Stability
Hi! Support for binary dependencies in Xcode 12.0 is really a great addition to the whole ecosystem built around Swift Package Manager. Last year we learned that the non-binarySwift Packages don't work well with the module stable frameworks. Is there a plan to add a module stability to open-source Swift Packages, too? In a way that closed-source binaries could depend on open-source Swift Packages? Thanks!
Replies
0
Boosts
0
Views
641
Activity
Jun ’20
Package was signed with a cert that expired
With every package I install / deploy I get an error The package was signed with a certificate that has expired I view the cert, and it expires in 2020 (Office 2016 15.15.0 patchs). But it's with any .pkg file that i try on 10.11.1 (all betas). Allow from anywhere is selected in Security and Privacy.
Replies
1
Boosts
0
Views
1.3k
Activity
Oct ’15
notarization: ".pkg could not be extracted."
Hi, after a software update of our previously successfully notarizated installion .pkg we now receive a cryptic notarization issue refusing the entire .pkg: { logFormatVersion: 1, jobId: 5cff2d71-7228-4fb4-a39d-329084cd2713, status: Invalid, statusSummary: Archive contains critical validation errors, statusCode: 4000, archiveFilename: my_installer.pkg.zip, uploadDate: 2024-12-04T23:17:14.016Z, sha256: 2f26d0376506abe130ac904d7cb0d0cd5428666624428da9f44da7756352844f, ticketContents: null, issues: [ { severity: error, code: null, path: my_installer.pkg.zip, message: Package my_installer.pkg.zip has no signed executables or bundles. No tickets can be generated., docUrl: null, architecture: null }, { severity: warning, code: null, path: my_installer.pkg.zip/my_installer.pkg, message: The contents of the package at my_installer.pkg.zip/my_installer.pkg could not be extracted., docUrl: null, architecture: null } ] } What could be the reason for that? We've also submitted the .pkg
Replies
3
Boosts
0
Views
611
Activity
Dec ’24
the package was signed with a certificate that has expired
I am very new to this, so apologies if this is a noob question. I am creating a package using Packages. I have a Developer ID certificate that expires in 2027. If I set my project to use that certificate before building in Packages, the build fails. So I am certifying after using terminal. However, in both the Terminal certification and running the installer for my .pkg, it says that the certificate is expired. I don't understand how a certificate that expires in 2027 can already be expired. Any ideas out there? I found a post with the same problem from 7 years ago and there were no responses. Thanks all!
Replies
1
Boosts
0
Views
949
Activity
Jan ’23
Reply to All live CloudKit user data in Developement environment
Was your app uploaded before or after August 20, 2015?Prior to that date, there was an issue for apps that use the CloudKit container environment set to Development instead of Production; the issue was caused by a missing validation in iTunes Connect for apps not built and uploaded with Xcode, or where “Development” was inadvertently selected when exporting the archive from Xcode.The missing validation was corrected on August 20, and apps uploaded after that date would not pass validation until they were updated to add the “Production” value to the com.apple.developer.icloud-container-environment” entitlement (or to add that entitlement if it missing completely).The current impact on your users depends on what your app does with CloudKit:If the app uses CloudKit to get a stable user identifier, there should be no impact to your app: the identifiers for a given user are identical between Production and Development containers, so it will remain unchanged aft
Replies
Boosts
Views
Activity
Jan ’16
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 TFOD on M1 Mac
I got the TensorFlow object detection tutorial page (https://www.tensorflow.org/hub/tutorials/tf2_object_detection) running. I had successfully installed tensorflow-macos and tensor flow-metal before, so that I could do already the image classification task shown on the TensorFlow hub site, but object detection was not possible for me as the installation mentioned on TensorFlow hub did not work. Initially I was struggling with the cell containing the installation of the object_detection-package, mainly because of missing packages or package conflicts. I mean this piece of code: %%bash sudo apt install -y protobuf-compiler cd models/research/ protoc object_detection/protos/*.proto --python_out=. cp object_detection/packages/tf2/setup.py . python -m pip install . The failure always occurred with the last line. I could overcome them with the following steps (as it was a longer trial and error I hope I don't miss any steps): The missing tensor flow-te
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Apr ’22
SKProductRequest return 0 product with production-signed app
Hi,I have an iOS application which uses in-app purchases.I have already set the environment for IAP:Set all the Agreements Tax and Banking sections,Created IAP products on iTunes connectTurned on In app purchases in the capabilities tabImplemented my code to retrieve the product list and to perform a purchase validating the receipt server-sideI have also tested all with a sandbox environment and all works as expected: the list of products is correctly received by the store I can purchase a product validating the corresponding receipt.I have also tested the application using Testflight which creates automatically a sandbox user for all testers and all works as expected.I submitted my application to the Apple store and the revision has been passed so that at the moment the application is in Pending Developer Release status, all the products have been approved.In order to try an actual purchase (using a real credit card) I have generated a promo code with iTunes conne
Replies
2
Boosts
0
Views
1.6k
Activity
Nov ’18