Search results for

“missing package product”

55,554 results found

Post

Replies

Boosts

Views

Activity

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
674
Dec ’24
Reply to InApp purchase and testing
Hello, I've made all the steps as the author did and I do not get any products. I'm using react-native with expo-in-app-purchases package. Product IDs from App Store Connect are 1000credits, 2200credits and 6000credits. ... const { responseCode, results } = await InAppPurchases.getProductsAsync(['1000credits', '2200credits', '6000credits']) console.log(responseCode, responseCode); console.log(results, results); ... responseCode: 0 results: [ ] I tried to enter products using bundle identifier com.xxx.1000credits or com.xxx.xxx.1000credits as well and I have the same problem.
Topic: App & System Services SubTopic: StoreKit Tags:
Jul ’20
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
1.1k
Jan ’23
Failing in Notarization a pkg file
I have a flattened pkg file to notarize. It is signed at the build time by the Developer ID installer. Here is the output of a series of commands. check notarization status submit notarization and status check tatus of notarization after notarization complete. mtnview@C02YC2G0JGH5 ~/D/s/d/h/c/pkgs>spctl -a -vvv -t install ./foo.mac11.x86_64.pkg ./foo.mac11.x86_64.pkg: rejected source=Unnotarized Developer ID origin=Developer ID Installer: foo, Inc. (69Q4FM6AL9) mtnview@C02YC2G0JGH5 ~/D/s/d/h/c/pkgs> xcrun notarytool submit ./foo.mac11.x86_64.pkg --keychain-profile AC_PASSWORD --wait Conducting pre-submission checks for foo.mac11.x86_64.pkg and initiating connection to the Apple notary service... Submission ID received id: cc2d06be-fb07-4794-a92a-996ac07985fd Successfully uploaded file id: cc2d06be-fb07-4794-a92a-996ac07985fd path: /Users/mtnview/Documents/shared_vm/dev/hawkeye/cmake-macos/pkgs/foo.mac11.x86_64.pkg Waiting f
5
0
1.4k
Mar ’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
ReferenceFileDocument or FileDocument with Package types
I would like to use ReferenceFileDocument or FileDocument but the file type I use is a package type that conforms to com.apple.package. However the FileDocument - https://developer.apple.com/documentation/swiftui/filedocument and ReferenceFileDocument - https://developer.apple.com/documentation/swiftui/referencefiledocument respective write methods are called with a inout FileWrapper. I need this this FileWrapper to be a directory FileWrapper so that i can add child items to it. However the write method is being called with a regularFile instance of the FileWrapper so i am unable to add nested files that I need within my package. My writableContentTypes is UTType(exportedAs: com.example.package, conformingTo: .package). And my Xcode project expires/declares this data type as a package, so that UIDocument/NSDocument work.
1
0
704
Jun ’20
Package installer requires Rosetta?
I have a package installer for my .app created with a sequence of commands (pkgbuild, productbuild, xcrun notarytool, xcrun stapler). When this installer is run on a pristine machine, the user is prompted to install Rosetta first before being able to run the installer. Is this expected behavior? Or am I creating the .pkg incorrectly?
0
0
472
Jan ’24
Swift package manager
I have an Xcode project that generates xyz.framework and that framework is used by other teams for their app. Updating the framework is a manual process. So I am planning to covert my xyz.framwork source to swift package manager. I couldn't find any such articles. Please let me know if there is any resource around this topic.
0
0
470
Apr ’21
Reply to Problem using test plans with local Swift Packages
I was able to resolve this. As far as I can tell, it's an Xcode bug.The short version is that Xcode seems to assume that at least one test configuration will use the shared (default) test configuration, unmodified. That assumption can of course be wrong; it's possible that no test configuration exactly matches the defaults. The mistake can prevent Xcode from finding the test target bundles for local Swift Packages.The long version...* A test plan has a shared (default) test configuration.* A test plan has one or more actual test configurations.* Xcode places build products in directories whose names are based on their differences from the shared (default) configuration.* The build products for test configurations that don't have any meaningful differences are placed under the root, e.g.: /Products/xxx/....* The build products for test configurations that do have meaningful differences are placed under subirectories whose names are derived from the differences, e.g.: /Products
May ’20
Notarization service rejects .pkg. pkgutil, codesign and spctl validate app/package.
Hello. We have an app bundle that we package into a .pkg file. We are currently getting an error when notarizing the .pkg artifact. But running all the suggested tool vs the built bundle/package results in validating the bundle/package. We don't know what notarization service is rejecting the pkg. The notarization failure: Notarization Invalid { logFormatVersion: 1, jobId: b26ec329-409e-4a21-88f0-6f924795a6db, status: Invalid, statusSummary: Archive contains critical validation errors, statusCode: 4000, archiveFilename: MY-APP.pkg, uploadDate: 2021-07-19T17:39:59Z, sha256: 019c0409eab63e68cfe6323sd2e33715f07c731d5b4192254277ed62db1b6e97d, ticketContents: null, issues: [ { severity: error, code: null, path: MY-APP.pkg, message: The binary is not signed., docUrl: null, architecture: null } ] } Here is the output of codesign -v -vvv --deep --strict MY-APP.app: ... MY-APP.app: valid on disk MY-APP.app: satisfies its Designated Requirement Output of pkgutil --c
2
0
1.1k
Jul ’21
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
Topic: App & System Services SubTopic: iCloud Tags:
Jan ’16
Reply to Notarization Issues
Might also be worth noting that these aren't being natively built in xcode, but rather cross compiled via golang's compiler on a linux machine My experience is that Go binaries often have problems with code signing, primarily, because Go does not use the Apple linker [1]. We sign them and notarize (but can't staple because they aren't apps). Understood. But you can and should staple the installer package. My advice here is that you sign all your binaries, from the inside out, and then bundle them up into an installer package, sign that, notarise the installer package, and then finally staple that package. The resulting ticket will cover the installer package and all the binaries it contains. It will be ingested by the system at install time, so it’ll be available when the user goes to run one of your executables. For more details on each step, see Signing a Mac Product For Distribution. For advice on how to test this stuff, see Testing a Notarised Product
Topic: Code Signing SubTopic: General Tags:
Feb ’22
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
674
Activity
Dec ’24
Reply to InApp purchase and testing
Hello, I've made all the steps as the author did and I do not get any products. I'm using react-native with expo-in-app-purchases package. Product IDs from App Store Connect are 1000credits, 2200credits and 6000credits. ... const { responseCode, results } = await InAppPurchases.getProductsAsync(['1000credits', '2200credits', '6000credits']) console.log(responseCode, responseCode); console.log(results, results); ... responseCode: 0 results: [ ] I tried to enter products using bundle identifier com.xxx.1000credits or com.xxx.xxx.1000credits as well and I have the same problem.
Topic: App & System Services SubTopic: StoreKit Tags:
Replies
Boosts
Views
Activity
Jul ’20
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
1.1k
Activity
Jan ’23
Reply to SwiftUI Previews in Xcode 14 failed to run with SettingsError: noExecutablePath(IDESwiftPackageStaticLibraryProductBuildable)
Same problem here: SettingsError: noExecutablePath() This time it's even a library that does not get used at all on Apple platforms, since it's conditional in Package.swift: dependencies: [ .product(name: CLibreSSL, package: CLibreSSL, condition: .when(platforms: [.linux])), ],
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Sep ’22
Failing in Notarization a pkg file
I have a flattened pkg file to notarize. It is signed at the build time by the Developer ID installer. Here is the output of a series of commands. check notarization status submit notarization and status check tatus of notarization after notarization complete. mtnview@C02YC2G0JGH5 ~/D/s/d/h/c/pkgs>spctl -a -vvv -t install ./foo.mac11.x86_64.pkg ./foo.mac11.x86_64.pkg: rejected source=Unnotarized Developer ID origin=Developer ID Installer: foo, Inc. (69Q4FM6AL9) mtnview@C02YC2G0JGH5 ~/D/s/d/h/c/pkgs> xcrun notarytool submit ./foo.mac11.x86_64.pkg --keychain-profile AC_PASSWORD --wait Conducting pre-submission checks for foo.mac11.x86_64.pkg and initiating connection to the Apple notary service... Submission ID received id: cc2d06be-fb07-4794-a92a-996ac07985fd Successfully uploaded file id: cc2d06be-fb07-4794-a92a-996ac07985fd path: /Users/mtnview/Documents/shared_vm/dev/hawkeye/cmake-macos/pkgs/foo.mac11.x86_64.pkg Waiting f
Replies
5
Boosts
0
Views
1.4k
Activity
Mar ’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
ReferenceFileDocument or FileDocument with Package types
I would like to use ReferenceFileDocument or FileDocument but the file type I use is a package type that conforms to com.apple.package. However the FileDocument - https://developer.apple.com/documentation/swiftui/filedocument and ReferenceFileDocument - https://developer.apple.com/documentation/swiftui/referencefiledocument respective write methods are called with a inout FileWrapper. I need this this FileWrapper to be a directory FileWrapper so that i can add child items to it. However the write method is being called with a regularFile instance of the FileWrapper so i am unable to add nested files that I need within my package. My writableContentTypes is UTType(exportedAs: com.example.package, conformingTo: .package). And my Xcode project expires/declares this data type as a package, so that UIDocument/NSDocument work.
Replies
1
Boosts
0
Views
704
Activity
Jun ’20
Package installer requires Rosetta?
I have a package installer for my .app created with a sequence of commands (pkgbuild, productbuild, xcrun notarytool, xcrun stapler). When this installer is run on a pristine machine, the user is prompted to install Rosetta first before being able to run the installer. Is this expected behavior? Or am I creating the .pkg incorrectly?
Replies
0
Boosts
0
Views
472
Activity
Jan ’24
Swift package manager
I have an Xcode project that generates xyz.framework and that framework is used by other teams for their app. Updating the framework is a manual process. So I am planning to covert my xyz.framwork source to swift package manager. I couldn't find any such articles. Please let me know if there is any resource around this topic.
Replies
0
Boosts
0
Views
470
Activity
Apr ’21
Reply to Problem using test plans with local Swift Packages
I was able to resolve this. As far as I can tell, it's an Xcode bug.The short version is that Xcode seems to assume that at least one test configuration will use the shared (default) test configuration, unmodified. That assumption can of course be wrong; it's possible that no test configuration exactly matches the defaults. The mistake can prevent Xcode from finding the test target bundles for local Swift Packages.The long version...* A test plan has a shared (default) test configuration.* A test plan has one or more actual test configurations.* Xcode places build products in directories whose names are based on their differences from the shared (default) configuration.* The build products for test configurations that don't have any meaningful differences are placed under the root, e.g.: /Products/xxx/....* The build products for test configurations that do have meaningful differences are placed under subirectories whose names are derived from the differences, e.g.: /Products
Replies
Boosts
Views
Activity
May ’20
Notarization service rejects .pkg. pkgutil, codesign and spctl validate app/package.
Hello. We have an app bundle that we package into a .pkg file. We are currently getting an error when notarizing the .pkg artifact. But running all the suggested tool vs the built bundle/package results in validating the bundle/package. We don't know what notarization service is rejecting the pkg. The notarization failure: Notarization Invalid { logFormatVersion: 1, jobId: b26ec329-409e-4a21-88f0-6f924795a6db, status: Invalid, statusSummary: Archive contains critical validation errors, statusCode: 4000, archiveFilename: MY-APP.pkg, uploadDate: 2021-07-19T17:39:59Z, sha256: 019c0409eab63e68cfe6323sd2e33715f07c731d5b4192254277ed62db1b6e97d, ticketContents: null, issues: [ { severity: error, code: null, path: MY-APP.pkg, message: The binary is not signed., docUrl: null, architecture: null } ] } Here is the output of codesign -v -vvv --deep --strict MY-APP.app: ... MY-APP.app: valid on disk MY-APP.app: satisfies its Designated Requirement Output of pkgutil --c
Replies
2
Boosts
0
Views
1.1k
Activity
Jul ’21
Why can't search AccessorySetupKit in My Package ?
I used Xcode 16 beta 1 I would like to import the AccessorySetupKit introduced at the wwdc24 event it can imported iOS target source, but can't imported in my local package, ControllerKit what should I do ? why can't import local package ?
Replies
1
Boosts
0
Views
496
Activity
Jun ’24
Swift package manager
I am getting an error message (mixed language) while adding the Swift package dependency. Source code mostly contains Swift language and a little bit of Objective-C. Can't we mix Swift and Objective-C language? If so, what is the workaround
Replies
0
Boosts
0
Views
530
Activity
May ’21
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
Topic: App & System Services SubTopic: iCloud Tags:
Replies
Boosts
Views
Activity
Jan ’16
Reply to Notarization Issues
Might also be worth noting that these aren't being natively built in xcode, but rather cross compiled via golang's compiler on a linux machine My experience is that Go binaries often have problems with code signing, primarily, because Go does not use the Apple linker [1]. We sign them and notarize (but can't staple because they aren't apps). Understood. But you can and should staple the installer package. My advice here is that you sign all your binaries, from the inside out, and then bundle them up into an installer package, sign that, notarise the installer package, and then finally staple that package. The resulting ticket will cover the installer package and all the binaries it contains. It will be ingested by the system at install time, so it’ll be available when the user goes to run one of your executables. For more details on each step, see Signing a Mac Product For Distribution. For advice on how to test this stuff, see Testing a Notarised Product
Topic: Code Signing SubTopic: General Tags:
Replies
Boosts
Views
Activity
Feb ’22