Open Milerius opened 1 year ago
I can't reproduce this, what crate-type was your case? I assume staticlib
but I didn't have any luck with that and Xcode 14.2 (it could be fixed in a newer Xcode version too I guess)
I'm getting similar errors now when building for the watchos target. Nearly identical xcodebuild command (except that I'm not using lipo at all, and only testing with a single target). Other apple targets work fine for me, and even the watchos-sim works for me, but failing on unable to determine platform. My issue may be unrelated but does seem oddly similar
I believe that the issue may have been that we previously only passed arm64-apple-ios-macabi
as the LLVM target, where we should have been passing arm64-apple-ios13.1-macabi
(with 13.1
being the deployment target). That part was fixed in https://github.com/rust-lang/rust/pull/111384, the aarch64-apple-watchos
target having the same problem should be fixed by https://github.com/rust-lang/rust/pull/129341.
Hello I'm using
aarch64-apple-ios-macabi
andx86_64-apple-ios-macabi
as follow in my project:Was working fine until XCode 14.2 release which now produce:
This is the json target spec for MacCatalyst (aarch64):
Every other targets outside of catalyst seems to work
Meta
rustc --version --verbose
:Maybe XCode have new requirements that the targets doesn't respect correctly? and therefore xcodebuild can't create an xcframework from any catalyst library?
Simple repro: