Search results for

missing package product

50,279 results found

Post

Replies

Boosts

Views

Activity

Reply to Using playgrounds in local swift packages -- Bundle.module throws fatal error
This seems to work for me. I created a workspace and added a package and a playground to that workspace. I then added a resource to the package, and I was able to access that from the playground. I’ve included a lot more details below. I recommend that you retry this with a newly created workspace, package and playground, to confirm that the basics are working. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com I’m using Xcode 12.4 on macOS 11.2.3. Here’s my Package.swift: // swift-tools-version:5.3 // The swift-tools-version declares the minimum version of Swift required to build this package. import PackageDescription let package = Package( name: MyLibrary, products: [ // Products define the executables and libraries a package produces, and make them visible to other packages. .library( name: MyLibrary, targets: [MyLibrary]), ], dependencies: [ // Depend
Apr ’21
Notarizing a Flat Package containing another Flat Package?
Hello!This isn't so much a Developer issue, but developers are far more knowledgable about Notarization than anyone else, so here I am! :-)I'm creating a pkg with another (signed, notarized) pkg as its payload and a postinstall.sh to install that pkg (using /usr/sbin/installer) with particular configuration options. I can sign the resulting pkg just fine, but it has yet to pass Notarization. The original pkg installs fine with no warnings, but a pkg containing that original pkg fails Notarization with The executable does not have the hardened runtime enabled errors.Does anyone have any ideas on how to achieve what I'm trying to do? I'd really rather not have to re-package the original pkg's payload, likely having to edit its preinstall and postinstall scripts to add my configuration options. Is it possible that I'm just getting caught in the timeline issue with original apps and pkgs that were Notarized before Feb 1, 202
2
0
562
Feb ’20
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
productbuild: notarize .pkg with non-binary sub package
Hi, we have .pkg install package consisting of various sub packages. One of them contains presets and needs to be installed the the default preset location /Library/Audio/Presets. If this non-binary preset package is the only one in a .pkg choice notarization fails with: logFormatVersion: 1, jobId: *, status: Invalid, statusSummary: Archive contains critical validation errors, statusCode: 4000, archiveFilename: mypackage.pkg.zip, uploadDate: 2024-08-22T21:24:03.251Z, sha256: *, ticketContents: null, issues: [ { severity: error, code: null, path: mypackage.pkg.zip, message: Package mypackage.pkg.zip has no signed executables or bundles. No tickets can be generated., docUrl: null, architecture: null }, { severity: warning, code: null, path: mypackage.pkg.zip/mypackage.pkg, message: bInvalid component package: mypackage_vstpreset Distribution file's value: #com.mycompany.mypackage.vstpreset.pkgn, docUrl: null, architecture: null } ] } Not sure, but m
3
0
753
Aug ’24
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
674
Aug ’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
0
0
417
Nov ’22
Notarizing a package/pkg with multiple libraries and bundles
We have a set of questions about Notarization. We create plug-ins for various 3rd party software. Our plug-ins operate under the 3rd party software. So for example Photoshop (our is not a typical Mac App store app - we make these also so we know how Mac App store code-signing etc works).Our infrasturcture is something like plug-ins for each version of Photoshop we support (which gets installed in the Photoshop plug-ins folder). Then component libraries that are installed in Library/Application Support/OurProduct folder and the Applications folder (we also create a folder in the Applications folder and stick in various other parts and libraries, readme, userguide etc). So its basically a set of libraries really thats all over.Then we take all of those components and we package (using Package Maker under 10.11.6) it and create flat package installers (which contain installer plug-ins at the end) which we deliver to our end user. The final installer are signed using th Apple 3rd party
15
0
6.0k
Aug ’19
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
Sharing package between Xcode project and Swift Package
I'm trying to share a dependency between my the target of my Xcode project and a Swift Package (part of the same project) but I'm getting a duplicate symbols error with both dynamic and static targets. I have 3 targets: App - Cocoa Touch, Module A - Static Framework, Module B - Static Framework, and a Swift Package called shared (produces a static library). I'm trying to share Framework A between all the targets and the shared package. Is there any recommended approach for this? Also, I'm curious if dynamic or static frameworks are recommended in general.
0
0
533
Jul ’20