Search results for

“missing package product”

52,933 results found

Post

Replies

Boosts

Views

Activity

Pkg Installer Expired Certificate
Hello We have a pkg installer whose signing certificate is expiring next month. It has a trusted timestamp on it. As per https://developer.apple.com/support/certificates/ it states Developer ID Installer Certificate (Mac applications) If your certificate expires, users can still install packages that were signed with this certificate as long as the package includes a trusted timestamp. Previously installed apps will continue to run. However, new installations won’t be possible until you have re-signed your installer package with a valid Developer ID Installer certificate. If your certificate is revoked, users will no longer be able to install applications that have been signed with this certificate. Wanted to check on behavior for new installations post expiration date. Since the installer has a trusted timestamp we would not need to release a new installer with new cert ?? Any guidance here would be much appreciated.
2
0
313
Mar ’26
$99 developer package
All I want to do is re-write programs that I wrote in Realbasic years ago, so that I can get them to 64 bit code. I do not want to sell anything that I write on the App Store. They are for my personal use only. Can I do this with the $99 developer package? Or should I just go with Xojo? Thank You Dennis Edwards (edwardsx@mac.com)
2
0
455
Sep ’19
Notarizing and Stapling a PKG File
Hi,I couldn't find a clear answer on this:The official links of notarizing you MacOS app, found below, only discuss notarizing and stapling an APP file, not a PKG file:https://developer.apple.com/documentation/xcode/notarizing_your_app_before_distributionhttps://developer.apple.com/documentation/xcode/notarizing_your_app_before_distribution/customizing_the_notarization_workflowHow do I this for the PKG installation file?Thanks,Yaron
1
0
1.1k
Nov ’19
XCode Not Resolving Swift Package Dependencies
Need help understanding if this is an XCode issue or user error. I created a XCFramework to distribute as a Swift Package. Manifest file ex: // The swift-tools-version declares the minimum version of Swift required to build this package. import PackageDescription let package = Package( ttname: MyFramework, ttplatforms: [ ttt.iOS(.v9) tt], ttproducts: [ tttt// Products define the executables and libraries a package produces, and make them visible to other packages. tttt.library( ttttttname: MyFramework, tttttttargets: [MyFramework]) tt], ttdependencies: [ tttt.package(name: Alamofire, url: https://github.com/Alamofire/Alamofire, .upToNextMajor(from: 4.8.2)), tttt... tttt], tttargets: [ tttt.binaryTarget( ttttttname: MyFramework, ttttttpath: ./Sources/MyFramework.xcframework) tt] ) When I import my Swift package in to a new XCode project, the modules in the dependencies are not found. Only when I manually import each dependency as a Swift Package
2
0
5.5k
Feb ’21
Creating Swift Package with binaryTarget that has dependencies
How can you distribute an XCFramework via Swift Package Manager when it has dependencies on other Swift packages? We accomplished this with CocoaPods in order to distribute our closed source SDK that has dependencies, but need to migrate to SPM. Note none of the types from the dependencies are used as part of our module’s public interface - usage is purely internal. I’ve made a lot of progress following these steps for a simple example: Create Framework Project Create a new iOS Framework project in Xcode and name it WallpaperKit In the project settings select the target and verify in Build Settings that Build Libraries for Distribution is Yes then set Skip Install to No Create a new UIViewController subclass, name it WallpaperPreviewViewController, make it public, and add some functionality to it to show a UIImageView Add a new Package Dependency in the project settings, for this example we’ll use https://github.com/onevcat/Kingfisher, and specify exact version 8.5.0 Add internal im
4
0
632
Sep ’25
'Bad Package' response
I've tried submitting a Safari extension multiple times to the Safari Extensions Gallery. I've received a 'Bad Package' email from safari-extensions@apple.com twice now.The extension was built on the latest version of OSX 10.10 and the latest version of Safari each time, and was built on a different MacBook Pro for the second submission to check that this was not where the problem was. Is there anything that I could be doing wrong other than not building the package on the latest version of Safari?This is the response I keep getting back from Apple:Thank you for submitting your extension Copyright Hub Safari Extension to be considered for a listing on the Safari Extensions Gallery. During our review, we found that the extension was built with an older versions of Safari.Your extension can be built using any version of Safari on Mac OS X 10.10.Please rebuild your extension with the latest version of Safari, then resubmit your extension so that it can be reviewed and considered for a listing o
1
0
479
Aug ’15
Reply to Invalid 'minimum platform version' error persists in XCode 13.4 UI only
Oy! Just as I was giving up, I solved it. In case it helps others... The problem was an intermediate library targeting iOS 13. The XCode error was confusing. Scenario: MyCoreLib swift package targeted iOS 14 MyUILib swift package targeted iOS 13 (and used MyCoreLib) MyApp targeted iOS 14, and used both MyCoreLib and MyUILib When building MyApp, the error said: The package product 'MyCoreLib' requires minimum platform version 14.0 for the iOS platform, but this target supports 13.0 I could not find iOS-13 referenced anywhere in MyApp or MyCoreLib. So I guess I should make a feedback assistant feature request to clarify that error message. It should indicate the target triplet/SDK and how it was derived. (In this case it took the minimum of the imported packages).
Oct ’22
Both app and pkg are notarized; app opens fine but pkg encounters javascript error
I have an app built using python with pyinstaller. I was able to successfully get the app notarized and open it on my computer as well as a different one (OS 11.6.1). I can also get the pkg successfully notarized, but when I attempt to launch it on my own computer (or a different one), an error box immediately appears stating There was an error reading the package along with JavaScriptError. I looked at the log file corresponding to the notarization, and I saw no error messages or warnings. Neither java nor javascript appear anywhere. This was not a problem for me a couple weeks ago when using a slightly different version of my program. Is there a different log file of some type, associated with javascript, that might shed light on the problem? Update: I did just try to check whether package passed the gatekeeper test by typing spctl -a '/Users/..../application.pkg' at the terminal, which returned rejected
9
0
2.2k
May ’22
Swift Package not able to add into the project
Hi There, I have a strange problem: the Swift package cannot be added to my iOS project. The problem might be due to the project settings, but despite trying for a long time, I still haven't been able to figure it out. My project is a React Native project and uses CocoaPods. When I drop the Swift package into my React Native project, the package becomes a folder. When I drop the Swift package into other iOS projects, it works without any problems. If I try to use Package Dependencies to add the Swift package, it gets stuck on Preparing to validate... My project seems unable to add any Swift packages; it cannot add other Swift packages either. The Swift package is local. However, it works fine in other projects, even in newly created React Native projects. The problem might be with my project itself, but I have no idea where to check now. please guide me with any advice, I will appreciate it!
0
0
651
May ’24
Improving performance of Swift package
I have started to make a Swift package to better organize my project, but I have noticed that when I try to use code from my package, some code will run much slower than when I use the same code in the project. How could this be solved? I have tried using @inlinable for functions, and it works for most functions, but some functions still fail to meet the performance standards that I see when I use the code in my project.
0
0
371
Sep ’24
Distributing Binary via Cocoapods & Swift Packages
I maintain a library that has thus far used Cocoapods to manage dependencies and also distribute an xcframework of the library. I'd now like to also distribute the same library through Swift Packages but am running into issues. I'm using the same xcframework in a local Swift Package and have added all the necessary dependencies to Package.swift, but when I attempt to add this Swift Package to a test app, the app will build correctly but fail at runtime due to a missing .framework file for a dependency I'll just call THE_DEPENDENCY: dyld[61483]: Library not loaded: @rpath/THE_DEPENDENCY.framework/THE_DEPENDENCY Referenced from: <75074516-C1CD-3251-8807-94A7502176A7> /Users/ME/Library/Developer/Xcode/DerivedData/MY_TEST_APP-bwfsfwjjnagdurdnjrhhdppgitvr/Build/Products/Debug-appletvsimulator/MY_LIBRARY.framework/MY_LIBRARY Reason: tried: '/Users/ME/Library/Developer/Xcode/DerivedData/MY_TEST_APP-bwfsfwjjnagdurdnjrhhdppgitvr/Build/Products/Debug-appletvsi
0
0
521
Jun ’24
Determining development/production environment for DeviceCheck
Is there a recommended way to determine whether to use the development or the production server API endpoint for DeviceCheck? For App Attest, the authenticator data includes either appattest or appattestdevelop in a field of the cbor data. For IAPs, we're supposed to try the production endpoint and then retry with the development endpoint if we get a particular HTTP status code. But the docs for DeviceCheck say only to use the development endpoint in development and the production endpoint in production. What are others doing? Is there any clue in the docs that I have missed?
1
0
1.3k
Mar ’22
Reply to Detect if Bundle.module is available
In the Package.swift in target declare: let package = Package( name: Library, defaultLocalization: en, platforms: [ .iOS(.v11) ], products: [ .library( name: Library, targets: [Library] ), ], dependencies: [], targets: [ .target( name: Library, dependencies: [], path: Sources, swiftSettings: [ .define(SPM) ] ), ] ) the important part is the definition of SPM, then we create the following extension #if !SPM extension Bundle { static var module:Bundle { Bundle(identifier: com.library.example)! } } #endif this way we always have Bundle.module available
Topic: Programming Languages SubTopic: Swift Tags:
Feb ’21
Pkg Installer Expired Certificate
Hello We have a pkg installer whose signing certificate is expiring next month. It has a trusted timestamp on it. As per https://developer.apple.com/support/certificates/ it states Developer ID Installer Certificate (Mac applications) If your certificate expires, users can still install packages that were signed with this certificate as long as the package includes a trusted timestamp. Previously installed apps will continue to run. However, new installations won’t be possible until you have re-signed your installer package with a valid Developer ID Installer certificate. If your certificate is revoked, users will no longer be able to install applications that have been signed with this certificate. Wanted to check on behavior for new installations post expiration date. Since the installer has a trusted timestamp we would not need to release a new installer with new cert ?? Any guidance here would be much appreciated.
Replies
2
Boosts
0
Views
313
Activity
Mar ’26
Reply to Apple Push notifications are not working sometimes
I'm with a similar issue and would like to ask if APN has some anti-spam method...Because my initial tests was all being delivered.After I spam a few notification now Im not reciving all of them.Is it some anti-spam or just package lost?thank you.
Replies
Boosts
Views
Activity
Aug ’16
$99 developer package
All I want to do is re-write programs that I wrote in Realbasic years ago, so that I can get them to 64 bit code. I do not want to sell anything that I write on the App Store. They are for my personal use only. Can I do this with the $99 developer package? Or should I just go with Xojo? Thank You Dennis Edwards (edwardsx@mac.com)
Replies
2
Boosts
0
Views
455
Activity
Sep ’19
Notarizing and Stapling a PKG File
Hi,I couldn't find a clear answer on this:The official links of notarizing you MacOS app, found below, only discuss notarizing and stapling an APP file, not a PKG file:https://developer.apple.com/documentation/xcode/notarizing_your_app_before_distributionhttps://developer.apple.com/documentation/xcode/notarizing_your_app_before_distribution/customizing_the_notarization_workflowHow do I this for the PKG installation file?Thanks,Yaron
Replies
1
Boosts
0
Views
1.1k
Activity
Nov ’19
XCode Not Resolving Swift Package Dependencies
Need help understanding if this is an XCode issue or user error. I created a XCFramework to distribute as a Swift Package. Manifest file ex: // The swift-tools-version declares the minimum version of Swift required to build this package. import PackageDescription let package = Package( ttname: MyFramework, ttplatforms: [ ttt.iOS(.v9) tt], ttproducts: [ tttt// Products define the executables and libraries a package produces, and make them visible to other packages. tttt.library( ttttttname: MyFramework, tttttttargets: [MyFramework]) tt], ttdependencies: [ tttt.package(name: Alamofire, url: https://github.com/Alamofire/Alamofire, .upToNextMajor(from: 4.8.2)), tttt... tttt], tttargets: [ tttt.binaryTarget( ttttttname: MyFramework, ttttttpath: ./Sources/MyFramework.xcframework) tt] ) When I import my Swift package in to a new XCode project, the modules in the dependencies are not found. Only when I manually import each dependency as a Swift Package
Replies
2
Boosts
0
Views
5.5k
Activity
Feb ’21
Creating Swift Package with binaryTarget that has dependencies
How can you distribute an XCFramework via Swift Package Manager when it has dependencies on other Swift packages? We accomplished this with CocoaPods in order to distribute our closed source SDK that has dependencies, but need to migrate to SPM. Note none of the types from the dependencies are used as part of our module’s public interface - usage is purely internal. I’ve made a lot of progress following these steps for a simple example: Create Framework Project Create a new iOS Framework project in Xcode and name it WallpaperKit In the project settings select the target and verify in Build Settings that Build Libraries for Distribution is Yes then set Skip Install to No Create a new UIViewController subclass, name it WallpaperPreviewViewController, make it public, and add some functionality to it to show a UIImageView Add a new Package Dependency in the project settings, for this example we’ll use https://github.com/onevcat/Kingfisher, and specify exact version 8.5.0 Add internal im
Replies
4
Boosts
0
Views
632
Activity
Sep ’25
'Bad Package' response
I've tried submitting a Safari extension multiple times to the Safari Extensions Gallery. I've received a 'Bad Package' email from safari-extensions@apple.com twice now.The extension was built on the latest version of OSX 10.10 and the latest version of Safari each time, and was built on a different MacBook Pro for the second submission to check that this was not where the problem was. Is there anything that I could be doing wrong other than not building the package on the latest version of Safari?This is the response I keep getting back from Apple:Thank you for submitting your extension Copyright Hub Safari Extension to be considered for a listing on the Safari Extensions Gallery. During our review, we found that the extension was built with an older versions of Safari.Your extension can be built using any version of Safari on Mac OS X 10.10.Please rebuild your extension with the latest version of Safari, then resubmit your extension so that it can be reviewed and considered for a listing o
Replies
1
Boosts
0
Views
479
Activity
Aug ’15
Reply to Invalid 'minimum platform version' error persists in XCode 13.4 UI only
Oy! Just as I was giving up, I solved it. In case it helps others... The problem was an intermediate library targeting iOS 13. The XCode error was confusing. Scenario: MyCoreLib swift package targeted iOS 14 MyUILib swift package targeted iOS 13 (and used MyCoreLib) MyApp targeted iOS 14, and used both MyCoreLib and MyUILib When building MyApp, the error said: The package product 'MyCoreLib' requires minimum platform version 14.0 for the iOS platform, but this target supports 13.0 I could not find iOS-13 referenced anywhere in MyApp or MyCoreLib. So I guess I should make a feedback assistant feature request to clarify that error message. It should indicate the target triplet/SDK and how it was derived. (In this case it took the minimum of the imported packages).
Replies
Boosts
Views
Activity
Oct ’22
Both app and pkg are notarized; app opens fine but pkg encounters javascript error
I have an app built using python with pyinstaller. I was able to successfully get the app notarized and open it on my computer as well as a different one (OS 11.6.1). I can also get the pkg successfully notarized, but when I attempt to launch it on my own computer (or a different one), an error box immediately appears stating There was an error reading the package along with JavaScriptError. I looked at the log file corresponding to the notarization, and I saw no error messages or warnings. Neither java nor javascript appear anywhere. This was not a problem for me a couple weeks ago when using a slightly different version of my program. Is there a different log file of some type, associated with javascript, that might shed light on the problem? Update: I did just try to check whether package passed the gatekeeper test by typing spctl -a '/Users/..../application.pkg' at the terminal, which returned rejected
Replies
9
Boosts
0
Views
2.2k
Activity
May ’22
Swift Package not able to add into the project
Hi There, I have a strange problem: the Swift package cannot be added to my iOS project. The problem might be due to the project settings, but despite trying for a long time, I still haven't been able to figure it out. My project is a React Native project and uses CocoaPods. When I drop the Swift package into my React Native project, the package becomes a folder. When I drop the Swift package into other iOS projects, it works without any problems. If I try to use Package Dependencies to add the Swift package, it gets stuck on Preparing to validate... My project seems unable to add any Swift packages; it cannot add other Swift packages either. The Swift package is local. However, it works fine in other projects, even in newly created React Native projects. The problem might be with my project itself, but I have no idea where to check now. please guide me with any advice, I will appreciate it!
Replies
0
Boosts
0
Views
651
Activity
May ’24
Improving performance of Swift package
I have started to make a Swift package to better organize my project, but I have noticed that when I try to use code from my package, some code will run much slower than when I use the same code in the project. How could this be solved? I have tried using @inlinable for functions, and it works for most functions, but some functions still fail to meet the performance standards that I see when I use the code in my project.
Replies
0
Boosts
0
Views
371
Activity
Sep ’24
Cannot Preview SwiftUI - dependent package
I have a normal UIKit project with a package dependency containing some SwiftUI. Opening the package on its own, I can preview the SwiftUI. However, when I have the package as a dependency, I get the dreaded message saying Active scheme does not build this file regardless of choosing the app or package scheme. Why can't I get a preview? Using Xcode 16
Replies
0
Boosts
0
Views
426
Activity
Sep ’24
Distributing Binary via Cocoapods & Swift Packages
I maintain a library that has thus far used Cocoapods to manage dependencies and also distribute an xcframework of the library. I'd now like to also distribute the same library through Swift Packages but am running into issues. I'm using the same xcframework in a local Swift Package and have added all the necessary dependencies to Package.swift, but when I attempt to add this Swift Package to a test app, the app will build correctly but fail at runtime due to a missing .framework file for a dependency I'll just call THE_DEPENDENCY: dyld[61483]: Library not loaded: @rpath/THE_DEPENDENCY.framework/THE_DEPENDENCY Referenced from: <75074516-C1CD-3251-8807-94A7502176A7> /Users/ME/Library/Developer/Xcode/DerivedData/MY_TEST_APP-bwfsfwjjnagdurdnjrhhdppgitvr/Build/Products/Debug-appletvsimulator/MY_LIBRARY.framework/MY_LIBRARY Reason: tried: '/Users/ME/Library/Developer/Xcode/DerivedData/MY_TEST_APP-bwfsfwjjnagdurdnjrhhdppgitvr/Build/Products/Debug-appletvsi
Replies
0
Boosts
0
Views
521
Activity
Jun ’24
Determining development/production environment for DeviceCheck
Is there a recommended way to determine whether to use the development or the production server API endpoint for DeviceCheck? For App Attest, the authenticator data includes either appattest or appattestdevelop in a field of the cbor data. For IAPs, we're supposed to try the production endpoint and then retry with the development endpoint if we get a particular HTTP status code. But the docs for DeviceCheck say only to use the development endpoint in development and the production endpoint in production. What are others doing? Is there any clue in the docs that I have missed?
Replies
1
Boosts
0
Views
1.3k
Activity
Mar ’22
Reply to Detect if Bundle.module is available
In the Package.swift in target declare: let package = Package( name: Library, defaultLocalization: en, platforms: [ .iOS(.v11) ], products: [ .library( name: Library, targets: [Library] ), ], dependencies: [], targets: [ .target( name: Library, dependencies: [], path: Sources, swiftSettings: [ .define(SPM) ] ), ] ) the important part is the definition of SPM, then we create the following extension #if !SPM extension Bundle { static var module:Bundle { Bundle(identifier: com.library.example)! } } #endif this way we always have Bundle.module available
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Feb ’21