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

Unknown type name 'NSUInteger' with Xcode 15.4 #51

Open
scottkdavis opened this issue Oct 4, 2024 · 0 comments
Open

Unknown type name 'NSUInteger' with Xcode 15.4 #51

scottkdavis opened this issue Oct 4, 2024 · 0 comments

Comments

@scottkdavis
Copy link

Description

After cloning the repo, open template project in VS Code, set debug target to MacOS, attempt to debug. Receive 9 errors about unknown types for NSUInteger, NSInteger, and NSIntegerMax in NSObjCRuntime.h file buried deep in Xcode.app under the iPhoneOS17.5 folder.

If I removed iOS in the project file so only net8.0-maccatalyst is listed as a target framework. I also receive NS_FORMAT_ARGUMENT error in the NSString.h file inside Xcode.app.

Searching the internet, this seems to be an issue with Xcode 15.4 that doesn't exist in 15.2. Maui 8 is supposed to support 15.4

Like most people who are probably looking at the Maui.NativeLibraryInterop, I'm an Xcode noob and have no idea how to troubleshoot this issue. I assume I cannot roll Xcode back to 15.2 because experience shows me that Maui needs a very specific version to work.

Steps to Reproduce

Close repo, attempt to run debug "template" project without modification.

Link to public reproduction project repository

No response

Environment

  • OS: MacOS Sonoma 14.5 (M1 chip)
  • .NET MAUI: 8
  • Target platforms: MacOS, iOS
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant