Search results for

“missing package product”

52,924 results found

Post

Replies

Boosts

Views

Activity

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 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
Swift package with resources for iOS and tvOS
I'm in the process of converting my local frameworks to local Swift packages. Things are (mostly) working well but I'm struggling with one of the packages: Package MyKit is used by an iOS and a tvOS app. It includes a storyboard for each platform. What is the most appropriate way to describe this in Package.swift? Xcode complains about iOS storyboards not being supported on tvOS so I moved them to their own targets, like this: let package = Package( name: MyKit, defaultLocalization: en, platforms: [ .tvOS(.v13) ], products: [ // Products define the executables and libraries a package produces, and make them visible to other packages. .library( name: MyKit, targets: [MyKit]), ], dependencies: [ // Dependencies declare other packages that this package depends on. // .package(url: /* package url */, from: 1.0.0), ], targets: [ // Targets are the basic building blocks of a package. A targe
2
0
1.7k
Nov ’20
Reply to Swift Package can be MAKE_MERGEABLE?
I add local packages via Add Files to project and then add package product in General tab, Frameworks, Libraries section. this way I can add -Wl,-make_mergeable to unsafe flags. Package compilation itself works fine, but main app target fails ld: -make_mergeable can only be used when creating a dynamic library. filed feedback to apple about it https://feedbackassistant.apple.com/feedback/13547751.
Feb ’24
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 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
Notarizing a package
Hello,I successfully codesigned app bundle and it was accepted by notary service. Then I created a package using pkgbuild/productbuild commands 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 just one 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).However, when the application is installed, both codesign and spctl return OK status. I use XCode 10.1 on macos 10.14.2.Any suggestions how to satisfy notary service?
7
0
9.3k
Feb ’19
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 SwiftUI Previews in Xcode 14 failed to run with SettingsError: noExecutablePath(IDESwiftPackageStaticLibraryProductBuildable)
Removing type: parameter in package products helped me fix SwiftUI previews: .library( name: MyLib, // type: .static, targets: [MyLib] )
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jul ’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 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
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
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 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 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
Swift package with resources for iOS and tvOS
I'm in the process of converting my local frameworks to local Swift packages. Things are (mostly) working well but I'm struggling with one of the packages: Package MyKit is used by an iOS and a tvOS app. It includes a storyboard for each platform. What is the most appropriate way to describe this in Package.swift? Xcode complains about iOS storyboards not being supported on tvOS so I moved them to their own targets, like this: let package = Package( name: MyKit, defaultLocalization: en, platforms: [ .tvOS(.v13) ], products: [ // Products define the executables and libraries a package produces, and make them visible to other packages. .library( name: MyKit, targets: [MyKit]), ], dependencies: [ // Dependencies declare other packages that this package depends on. // .package(url: /* package url */, from: 1.0.0), ], targets: [ // Targets are the basic building blocks of a package. A targe
Replies
2
Boosts
0
Views
1.7k
Activity
Nov ’20
Reply to Swift Package can be MAKE_MERGEABLE?
I add local packages via Add Files to project and then add package product in General tab, Frameworks, Libraries section. this way I can add -Wl,-make_mergeable to unsafe flags. Package compilation itself works fine, but main app target fails ld: -make_mergeable can only be used when creating a dynamic library. filed feedback to apple about it https://feedbackassistant.apple.com/feedback/13547751.
Replies
Boosts
Views
Activity
Feb ’24
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 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
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
Notarizing a package
Hello,I successfully codesigned app bundle and it was accepted by notary service. Then I created a package using pkgbuild/productbuild commands 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 just one 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).However, when the application is installed, both codesign and spctl return OK status. I use XCode 10.1 on macos 10.14.2.Any suggestions how to satisfy notary service?
Replies
7
Boosts
0
Views
9.3k
Activity
Feb ’19