Post

Replies

Boosts

Views

Activity

Specifying platforms for XCFramework
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
0
0
477
Feb ’22
"Classroom (System Settings)" running on a personal Mac
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.
Replies
0
Boosts
0
Views
255
Activity
Feb ’25
Specifying platforms for XCFramework
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
Replies
0
Boosts
0
Views
477
Activity
Feb ’22