Hi, I have a project written in Rust and I have turned it into an XCFramework to use it in Swift.
The build command for the framework looks like this:
xcodebuild -create-xcframework \
-library simulator/libmy_rust_lib.a \
-headers include \
-library ios/libmy_rust_lib.a \
-headers include \
-library macos/libmy_rust_lib.a \
-headers include \
-output MyRustLib.xcframework
Now, when -library macos/libmy_rust_lib.a \ is put on top of the other -library tags, the generated framework doesn't work. It only works when put in this order.
Why is this? Can I specify which library path xcodebuild should use for a specific platform? Is there any documentation available on this, because I have not been able to find any?
Thank you in advance,
Jonas
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
Can anyone tell me why "Classroom (System Settings)" is running on my Mac?
I found this post, but the author never fully explained what was going on: https://developer.apple.com/forums/thread/734270
Clicking on "inspect" tells me it was launched by launchd.