tpoechtrager / osxcross

Mac OS X cross toolchain for Linux, FreeBSD, OpenBSD and Android (Termux)
GNU General Public License v2.0
2.81k stars 320 forks source link

Can not specify sdk as iphoneos when run xcrun to show sdk path #329

Closed sshxmz closed 2 years ago

sshxmz commented 2 years ago

It reports a path with error:

$ xcrun --show-sdk-path -sdk iphoneos
/home/sshxmz/osxcross/target/bin/../SDK/MacOSX11.3.sdk
osxcross: error: xcrun: '-sdk': expected macOS SDK

osxcross version: be2b79f444aa0b43b8695a4fb7b920bf49ecc01c Xcode SDK: 12.5

tpoechtrager commented 2 years ago

iOS is not supported by OSXCross. You can use https://github.com/tpoechtrager/cctools-port/tree/master/usage_examples/ios_toolchain instead.

On Tue, Mar 8, 2022 at 9:03 AM sshxmz @.***> wrote:

It reports a path with exit is not 0:

$ xcrun --show-sdk-path -sdk iphoneos /home/sshxmz/osxcross/target/bin/../SDK/MacOSX11.3.sdk osxcross: error: xcrun: '-sdk': expected macOS SDK



osxcross version: be2b79f444aa0b43b8695a4fb7b920bf49ecc01c
Xcode SDK: 12.5

—
Reply to this email directly, view it on GitHub
<https://github.com/tpoechtrager/osxcross/issues/329>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AASY5JGZD7DX4H74HWSC7L3U64CU5ANCNFSM5QFSWXYA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.

You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
sshxmz commented 2 years ago

thank you very much!