Search results for

“missing package product”

52,926 results found

Post

Replies

Boosts

Views

Activity

Reply to Impossible to notarize my .pkg ? Product sign: error: Could not find appropriate signing identity for "Developer ID Installer: **** (******)"
Yes, with your command I find my certificate in valid identities but I can't, already, signed my package (the .pkg's file) with this certificate. How I can do this ? I used this command : productsign --sign Developer ID Installer: Name_of_developer_ID (Number_of_DeveloperID) name_uncertfied.pkg name_certified.pkg and I have this answer : Product sign: error: Could not find appropriate signing identity for Developer ID Installer: (**) Thanks for your help.
May ’21
Swift Package and SwiftUI Previews: are PreviewProviders automatically removed when the package is compiled?
When using SwiftUI Previews in a Swift Packages, are PreviewProviders automatically removed from the package when archiving an app, as it is the case with a app, or not? If not, how to deal with that? I’m not sure we can use compiler directives like if DEBUG in packages, can we?
0
0
944
Feb ’23
Reply to Large files in PKGs woes
Ok I figured it out. I still haven't checked the AppStore process but at least all checks pass now It's MUCH more complex than product build, but product build itself is buggy. So. Prepare your .app with HUUUGE file (> 8Gb). Sign it correctly, do everything as usual! pkgbuild --identifier --large-payload --compression latest --min-os-version 12.4 --root .pkg Make the following 'Distribution' file MY com.XXX.pkg productbuild --sign Signer --distribution ./Distribution --package-path ~ Final.pkg Something like that Your package definitely will be 1) compressed fine 2) smaller 3) with super large file Feed the stuff to the Transporter. Don't forget to adjust Distribution with correct version, id's etc. Have fun! I certainly had it
Jun ’23
Reply to Crash with Progress type, Swift 6, iOS 18
I've got the same basic project that I extracted to try to get a reproducer. I also setup unit tests with both Swift Testing and XCTest (we mostly see this issue in our test environment). Unfortunately, I have not been able to reproduce it outside of our codebase. Our code is in a Swift Package, so one thing that I haven't tried is breaking out this reproducible code into a package and making that package a dependency of an app. There is no practical difference I can identify between the code we have tried to reproduce the crash and our production code.
Topic: Programming Languages SubTopic: Swift Tags:
Oct ’24
Reply to xcode "Products" folder missing in project navigator
@JetForMe I faced same issue today on Xcode 13.1, checking raw project file format and there is Products group and entires exists. However, the project file is missing Frameworks group, and after I added dummy Framework linking in that product target to create Frameworks group, then Products reappears again. (After restore it, I can remove dummy Framework linking and that dummy Framework reference in Frameworks group without losing Products group in Project tree.) I don't know if you can fix your project file in same way, but just I want to share this very weird Xcode behaviors.
Nov ’21
Integrate Sticker Pack With Standard Product
May it be accomplished that an iMessage App may be packaged/integrated with a company's standard product in the Apple Store, such that on Product Version (X.Y.Z)+, the stickers are automatically installed with the mainstream offering?If the answer to the previous question is yes, would the combined package be subjected to new rules about the maximum bundle size?
3
0
800
Oct ’16
Reply to How do you archive a dylib in Xcode?
You archive a dynamic library using the standard process, so Product > Archive, but you’re correct that you can’t distribute a dynamic library from Xcode. Most of the time that doesn’t matter because you don’t need to sign and notarise a dynamic library. Rather, someone who uses your dynamic library in their product is expected to sign and notarise it as part of their distribution processing. In some cases it is necessary to do this, for example, when you’re creating a plug-in for some other app. In such situations you must manually sign, package, and notarise your product. For advice on how to do that, see: Creating Distribution-Signed Code for Mac Packaging Mac Software for Distribution Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Dec ’23
Reply to SKStoreProductViewController
Thanks for the reply Rich.To make sure this works on production, we uploaded the production AppStore signed build to testflight this morning and we are still seeing this error.Are AppStore signed builds on test flight considered *real* production AppStore builds? Is there something that we might be missing?Thanks
Topic: App & System Services SubTopic: StoreKit Tags:
May ’16
SMAppService.daemon initial pkg install
What I did. Started with the example at https://developer.apple.com/documentation/servicemanagement/updating-your-app-package-installer-to-use-the-new-service-management-api Changed it to configure a system daemon instead let service = SMAppService.daemon(plistName: com.xpc.example.daemon.plist) Disabled automatic register in the package postinstall script (or else pkg install fails) Built/Installed the package, it just places files in the disk Validated install files Ran the test|register commands by hand sudo ../SMAppServiceSampleCode.app/Contents/MacOS/SMAppServiceSampleCode register Dealt with System Settings user interaction to do this Validated that com.xpc.example.daemon is installed and ready to work sudo launchctl list | grep example sudo launchctl print system/com.xpc.example.daemon Got it to successfully do some work, YAY sudo ../SMAppServiceSampleCode.app/Contents/MacOS/SMAppServiceSampleCode test Expectations My users would obviously download and install this pkg
0
0
740
Aug ’24
How to use a local .xcFramework as a Resource of a Swift Package
I asked this question here incorrectly: https://developer.apple.com/forums/thread/651187?page=1#615966022 What I am actually trying to do is use a local .xcFramework as a Resource inside of a Swift Package without having to distribute it with the package..? Am I supposed to create a binaryTarget as a dependency instead of it being a resource? Im getting the error: No such module 'SampleFramework' Example: Say that my SampleFramework has a dependency on sample.xcFramework, how can I add it as a resource to use it in sample.swift Source // Sample.swift // MARK: Import the local xcFramework inside of my package import SampleFramework struct Model { var something: SampleFramework.something } Package file // 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: SamplePackage, platforms: [ .iOS(.v13) ], products: [ // Products
3
0
10k
Jun ’20
Swift Packages..how do they work?
Hi there,I'm writing a swift 5.1 iphone application in xcode 11.2, and want to pull in some swift packages (notably SwiftPhoenixClient in particular). I add the package via the Project -> Swift Packages interface. The package/project is downloaded from github, its dependencies too. The little little package icon shows up in the file explorer, pleasingly.The problem: None of the classes from the packages are available in my application. Anything I try to import dies with a no such module error. Clearly, my deps are not available to me, despite being in the project explorer.Is there another step? I don't see xcode doing anything to compile either of the packages. Do I have to go in and somehow manually compile them? Notably, going to target->build phase area, i see Dependencies (0 items). Trying to add my dependencies here doesn't work (despite the dependency showing up in the list interface, though they are un-selectable). This is a vanilla i
1
0
431
Nov ’19
Reply to Impossible to notarize my .pkg ? Product sign: error: Could not find appropriate signing identity for "Developer ID Installer: **** (******)"
Yes, with your command I find my certificate in valid identities but I can't, already, signed my package (the .pkg's file) with this certificate. How I can do this ? I used this command : productsign --sign Developer ID Installer: Name_of_developer_ID (Number_of_DeveloperID) name_uncertfied.pkg name_certified.pkg and I have this answer : Product sign: error: Could not find appropriate signing identity for Developer ID Installer: (**) Thanks for your help.
Replies
Boosts
Views
Activity
May ’21
Swift Package and SwiftUI Previews: are PreviewProviders automatically removed when the package is compiled?
When using SwiftUI Previews in a Swift Packages, are PreviewProviders automatically removed from the package when archiving an app, as it is the case with a app, or not? If not, how to deal with that? I’m not sure we can use compiler directives like if DEBUG in packages, can we?
Replies
0
Boosts
0
Views
944
Activity
Feb ’23
Reply to gamed Application is not allowed to run in production
Sorry if I missed it - did you confirm to move from development/sandbox provisioning to release/production/store provisioning?
Topic: Code Signing SubTopic: General Tags:
Replies
Boosts
Views
Activity
Apr ’17
Reply to Large files in PKGs woes
Ok I figured it out. I still haven't checked the AppStore process but at least all checks pass now It's MUCH more complex than product build, but product build itself is buggy. So. Prepare your .app with HUUUGE file (> 8Gb). Sign it correctly, do everything as usual! pkgbuild --identifier --large-payload --compression latest --min-os-version 12.4 --root .pkg Make the following 'Distribution' file MY com.XXX.pkg productbuild --sign Signer --distribution ./Distribution --package-path ~ Final.pkg Something like that Your package definitely will be 1) compressed fine 2) smaller 3) with super large file Feed the stuff to the Transporter. Don't forget to adjust Distribution with correct version, id's etc. Have fun! I certainly had it
Replies
Boosts
Views
Activity
Jun ’23
Loading resources from SPM Package
Hi, I have a SPM Library where I add some resources. But I can't load them within the package because I got this error. Type 'Bundle' has no member 'module' Am I missing something ? I'm using Xcode 12. I add the ressource this way in the Package.swift file tt.target( tttname: MyPackage, tttresources: [.copy(Mocks)] tt),
Replies
5
Boosts
0
Views
8.4k
Activity
Jun ’20
Swift Package Manager - how to add package to an existing Xcode project
I decided to add a package to my existing Xcode project. Unfortunately there is a lot of information how to create a package and just a few lines how to use/add one. So if anyone knows how to add it, what to do and not to destroy my current project, please share your experience.
Replies
0
Boosts
0
Views
880
Activity
Nov ’18
Reply to Crash with Progress type, Swift 6, iOS 18
I've got the same basic project that I extracted to try to get a reproducer. I also setup unit tests with both Swift Testing and XCTest (we mostly see this issue in our test environment). Unfortunately, I have not been able to reproduce it outside of our codebase. Our code is in a Swift Package, so one thing that I haven't tried is breaking out this reproducible code into a package and making that package a dependency of an app. There is no practical difference I can identify between the code we have tried to reproduce the crash and our production code.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Oct ’24
Reply to xcode "Products" folder missing in project navigator
@JetForMe I faced same issue today on Xcode 13.1, checking raw project file format and there is Products group and entires exists. However, the project file is missing Frameworks group, and after I added dummy Framework linking in that product target to create Frameworks group, then Products reappears again. (After restore it, I can remove dummy Framework linking and that dummy Framework reference in Frameworks group without losing Products group in Project tree.) I don't know if you can fix your project file in same way, but just I want to share this very weird Xcode behaviors.
Replies
Boosts
Views
Activity
Nov ’21
Reply to ios14 "Notifications are not allowed" ERR
Apple sometimes is really strange... I tried to find a solution 2 or 3 days, and missed out this thread. Product name is the answer. Use english in product name, problem will solved. Thanks to chungchung1315.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Sep ’20
Integrate Sticker Pack With Standard Product
May it be accomplished that an iMessage App may be packaged/integrated with a company's standard product in the Apple Store, such that on Product Version (X.Y.Z)+, the stickers are automatically installed with the mainstream offering?If the answer to the previous question is yes, would the combined package be subjected to new rules about the maximum bundle size?
Replies
3
Boosts
0
Views
800
Activity
Oct ’16
Reply to How do you archive a dylib in Xcode?
You archive a dynamic library using the standard process, so Product > Archive, but you’re correct that you can’t distribute a dynamic library from Xcode. Most of the time that doesn’t matter because you don’t need to sign and notarise a dynamic library. Rather, someone who uses your dynamic library in their product is expected to sign and notarise it as part of their distribution processing. In some cases it is necessary to do this, for example, when you’re creating a plug-in for some other app. In such situations you must manually sign, package, and notarise your product. For advice on how to do that, see: Creating Distribution-Signed Code for Mac Packaging Mac Software for Distribution Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Replies
Boosts
Views
Activity
Dec ’23
Reply to SKStoreProductViewController
Thanks for the reply Rich.To make sure this works on production, we uploaded the production AppStore signed build to testflight this morning and we are still seeing this error.Are AppStore signed builds on test flight considered *real* production AppStore builds? Is there something that we might be missing?Thanks
Topic: App & System Services SubTopic: StoreKit Tags:
Replies
Boosts
Views
Activity
May ’16
SMAppService.daemon initial pkg install
What I did. Started with the example at https://developer.apple.com/documentation/servicemanagement/updating-your-app-package-installer-to-use-the-new-service-management-api Changed it to configure a system daemon instead let service = SMAppService.daemon(plistName: com.xpc.example.daemon.plist) Disabled automatic register in the package postinstall script (or else pkg install fails) Built/Installed the package, it just places files in the disk Validated install files Ran the test|register commands by hand sudo ../SMAppServiceSampleCode.app/Contents/MacOS/SMAppServiceSampleCode register Dealt with System Settings user interaction to do this Validated that com.xpc.example.daemon is installed and ready to work sudo launchctl list | grep example sudo launchctl print system/com.xpc.example.daemon Got it to successfully do some work, YAY sudo ../SMAppServiceSampleCode.app/Contents/MacOS/SMAppServiceSampleCode test Expectations My users would obviously download and install this pkg
Replies
0
Boosts
0
Views
740
Activity
Aug ’24
How to use a local .xcFramework as a Resource of a Swift Package
I asked this question here incorrectly: https://developer.apple.com/forums/thread/651187?page=1#615966022 What I am actually trying to do is use a local .xcFramework as a Resource inside of a Swift Package without having to distribute it with the package..? Am I supposed to create a binaryTarget as a dependency instead of it being a resource? Im getting the error: No such module 'SampleFramework' Example: Say that my SampleFramework has a dependency on sample.xcFramework, how can I add it as a resource to use it in sample.swift Source // Sample.swift // MARK: Import the local xcFramework inside of my package import SampleFramework struct Model { var something: SampleFramework.something } Package file // 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: SamplePackage, platforms: [ .iOS(.v13) ], products: [ // Products
Replies
3
Boosts
0
Views
10k
Activity
Jun ’20
Swift Packages..how do they work?
Hi there,I'm writing a swift 5.1 iphone application in xcode 11.2, and want to pull in some swift packages (notably SwiftPhoenixClient in particular). I add the package via the Project -> Swift Packages interface. The package/project is downloaded from github, its dependencies too. The little little package icon shows up in the file explorer, pleasingly.The problem: None of the classes from the packages are available in my application. Anything I try to import dies with a no such module error. Clearly, my deps are not available to me, despite being in the project explorer.Is there another step? I don't see xcode doing anything to compile either of the packages. Do I have to go in and somehow manually compile them? Notably, going to target->build phase area, i see Dependencies (0 items). Trying to add my dependencies here doesn't work (despite the dependency showing up in the list interface, though they are un-selectable). This is a vanilla i
Replies
1
Boosts
0
Views
431
Activity
Nov ’19