Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Visual Studio 17.12 and .NET 8 requires XCode 16 #25888

Open
eqmarcin opened this issue Nov 15, 2024 · 0 comments
Open

Visual Studio 17.12 and .NET 8 requires XCode 16 #25888

eqmarcin opened this issue Nov 15, 2024 · 0 comments
Labels
t/bug Something isn't working

Comments

@eqmarcin
Copy link

Description

I have updated Visual Studio Community to from 17.11.4 to 17.12.0 and now I can't build/run iOS apps on paired Mac (Mac OS Sonoma 14.7.1 with XCode 15.4) as it says that XCode 16 is required.

I'm using .NET 8.0.404 and workloads below (this setup works on another PC with VS 17.11.4)
Image

Errors:
This version of Microsoft.iOS requires the iOS 18.0 SDK (shipped with Xcode 16.0). Either upgrade Xcode to get the required header files or set the managed linker behaviour to Link Framework SDKs Only in your project's iOS Build Options > Linker Behavior (to try to avoid the new APIs).
The linker step 'Setup' failed during processing: This version of Microsoft.iOS requires the iOS 18.0 SDK (shipped with Xcode 16.0). Either upgrade Xcode to get the required header files or set the managed linker behaviour to Link Framework SDKs Only in your project's iOS Build Options > Linker Behavior (to try to avoid the new APIs).

Changing linker setting to "Link Framework SDKs Only" fixes the above for builds but it disables Hot Reload ("iOS Linker settings for MyApp are unsupported").

Not sure if there is anything that I can do to have it working as before?

Notes:
I can't downgrade VS version this feature is not available for Community edition.
Upgrading Mac OS and XCode to v16 and/or .NET to 9 breaks the app.

Steps to Reproduce

No response

Link to public reproduction project repository

No response

Version with bug

8.0.80 SR8

Is this a regression from previous behavior?

No, this is something new

Last version that worked well

Unknown/Other

Affected platforms

iOS, I was not able test on other platforms

Affected platform versions

No response

Did you find any workaround?

No response

Relevant log output

@eqmarcin eqmarcin added the t/bug Something isn't working label Nov 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
t/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant