Search results for

“missing package product”

52,926 results found

Post

Replies

Boosts

Views

Activity

Reply to Packages only seem to work for the first platform?
I'm working with a number of multi-platform apps that have local packages, and sometimes have your problem because I'd forgotten key steps. For each Target (platform), build the Library (package) before building the main product of that target (e.g. MacOS). You will probably have to rebuild the Library (package) after any Clean Build Folder. For each target, at the General tab of the Target explorer, make sure you've included the library (package output) in the Frameworks, Libraries and Embedded Content. Each target needs to have the Library specified, not just once at the project level. I've had problems with local packages when I've included the source(s) in my app's project, rather than having the package in a separate directory and included in the app project. Best wishes and regards, Michaela
Mar ’22
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
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
Updating package version in Xcode Package Manager causes corrupt Package.resolve file
After updating a package version, Xcode modified the Package.resolve file by removing the object: { at the top of the file, then renames the identities of all of the packages to something different and updated the file version. I've deleted the Package.resolve file, went thru File > Packages and tried the 'Rest Package cache' and 'Resolve Package Version' but neither corrected the file format. I'm running Xcode 13.3.1. Has anyone else run into this issue?
0
0
1.2k
Apr ’22
Reply to macOS sign app
For more up-to-date advice on how to sign and package Mac products, for both the Mac App Store and independent distribution using Developer ID, 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
Topic: App & System Services SubTopic: Core OS Tags:
Apr ’22
Xcode 12.2 beta: Cannot add package dependency
I am unable to add package dependency. Everything seems to load and resolve fine, but when I get to the bit where you are asked to Choose package products and targets The Package product is selected, but the Finish button is disabled.... Im on a DTK system and the project is a new project using the App lifecycle. Ive also tried other adding other dependencies with no luck.
12
0
3.1k
Sep ’20
how to create xcframework from swift package which has binaryTarget
I am a new developer for iOS. I have a swift package with three modules (A, B, C). A is the product Module A is written in Swift, module B is in objective C, module C is binary target. B is A's dependency, C is B's dependency. How to create xcframework to release as SDK for this swift package? Thanks a lot. Here is the package.swift: let package = Package( name: A, platforms: [.iOS(.v14), .macOS(.v11)], products: [ .library( name: A, targets: [A] ) ], dependencies: [ // .package(url: /* package url */, from: 1.0.0), ], targets: [ .target( name: A, dependencies: [B] ), .target( name: B, dependencies: [C], publicHeadersPath: include ), .binaryTarget( name: c, url: url, checksum: checksum ), .testTarget( name: ATests, dependencies: [A] ) ], cxxLanguageStandard: .cxx11
0
0
586
Sep ’23
Reply to How to use Apple server to host IPA content
From TN2413 In-App Purchase FAQ > How do I create a hosted non-consumable product?There is a current bug that prevents Xcode 6 from uploading hosted content to iTunes Connect. To workaround this issue, use Application Loader to upload a package containing your hosted content. See below for steps on how to do so:In the Xcode Archives Organizer, select the archive containing your hosted content.Click Export.In the dialog that appears, choose Export as an Installer Package.Click Next to start generating your package, then select Export to save your package (a file with a .pkg filename extension).Use Application Loader to upload the above package. See Using Application Loader for more information about it.
Topic: App & System Services SubTopic: StoreKit Tags:
Feb ’17
key of name of package
Hi,I'am looking for the key (Xcode) of name of package because my external config file must have the same name (not name of app). I would like to have a dynamic link between name of package AND name of external config file.I tried : WRAPPER_NAME=@$WRAPPER_NAME into Preprocessor macros but WRAPPER_NAME gives me name of app, so if i change name of package, it fails because it does not find config file.Bye,
1
0
263
May ’20
Notarization Rejected for .pkg installer
HiI have a vst plugin installer package (build with Whitebox Packages v 1.2.6) to be notarized. I get Notarization is successful mail from Apple. And also I don't get any error message from any of the process. But when it comes Notarization check - It's been Rejected! I am following this procedure, am I missing something?Sign the vst plugins with codesignBuild the .pkg with Whitebox Packages. (I don't use build-in digital signing tool, I use productsign in command line)Signing the .pkgproductsign --sign Developer ID Installer: XXXXXXX /Volumes/Data/Installer v1.1.0.pkg /Volumes/Data/Signed/Installer v1.1.0.pkgNotarizationxcrun altool --notarize-app -f /Volumes/Data/Signed/Installer v1.1.0.pkg --primary-bundle-id com.xxxxinstaller.pkg --username xxxx --password xxxxAfter a couple of minutes, I get Notarization is successful mail from AppleTime Staple - The staple and validate action worked!xcrun stapler staple /Volumes/Data/Signed/Installer v1.1.0.
2
0
3.4k
Oct ’19
Reply to Confusions with what can be notarized and what must be notarized
Thank you for your inputs.What bothers us with notarization requirements is that there is no way to test it.You know, testing is fail first, understand the why, then fix.We did put our product on macOS 10.14.5 beta and public release, and we though we were be able to fail there, but we never experienced a failure to demonstrate that notarization helped us to fix it in order to have it run.Implementing notarization in our context represents some kind of work, as we currently build and package our bundles with a build agent.In order to prioritize the implementation of the notarization process in our automated build workflow, I have to explain the why to my product owner and my stakeholder.Currently the why is only because Apple told us to do it, not because we are able to reproduce the failure on macOS beta software by not doing it.If I follow you clearly on the user testing workflow you are suggesting, we will surely encounter a failure.But that won't be a testing failure in the Gate
Topic: Code Signing SubTopic: General Tags:
May ’19
Mac App Packaging
Can someone please explain why Mac app packaging is so farcically convoluted? Windows app packaging can be picked up in an hour or so. But I've spent longer trying to fathom how to package the Mac version than I did building the app. And it's not done with me yet. Every single line of code requires a deep dive into a new, unrelated skillset. So, it’s sidebar after sidebar. Kafka’s ‘The Trial’ comes to mind. Why does it have to be like this?
4
0
502
Nov ’25
Reply to xcode 7.3.1 ERROR ITMS - 90167 No. app bundles found in the package
This worked for me:1. Use XCode 7.3.1 (not the Xcode beta) to archive.2. Go to the archive file > Show Package Contents > Products > Applications > {AppName} > Show Package Contents > Info.plist3. Change `BuildMachineOSBuild` to 15G31 (or the most up-to-date prod build number of the macOS) and save it.4. Now export this archive for iOS App Store Deployment5. Forward the .ipa file to a co-worker who runs production version of the macOS.6. Use Application Loader to upload the .ipaLesson learnt: Do not update the macOS to beta version on your primary development machine.
Topic: App & System Services SubTopic: Core OS Tags:
Aug ’16
Reply to Packages only seem to work for the first platform?
I'm working with a number of multi-platform apps that have local packages, and sometimes have your problem because I'd forgotten key steps. For each Target (platform), build the Library (package) before building the main product of that target (e.g. MacOS). You will probably have to rebuild the Library (package) after any Clean Build Folder. For each target, at the General tab of the Target explorer, make sure you've included the library (package output) in the Frameworks, Libraries and Embedded Content. Each target needs to have the Library specified, not just once at the project level. I've had problems with local packages when I've included the source(s) in my app's project, rather than having the package in a separate directory and included in the app project. Best wishes and regards, Michaela
Replies
Boosts
Views
Activity
Mar ’22
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
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
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
Updating package version in Xcode Package Manager causes corrupt Package.resolve file
After updating a package version, Xcode modified the Package.resolve file by removing the object: { at the top of the file, then renames the identities of all of the packages to something different and updated the file version. I've deleted the Package.resolve file, went thru File > Packages and tried the 'Rest Package cache' and 'Resolve Package Version' but neither corrected the file format. I'm running Xcode 13.3.1. Has anyone else run into this issue?
Replies
0
Boosts
0
Views
1.2k
Activity
Apr ’22
Reply to CKShare works only outside App Store released Application
I think the problem is due to the container schema that's not deployed to the production environment. Strangely everything works except the sharing functionality. But now the question is: if I deploy to the production environment the users will lose their data?
Replies
Boosts
Views
Activity
Dec ’24
Reply to macOS sign app
For more up-to-date advice on how to sign and package Mac products, for both the Mac App Store and independent distribution using Developer ID, 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
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Apr ’22
Xcode 12.2 beta: Cannot add package dependency
I am unable to add package dependency. Everything seems to load and resolve fine, but when I get to the bit where you are asked to Choose package products and targets The Package product is selected, but the Finish button is disabled.... Im on a DTK system and the project is a new project using the App lifecycle. Ive also tried other adding other dependencies with no luck.
Replies
12
Boosts
0
Views
3.1k
Activity
Sep ’20
how to create xcframework from swift package which has binaryTarget
I am a new developer for iOS. I have a swift package with three modules (A, B, C). A is the product Module A is written in Swift, module B is in objective C, module C is binary target. B is A's dependency, C is B's dependency. How to create xcframework to release as SDK for this swift package? Thanks a lot. Here is the package.swift: let package = Package( name: A, platforms: [.iOS(.v14), .macOS(.v11)], products: [ .library( name: A, targets: [A] ) ], dependencies: [ // .package(url: /* package url */, from: 1.0.0), ], targets: [ .target( name: A, dependencies: [B] ), .target( name: B, dependencies: [C], publicHeadersPath: include ), .binaryTarget( name: c, url: url, checksum: checksum ), .testTarget( name: ATests, dependencies: [A] ) ], cxxLanguageStandard: .cxx11
Replies
0
Boosts
0
Views
586
Activity
Sep ’23
Reply to How to use Apple server to host IPA content
From TN2413 In-App Purchase FAQ > How do I create a hosted non-consumable product?There is a current bug that prevents Xcode 6 from uploading hosted content to iTunes Connect. To workaround this issue, use Application Loader to upload a package containing your hosted content. See below for steps on how to do so:In the Xcode Archives Organizer, select the archive containing your hosted content.Click Export.In the dialog that appears, choose Export as an Installer Package.Click Next to start generating your package, then select Export to save your package (a file with a .pkg filename extension).Use Application Loader to upload the above package. See Using Application Loader for more information about it.
Topic: App & System Services SubTopic: StoreKit Tags:
Replies
Boosts
Views
Activity
Feb ’17
key of name of package
Hi,I'am looking for the key (Xcode) of name of package because my external config file must have the same name (not name of app). I would like to have a dynamic link between name of package AND name of external config file.I tried : WRAPPER_NAME=@$WRAPPER_NAME into Preprocessor macros but WRAPPER_NAME gives me name of app, so if i change name of package, it fails because it does not find config file.Bye,
Replies
1
Boosts
0
Views
263
Activity
May ’20
Notarization Rejected for .pkg installer
HiI have a vst plugin installer package (build with Whitebox Packages v 1.2.6) to be notarized. I get Notarization is successful mail from Apple. And also I don't get any error message from any of the process. But when it comes Notarization check - It's been Rejected! I am following this procedure, am I missing something?Sign the vst plugins with codesignBuild the .pkg with Whitebox Packages. (I don't use build-in digital signing tool, I use productsign in command line)Signing the .pkgproductsign --sign Developer ID Installer: XXXXXXX /Volumes/Data/Installer v1.1.0.pkg /Volumes/Data/Signed/Installer v1.1.0.pkgNotarizationxcrun altool --notarize-app -f /Volumes/Data/Signed/Installer v1.1.0.pkg --primary-bundle-id com.xxxxinstaller.pkg --username xxxx --password xxxxAfter a couple of minutes, I get Notarization is successful mail from AppleTime Staple - The staple and validate action worked!xcrun stapler staple /Volumes/Data/Signed/Installer v1.1.0.
Replies
2
Boosts
0
Views
3.4k
Activity
Oct ’19
Reply to Confusions with what can be notarized and what must be notarized
Thank you for your inputs.What bothers us with notarization requirements is that there is no way to test it.You know, testing is fail first, understand the why, then fix.We did put our product on macOS 10.14.5 beta and public release, and we though we were be able to fail there, but we never experienced a failure to demonstrate that notarization helped us to fix it in order to have it run.Implementing notarization in our context represents some kind of work, as we currently build and package our bundles with a build agent.In order to prioritize the implementation of the notarization process in our automated build workflow, I have to explain the why to my product owner and my stakeholder.Currently the why is only because Apple told us to do it, not because we are able to reproduce the failure on macOS beta software by not doing it.If I follow you clearly on the user testing workflow you are suggesting, we will surely encounter a failure.But that won't be a testing failure in the Gate
Topic: Code Signing SubTopic: General Tags:
Replies
Boosts
Views
Activity
May ’19
Mac App Packaging
Can someone please explain why Mac app packaging is so farcically convoluted? Windows app packaging can be picked up in an hour or so. But I've spent longer trying to fathom how to package the Mac version than I did building the app. And it's not done with me yet. Every single line of code requires a deep dive into a new, unrelated skillset. So, it’s sidebar after sidebar. Kafka’s ‘The Trial’ comes to mind. Why does it have to be like this?
Replies
4
Boosts
0
Views
502
Activity
Nov ’25
Reply to xcode 7.3.1 ERROR ITMS - 90167 No. app bundles found in the package
This worked for me:1. Use XCode 7.3.1 (not the Xcode beta) to archive.2. Go to the archive file > Show Package Contents > Products > Applications > {AppName} > Show Package Contents > Info.plist3. Change `BuildMachineOSBuild` to 15G31 (or the most up-to-date prod build number of the macOS) and save it.4. Now export this archive for iOS App Store Deployment5. Forward the .ipa file to a co-worker who runs production version of the macOS.6. Use Application Loader to upload the .ipaLesson learnt: Do not update the macOS to beta version on your primary development machine.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Aug ’16