-
-
Notifications
You must be signed in to change notification settings - Fork 7.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for Project Catalyst #2840
Comments
This depends on how you're integrating Alamofire into your project. If you're using Swift Package Manager in Xcode 11, just point at the |
Thanks for the quick response! I'm using the Swift Package Manager functionality in Xcode 11, but I'm still getting the same error. Following the above message, I'm also seeing dozens of variations of the following, one for each use of a symbol that should be defined by the Alamofire library:
|
Actually, I just fixed the issue myself! It turns out that my iOS-specific app extensions (e.g., my Siri Intents extension, which is unsupported on the Mac), which also depend on Alamofire, were listed as dependencies on both iOS and macOS for the main app. As such, Xcode was trying to compile Alamofire as if it were to be run on an arm64 device. Setting those extensions to be dependencies on iOS only fixed the problem that I was having. Thanks for the help! |
I'm trying to build an app that depends on Alamofire
v5.0.0-beta6
using Project Catalyst (i.e., UIKit for Mac) with Xcode 11.0 beta 1 on macOS 10.15 Catalina developer beta 1. Building for iOS works perfectly, but when I set the scheme to that for my Mac, the build fails, and I get the following error:ignoring file /Users/[...]/Library/Developer/Xcode/DerivedData/[...]/Build/Products/Debug-uikitformac/Alamofire.o, building for iOS-arm64 but attempting to link with file built for UIKitForMac-x86_64
Is there anything that I can do on my end to fix this, or do I have to wait for a change to the library itself to support Project Catalyst?
The text was updated successfully, but these errors were encountered: