Search results for

“missing package product”

53,786 results found

Post

Replies

Boosts

Views

Activity

Reply to Swift Package can be MAKE_MERGEABLE?
Unfortunately, it's NO. Currently, building and distributing the XCFramework is the only way to make your package as mergeable. When you try to configure the linkerSettings to enable MAKE_MERGEABLE, it will failed building w/ error saying The package product cannot be used as a dependency of this target because it uses unsafe build flags. even though the product was defined as .dynamic If someone has any good solution, please let me know!
Dec ’23
Reply to Use Xcode for Server Side Development
I had the same problem, i solved it like this: First, change the package.swift like this: (In fact, this is the same as WWDC Session) // swift-tools-version: 5.7 import PackageDescription let package = Package( name: MyServer, platforms: [.macOS(12.0)], products: [ .executable( name: MyServer, targets: [MyServer]), ], dependencies: [ .package(url: https://github.com/vapor/vapor.git, .upToNextMajor(from: 4.0.0)), ], targets: [ .executableTarget( name: MyServer, dependencies: [ .product(name: Vapor, package: vapor) ]), .testTarget( name: MyServerTests, dependencies: [MyServer]), ] ) Second, Find Executable menu with action Edit Scheme -> Run -> info, open the menu, you will find the target you added in Package.swift. Hope this helps !
Jun ’22
Which part to be notarized in a pkg, .app or pkg or both ?
Hi, I have to publish a macOS application outside the AppStore, downloadable from another a third-party website. I have to build an app say for example myapp.app and then pack it inside a package installer .pkg file users will download and run pkg to install the app. Which part in the least should be Notarized & signed, the app has to run on catalina 10.14 & newer versions Should .app and .pkg both should be signed and notarized or .pkg is enough to be signed & notarized ? if some one can direct me to any documentation on this subject along with answer, that would be great. Thanks, Ahmed
1
0
604
Feb ’21
Reply to Notarization has stopped working for .pkg files
Just to add to the post, I tried notarizing again a .pkg installer that I had already notarized successfully a few weeks ago and I got the same problem, so unless I'm missing something obvious here, there was a change in Apple's side that is now causing this problem.In the meantime, I'm going to try to notarize the app first, then package it, and then notarize the .pkg file.
Topic: Code Signing SubTopic: General Tags:
Oct ’19
Reply to UIDocumentBrowserViewController won't let me pick existing document
Looks like my problem is definitely related to it being a file package. I have a second document type that is not a file package/directory and the UIDocumentBrowserViewController calls the delegate method documentBrowser(_ controller: UIDocumentBrowserViewController, didPickDocumentURLs documentURLs: [URL]) when I tap on it.So am I doing something wrong (i.e., missing an extra step necessary for file packages) or is UIDocumentBrowserViewController broken for file packages and I need to file a bug?Thanks,Dave
Topic: App & System Services SubTopic: Core OS Tags:
Jun ’17
How can you communicate that a .xcframework is a dependency OF the swift package inside Swift package definition?
I am sort of trying to do the opposite of what others are doing. I have a target called CopyFramework that creates a CopyFramework.framework within my main xcproj file. I set up this target because a specific framework (we can call it Tools.xcframework) is distributed as a binary. That framework file lives within the code. Tools.xcframework is structured like so Tools.xcframework (Coding/testBuild/DynamicToolFrameworks/Tools.xcframework) info.plist ios-arm64/ Tools.xcframework/ Tools (executable file) Tools.bundle Headers/ Info.plist Modules/ Tools.swiftmodule/ arm64-apple-ios.abi.json arm64-apple-ios.private.swiftinterface arm64-apple-ios.swiftdoc arm64-apple-ios.swiftinterface module.modulemap module.private.modulemap PrivateHeaders/ ios-arm64_x86_64-simulator/ When the CopyFramework target is run xcode does a few steps which copy the correct version of this framework to derived data. Process Tools.xcframework (iOS) Coding/testBuild/DynamicToolFrameworks/Tools.xcframework /Library/Developer/Xcode/DerivedDat
0
0
131
Jun ’25
Reply to Swift Package can be MAKE_MERGEABLE?
Unfortunately, it's NO. Currently, building and distributing the XCFramework is the only way to make your package as mergeable. When you try to configure the linkerSettings to enable MAKE_MERGEABLE, it will failed building w/ error saying The package product cannot be used as a dependency of this target because it uses unsafe build flags. even though the product was defined as .dynamic If someone has any good solution, please let me know!
Replies
Boosts
Views
Activity
Dec ’23
Reply to Use Xcode for Server Side Development
I had the same problem, i solved it like this: First, change the package.swift like this: (In fact, this is the same as WWDC Session) // swift-tools-version: 5.7 import PackageDescription let package = Package( name: MyServer, platforms: [.macOS(12.0)], products: [ .executable( name: MyServer, targets: [MyServer]), ], dependencies: [ .package(url: https://github.com/vapor/vapor.git, .upToNextMajor(from: 4.0.0)), ], targets: [ .executableTarget( name: MyServer, dependencies: [ .product(name: Vapor, package: vapor) ]), .testTarget( name: MyServerTests, dependencies: [MyServer]), ] ) Second, Find Executable menu with action Edit Scheme -> Run -> info, open the menu, you will find the target you added in Package.swift. Hope this helps !
Replies
Boosts
Views
Activity
Jun ’22
Reply to OpenAPIGenerator package requirements have a dependency that causes errors
Is your final product a package built with Swift package manager? Or are you trying to use the OpenAPI stuff from an Xcode project? Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Jun ’23
Which part to be notarized in a pkg, .app or pkg or both ?
Hi, I have to publish a macOS application outside the AppStore, downloadable from another a third-party website. I have to build an app say for example myapp.app and then pack it inside a package installer .pkg file users will download and run pkg to install the app. Which part in the least should be Notarized & signed, the app has to run on catalina 10.14 & newer versions Should .app and .pkg both should be signed and notarized or .pkg is enough to be signed & notarized ? if some one can direct me to any documentation on this subject along with answer, that would be great. Thanks, Ahmed
Replies
1
Boosts
0
Views
604
Activity
Feb ’21
Reply to Is iTunes Connect broken or down?
Right-Click on the archive file (.xcarchive) > Show Package Contents > Products > Applications > Right-Click on the app file > Show Package Contents > Double-Click on Info.plist to edit itChange DTXcodeBuild's value from 9C40b to 9C40 and it will work.
Replies
Boosts
Views
Activity
Dec ’17
Reply to Xcode 9.2 app uploading broken?
Right-Click on the archive file (.xcarchive) > Show Package Contents > Products > Applications > Right-Click on the app file > Show Package Contents > Double-Click on Info.plist to edit itChange DTXcodeBuild's value from 9C40b to 9C40 and it will work.
Replies
Boosts
Views
Activity
Dec ’17
Installing/adding packages
Hello!I want to use these utils in my OS X project. How to properly install/add this package to my project? Should work with this code afterwards.Have spent hours of trying. Seems that I'm missing something here. Thank you for your time!
Replies
0
Boosts
0
Views
666
Activity
Apr ’18
Reply to ITMS-90427
I'm experiencing a similar issue. How do we figure out exactly what dylibs are missing? When I look at the package contents, the folder in quests is there.
Replies
Boosts
Views
Activity
Apr ’22
Reply to ApplicationPath in organizer archive incorrect. How to fix?
Solved: Go to Build settings then Packaging, change product name to what you want. Hope this saves someone else time.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Oct ’20
Package localization export is broken
Steps: Create a new clean Swift package in Xcode 14.3 Add a defaultLocalization value to the package manifest Add a platform to the package manifest: platforms: [.iOS(.v16)] Run Product -> Export Localizations and the following error appears: Version 14.3 (14E222b) macOS 13.1 (22C65) Feedback FB12183400
Replies
1
Boosts
0
Views
926
Activity
May ’23
Reply to Notarization has stopped working for .pkg files
Just to add to the post, I tried notarizing again a .pkg installer that I had already notarized successfully a few weeks ago and I got the same problem, so unless I'm missing something obvious here, there was a change in Apple's side that is now causing this problem.In the meantime, I'm going to try to notarize the app first, then package it, and then notarize the .pkg file.
Topic: Code Signing SubTopic: General Tags:
Replies
Boosts
Views
Activity
Oct ’19
Reply to UIDocumentBrowserViewController won't let me pick existing document
Looks like my problem is definitely related to it being a file package. I have a second document type that is not a file package/directory and the UIDocumentBrowserViewController calls the delegate method documentBrowser(_ controller: UIDocumentBrowserViewController, didPickDocumentURLs documentURLs: [URL]) when I tap on it.So am I doing something wrong (i.e., missing an extra step necessary for file packages) or is UIDocumentBrowserViewController broken for file packages and I need to file a bug?Thanks,Dave
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Jun ’17
Reply to code sign looking at wrong bundle identifier
Ah. Seems to be caused by this same issuehttps://forums.developer.apple.com/message/136160#136160Changing bundle identifier in info.plist did not change it under packaging in build settings, Manually changing the Product Bundle Identifier under packaging to ${CustomAppBundleId} fixed my issue.
Replies
Boosts
Views
Activity
May ’16
Are packages deprecated?
Apple seems to have archived its documentation for making PKG packages, and PackageMaker hasn't been seen since 2012. Are packages deprecated, or are there new ways for creating them?
Replies
0
Boosts
0
Views
880
Activity
Mar ’22
How can you communicate that a .xcframework is a dependency OF the swift package inside Swift package definition?
I am sort of trying to do the opposite of what others are doing. I have a target called CopyFramework that creates a CopyFramework.framework within my main xcproj file. I set up this target because a specific framework (we can call it Tools.xcframework) is distributed as a binary. That framework file lives within the code. Tools.xcframework is structured like so Tools.xcframework (Coding/testBuild/DynamicToolFrameworks/Tools.xcframework) info.plist ios-arm64/ Tools.xcframework/ Tools (executable file) Tools.bundle Headers/ Info.plist Modules/ Tools.swiftmodule/ arm64-apple-ios.abi.json arm64-apple-ios.private.swiftinterface arm64-apple-ios.swiftdoc arm64-apple-ios.swiftinterface module.modulemap module.private.modulemap PrivateHeaders/ ios-arm64_x86_64-simulator/ When the CopyFramework target is run xcode does a few steps which copy the correct version of this framework to derived data. Process Tools.xcframework (iOS) Coding/testBuild/DynamicToolFrameworks/Tools.xcframework /Library/Developer/Xcode/DerivedDat
Replies
0
Boosts
0
Views
131
Activity
Jun ’25