Search results for

“missing package product”

55,549 results found

Post

Replies

Boosts

Views

Activity

Reply to Framework built on Xcode9 are not working on Xcode8
It could be a bug or incompatibility, but there are some other subtle problems in your project(s) that may be affecting you.Incidentally, there is no such thing as a static framework. A framework is a dynamic library packaged as a bundle. Perhaps you mean a private framework (a framework embedded in an app bundle, so not shared between apps, which is very common), or a static library (which is a collection of object files, a library in the Unix sense, not in the Apple sense).— One possibility is that the deployment target got changed when you converted the framework project for Xcode 9. This might result in an incompatible build product.— Another possibility is that your are not producing the framework using Archive (from the Product menu), but are trying to use the build product from a Build or Run operation. The difference is that Build might not build all of the CPU architectures that a finished (Archive'd) framework needs — the variant for arm64 might actually be missing
Sep ’17
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
578
Jul ’20
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
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
839
Aug ’24
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
449
Nov ’22
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
Hash for Packages
I looked for any posts that indicate whether one can generate hashes (SHA256 or MD5) for packages in particular Photo and Photos Libraries but did not find any. Can hashes be generated for such packages?
0
0
342
Oct ’21
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
777
Aug ’22
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 Framework built on Xcode9 are not working on Xcode8
It could be a bug or incompatibility, but there are some other subtle problems in your project(s) that may be affecting you.Incidentally, there is no such thing as a static framework. A framework is a dynamic library packaged as a bundle. Perhaps you mean a private framework (a framework embedded in an app bundle, so not shared between apps, which is very common), or a static library (which is a collection of object files, a library in the Unix sense, not in the Apple sense).— One possibility is that the deployment target got changed when you converted the framework project for Xcode 9. This might result in an incompatible build product.— Another possibility is that your are not producing the framework using Archive (from the Product menu), but are trying to use the build product from a Build or Run operation. The difference is that Build might not build all of the CPU architectures that a finished (Archive'd) framework needs — the variant for arm64 might actually be missing
Replies
Boosts
Views
Activity
Sep ’17
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.
Replies
0
Boosts
0
Views
578
Activity
Jul ’20
Reply to Xcode 7 beta 3: Missing current version declaration
Hmmm... If I Show Package Contents from the Finder for my .xcdatamodeld file, i Just see only one file/directory - contents . What am i Missing?
Topic: App & System Services SubTopic: iCloud Tags:
Replies
Boosts
Views
Activity
Jul ’15
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
Replies
Boosts
Views
Activity
Apr ’21
Is there any npm package to fulfil missing tvml js imports while using webpack?
I was wondering if there is any npm module for tvml js which we can use to import functions like: 'userDefaults', 'getAdvetisementId' for linting purposes?Thanks
Replies
3
Boosts
0
Views
832
Activity
Dec ’19
Reply to SwiftUI Preview Runtime linking failure
Ah this is a good piece of info I was missing before. What is the dependency that is importing GoogleMaps on your behalf? Is it a public package that I could use to try to reproduce?
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Mar ’25
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
Replies
3
Boosts
0
Views
839
Activity
Aug ’24
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
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
Replies
0
Boosts
0
Views
449
Activity
Nov ’22
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
Hash for Packages
I looked for any posts that indicate whether one can generate hashes (SHA256 or MD5) for packages in particular Photo and Photos Libraries but did not find any. Can hashes be generated for such packages?
Replies
0
Boosts
0
Views
342
Activity
Oct ’21
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
Replies
0
Boosts
0
Views
777
Activity
Aug ’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
441
Activity
Nov ’15
Reply to Library/SPM issue with latest Xcode 11.4 beta
Same here :/ Is there any solutions ?error: Swift package product 'Disk' is linked as a static library by 'Project' and 'Widget'. This will result in duplication of library code.
Replies
Boosts
Views
Activity
Mar ’20
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