OXO
OXO

Reputation: 1098

Recommended Linker Behavior for .NET MAUI App (Release)

I wanted to deploy my .NET MAUI App to my iPhone with VS 2022 - 17.8 - Preview 5 (.NET 7) in Release-Mode. Xcode version is 14.2 and I can't upgrade, unfortunately.

Unfortunately, I get this error all the time:

![enter image description here


Below you see my settings, but I am still faced with this error message.

What is the recommended Linker Behavior I should use in my App Properties?

enter image description here

Upvotes: 0

Views: 1342

Answers (1)

Jessie Zhang -MSFT
Jessie Zhang -MSFT

Reputation: 13879

Just like the error prompt, you can first set the linker behaviour to Link Framework SDKs Only.

The steps are : Right click on the iOS project and select Properties. In the Properties Window, enter image description here

Under iOS Build section, select Link Framework SDKs Only for Linker Behavior.

That'll set the managed linker behaviour to Link Framework SDKs Only.

And just as Jason mentioned, if the Linker options aren't working, you either need to update XCode or downgrade Microsoft iOS to a compatible version.

Upvotes: 0

Related Questions