Search results for

“missing package product”

53,787 results found

Post

Replies

Boosts

Views

Activity

Silent installation of package doesn't run package's plugins
Hey all, I am working on a macOS application that has a requirement to have both normal and silent installation. The created package that installs the app uses a custom built plugin (which is packaged with the app) to retrieve package's name and use that as environment and secret for the installed application. When package is installed non-silently, the plugin runs properly and is visible as a step in the installer (attached screenshot, environment step). It can be confirmed that it runs as Console app records logs from the plugin and the file with environment is modified accordingly. If the package is installed silently via command line in terminal: sudo installed -pkg -target /Applications -verbose -dumplog no logs are caught by the Console app and there is no indication that plugin has ran as the file it modifies, isn't modified. Is it possible to run package's plugins in the silent installation and if so, what has to be done to do it? If need
0
0
442
Nov ’22
Hash for Packages
I looked for any posts that indicate whether one can generate hashes (SHA256 or MD5) for packages in particular Photo and Photos Libraries but did not find any. Can hashes be generated for such packages?
0
0
334
Oct ’21
Unable to sign packages for intune deployment
My company would like to deploy packages from Perimeter 81 and cybereason to our macos devices managed by Intune, but we are getting the following error message when trying to create the distribution file: productbuild --synthesize --package ./cybereason.pkg ./distribution.xml productbuild: error: ./cybereason.pkg is a product archive, not a component package. productbuild --synthesize --package ./perimeter.pkg ./distribution.xml productbuild: error: ./perimeter.pkg is a product archive, not a component package. I do not have experience with packaging outside of the basic instructions provided by Microsoft, but is anyone familiar with how to get around this error message? Thanks
0
0
705
Aug ’22
Reply to Xcode 13 App + command line tool problems
So I finally settled on using a swift package to handle the command line tool project, which I added to the main app project using the package dependencies. This package executable product could be set as a dependency, and I added a run script build phase to sign the tool and embed it in the main app's Resources folder. The SPM executable product needs to be signed with --options=runtime to be embedded in a notarized macOS app. The script is pretty simple: #!/bin/bash devID=Developer ID Application: Me Myself (ASDF1234) toolPath=${BUILT_PRODUCTS_DIR}/MyTool codesign --force --options=runtime --sign ${devID} ${toolPath} cp ${toolPath} ${CONFIGURATION_BUILD_DIR}/${CONTENTS_FOLDER_PATH}/Resources
Sep ’21
Package update fails for package hosted on private Gitlab server
I've been struggling to understand why the update package feature is failing for a private package I have hosted on our company gitlab server. I am able to add the package to the project just fine, and Xcode downloads the latest version. Any time I make a change and bump the minor version of my package (e.g. 0.0.8 -> 0.0.9), I cannot get Xcode to update to the latest. I have 0.0.8 - next major set for the version rules. Initially adding the package to the project was successful: But when I update my package, tag a new version e.g. 0.0.9, push to our gitlab repo (with tags), then in the project where I added this dependency, right click the package and select Update Package - I get the following error: If I remove the package dependency from the project and add it again, Xcode always correctly grabs the latest version. I have tried removing this package and running File > Packages > Reset Package
4
0
2.2k
Oct ’22
Reply to Append data of personalized installer
I’d like to get a better understanding of your requirements here. Here’s what I think is going on: You have a Mac product that you distribute directly (as opposed to on the Mac App Store). Your users download that product from your website. At the point of download, you want to customise the product for each user. Am I right so far? If so, I have a couple of follow-up questions: Roughly how many users are we talking about here? Tens? Hundreds? Thousands? How is your product currently packaged. You mentioned an disk image, so I’m presuming that’s the outermost container. What’s on that disk image? Just your app? Is there more nested containers, like an installer package? Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Topic: Code Signing SubTopic: General
Oct ’24
Reply to Exploit CVE-2022-46689 for development
I’m happy to comment on security fixes if they relate to your code. For example, if you’re writing code that’s stopped working because of a security fix, I’m happy to talk about that [1]. Re-reading your question today, that doesn’t seem to be the case here. While you are building a product for an Apple platform, that product is not having a problem on our platforms. Rather, it’s various third-party services that are complaining. I can’t comment on those. Presumably your installer package will ship either via the Mac App Store or independently using Developer ID signing. Either way, you can have Apple run its checks on it. For the Mac App Store that means simply uploading it to the store. For independent distribution that means notarising it (and, if you want to go further, testing it per Testing a Notarised Product). If it passes those checks then Apple is happy. Now it’s quite possible that these third-party services are spotting something that Apple has missed.
Topic: Programming Languages SubTopic: Swift Tags:
Feb ’23
How to download and install the macOS_SDK_headers_for_macOS_10.15.pkg
Hello, I am a beginner with MacOS. I am trying to compile a program that builds using Xcode. Right now I have Xcode 12.2 on Catalina 10.15.5 . My build runs up to a point where I have : 'CoreServices/CoreServices.h' file not found. From my readings, I think that this file should be in a headers package, probably macOS_SDK_headers_for_macOS_10.15.pkg or something like that. I have reinstalled Xcode 12.2 (a .xip) and also the command lines tools for Xcode 12.2 ( a .dmg ). After doing these installs, I still do not find the missing headers or even the pkg file that would contain them. Can anybody help me with installing the missing headers ? How do I get the SDK headers to complete my compilation ? Thank you Gilbert
1
0
1.2k
Oct ’21
Reply to Notarizing my application issues
I looked into the Info.plist file and it seems that it is the same before and after the pack md5 ./Build-Mac-EP-New/SBSimulatorPackage/build/SafeBreach EPS.app/Contents/Info.plist ./Build-Mac-EP-New/SafeBreachMenuBar/Build/Products/Release/SafeBreach EPS.app/Contents/Info.plist MD5 (./Build-Mac-EP-New/SBSimulatorPackage/build/SafeBreach EPS.app/Contents/Info.plist) = e9be84f77bf23176a8d337fbce83aeb2 MD5 (./Build-Mac-EP-New/SafeBreachMenuBar/Build/Products/Release/SafeBreach EPS.app/Contents/Info.plist) = e9be84f77bf23176a8d337fbce83aeb2 I'm using Packages (http://s.sudre.free.fr/Software/Packages/about.html) to create the final .pkg file.
Topic: Code Signing SubTopic: Notarization Tags:
Dec ’21
Reply to Notarization failing, not signed with Developer ID Cert
Any suggestions as to what I'm missing or doing wrong? You are signing your installer package as code, which is not right. Installer packages must be signed by installer tools using a Developer ID Installer code signing identity. Packaging Mac Software for Distribution shows the basics. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Topic: Code Signing SubTopic: Notarization Tags:
Sep ’22
Silent installation of package doesn't run package's plugins
Hey all, I am working on a macOS application that has a requirement to have both normal and silent installation. The created package that installs the app uses a custom built plugin (which is packaged with the app) to retrieve package's name and use that as environment and secret for the installed application. When package is installed non-silently, the plugin runs properly and is visible as a step in the installer (attached screenshot, environment step). It can be confirmed that it runs as Console app records logs from the plugin and the file with environment is modified accordingly. If the package is installed silently via command line in terminal: sudo installed -pkg -target /Applications -verbose -dumplog no logs are caught by the Console app and there is no indication that plugin has ran as the file it modifies, isn't modified. Is it possible to run package's plugins in the silent installation and if so, what has to be done to do it? If need
Replies
0
Boosts
0
Views
442
Activity
Nov ’22
Invalid package
I try to upload my app on itunestore some erroe occur.ERROR ITMS-90529: Invalid package. Applications built with sdk 9.0 or later must be packaged as proper IPA files.
Replies
0
Boosts
0
Views
440
Activity
Nov ’15
Hash for Packages
I looked for any posts that indicate whether one can generate hashes (SHA256 or MD5) for packages in particular Photo and Photos Libraries but did not find any. Can hashes be generated for such packages?
Replies
0
Boosts
0
Views
334
Activity
Oct ’21
Unable to sign packages for intune deployment
My company would like to deploy packages from Perimeter 81 and cybereason to our macos devices managed by Intune, but we are getting the following error message when trying to create the distribution file: productbuild --synthesize --package ./cybereason.pkg ./distribution.xml productbuild: error: ./cybereason.pkg is a product archive, not a component package. productbuild --synthesize --package ./perimeter.pkg ./distribution.xml productbuild: error: ./perimeter.pkg is a product archive, not a component package. I do not have experience with packaging outside of the basic instructions provided by Microsoft, but is anyone familiar with how to get around this error message? Thanks
Replies
0
Boosts
0
Views
705
Activity
Aug ’22
Reply to Discontinuing consumable IAP Products
Thank you. And yes, I realized that when updating the app, since we don't lose any data in NSUserDefault, we can do a routine to convert any unused Product A into an equivalent Product B.Thank you!
Topic: App & System Services SubTopic: StoreKit Tags:
Replies
Boosts
Views
Activity
Sep ’17
Reply to Xcode 13 App + command line tool problems
So I finally settled on using a swift package to handle the command line tool project, which I added to the main app project using the package dependencies. This package executable product could be set as a dependency, and I added a run script build phase to sign the tool and embed it in the main app's Resources folder. The SPM executable product needs to be signed with --options=runtime to be embedded in a notarized macOS app. The script is pretty simple: #!/bin/bash devID=Developer ID Application: Me Myself (ASDF1234) toolPath=${BUILT_PRODUCTS_DIR}/MyTool codesign --force --options=runtime --sign ${devID} ${toolPath} cp ${toolPath} ${CONFIGURATION_BUILD_DIR}/${CONTENTS_FOLDER_PATH}/Resources
Replies
Boosts
Views
Activity
Sep ’21
Package update fails for package hosted on private Gitlab server
I've been struggling to understand why the update package feature is failing for a private package I have hosted on our company gitlab server. I am able to add the package to the project just fine, and Xcode downloads the latest version. Any time I make a change and bump the minor version of my package (e.g. 0.0.8 -> 0.0.9), I cannot get Xcode to update to the latest. I have 0.0.8 - next major set for the version rules. Initially adding the package to the project was successful: But when I update my package, tag a new version e.g. 0.0.9, push to our gitlab repo (with tags), then in the project where I added this dependency, right click the package and select Update Package - I get the following error: If I remove the package dependency from the project and add it again, Xcode always correctly grabs the latest version. I have tried removing this package and running File > Packages > Reset Package
Replies
4
Boosts
0
Views
2.2k
Activity
Oct ’22
Reply to Xcode 13.2 - Internal error : Missing Package Description Module
Same. MacBook M1 Pro. All SPM packages are missing from the project folder, and same error as above. Downloading the previous version :-(
Replies
Boosts
Views
Activity
Dec ’21
Reply to Append data of personalized installer
I’d like to get a better understanding of your requirements here. Here’s what I think is going on: You have a Mac product that you distribute directly (as opposed to on the Mac App Store). Your users download that product from your website. At the point of download, you want to customise the product for each user. Am I right so far? If so, I have a couple of follow-up questions: Roughly how many users are we talking about here? Tens? Hundreds? Thousands? How is your product currently packaged. You mentioned an disk image, so I’m presuming that’s the outermost container. What’s on that disk image? Just your app? Is there more nested containers, like an installer package? Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Topic: Code Signing SubTopic: General
Replies
Boosts
Views
Activity
Oct ’24
Reply to Exploit CVE-2022-46689 for development
I’m happy to comment on security fixes if they relate to your code. For example, if you’re writing code that’s stopped working because of a security fix, I’m happy to talk about that [1]. Re-reading your question today, that doesn’t seem to be the case here. While you are building a product for an Apple platform, that product is not having a problem on our platforms. Rather, it’s various third-party services that are complaining. I can’t comment on those. Presumably your installer package will ship either via the Mac App Store or independently using Developer ID signing. Either way, you can have Apple run its checks on it. For the Mac App Store that means simply uploading it to the store. For independent distribution that means notarising it (and, if you want to go further, testing it per Testing a Notarised Product). If it passes those checks then Apple is happy. Now it’s quite possible that these third-party services are spotting something that Apple has missed.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Feb ’23
How to download and install the macOS_SDK_headers_for_macOS_10.15.pkg
Hello, I am a beginner with MacOS. I am trying to compile a program that builds using Xcode. Right now I have Xcode 12.2 on Catalina 10.15.5 . My build runs up to a point where I have : 'CoreServices/CoreServices.h' file not found. From my readings, I think that this file should be in a headers package, probably macOS_SDK_headers_for_macOS_10.15.pkg or something like that. I have reinstalled Xcode 12.2 (a .xip) and also the command lines tools for Xcode 12.2 ( a .dmg ). After doing these installs, I still do not find the missing headers or even the pkg file that would contain them. Can anybody help me with installing the missing headers ? How do I get the SDK headers to complete my compilation ? Thank you Gilbert
Replies
1
Boosts
0
Views
1.2k
Activity
Oct ’21
Reply to Unable to upload hosted content
I solved this by deleting the IAP on iTunes Connect/App Connect and re-creating it. Wasn't able to reuse the Product ID, but I was able to upload my IAP pkg.
Topic: App & System Services SubTopic: StoreKit Tags:
Replies
Boosts
Views
Activity
Jun ’18
Reply to XCode Not Resolving Swift Package Dependencies
Missed copying the first line in my package config and I don't see a way to edit my original question, but I am using swift-tools-version:5.3.
Replies
Boosts
Views
Activity
Feb ’21
Reply to Notarizing my application issues
I looked into the Info.plist file and it seems that it is the same before and after the pack md5 ./Build-Mac-EP-New/SBSimulatorPackage/build/SafeBreach EPS.app/Contents/Info.plist ./Build-Mac-EP-New/SafeBreachMenuBar/Build/Products/Release/SafeBreach EPS.app/Contents/Info.plist MD5 (./Build-Mac-EP-New/SBSimulatorPackage/build/SafeBreach EPS.app/Contents/Info.plist) = e9be84f77bf23176a8d337fbce83aeb2 MD5 (./Build-Mac-EP-New/SafeBreachMenuBar/Build/Products/Release/SafeBreach EPS.app/Contents/Info.plist) = e9be84f77bf23176a8d337fbce83aeb2 I'm using Packages (http://s.sudre.free.fr/Software/Packages/about.html) to create the final .pkg file.
Topic: Code Signing SubTopic: Notarization Tags:
Replies
Boosts
Views
Activity
Dec ’21
Reply to Notarization failing, not signed with Developer ID Cert
Any suggestions as to what I'm missing or doing wrong? You are signing your installer package as code, which is not right. Installer packages must be signed by installer tools using a Developer ID Installer code signing identity. Packaging Mac Software for Distribution shows the basics. 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
Sep ’22