-
Notifications
You must be signed in to change notification settings - Fork 21
Closed
Description
I have multiple versions of Xcode installed on my machine.
They are named Xcode-16.4.0.app and Xcode-26.0.1.app.
When I run the compile command, it fails. (e.g.: ./main.sh compile -p ios -l 'ass ffmpeg')
This is due to an issue with meson, as the meson crossfiles hardcode the path to Xcode.
For example, in arm64-ios.meson we have lines like this:
c_args = ['-arch', 'arm64', '-miphoneos-version-min=9.0', '-Os', '-isysroot', '/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk']
A solution would be to get the developer directory using xcode-select -p. However I have never used meson before so I am not sure how to make that work.
Metadata
Metadata
Assignees
Labels
No labels