maui icon indicating copy to clipboard operation
maui copied to clipboard

Crash on startup with XCode 14 / iOS 16

Open SirMangler opened this issue 2 years ago • 0 comments

Description

Using Visual Studio 2022 for Mac version 17.4 Preview with XCode 14.0.0 14A309 (also 14.0.1), running an app in the iOS simulator will result in an instant crash, directly after the splash screen is shown.

I first noticed this issue on 17.3 w/ XCode 13.4.1 when submitting my app to App Store Connect, where they reported the app that was built for 15.5 crashed on launch on iOS 16.0.3. The app worked fine a week ago, and only minor changes to a specific page were made in this update.

Updating to VS 17.4, and XCode 14.0.1 to try build and test for iOS 16 gave me the same result.

This happened regardless of whether I used net6.0 or net7.0. My original project was based on net6.0, upgrading to net7.0 made no change, building the template with either made no difference.

Mac Console output of a blank project running in an iOS 16 simulator: image

I really need to publish my app. Building on VS17.3 with XCode 13.4.1 for iOS 15.5 crashes on a iOS 16.0 simulator, but not on an iOS 15.5 simulator. However, building with XCode 14 on VS17.4 does crash on 15.5

Steps to Reproduce

  1. Install XCode 14.0.0
  2. Install Visual Studio 17.4 Preview
  3. Create a new MAUI Project
  4. Build for Generic iOS Device (simulators aren't available?)
  5. Install App onto simulator and start app

Link to public reproduction project repository

.NET MAUI App (Template in Visual Studio 17.4 Preview)

Version with bug

7.0 Release Candidate 2

Last version that worked well

Unknown/Other

Affected platforms

iOS

Affected platform versions

iOS 15.5, iOS 16, net6.0, net7.0

Did you find any workaround?

No. My project has been completely stalled by this.

Relevant log output

Scene FBSceneManager/sceneID:com.companyname.mauitest-default update failed: <NSError: 0x600001230030; domain: FBSceneErrorDomain; code: 1 (operation-failed); reason: "Scene update failed."> {
    NSUnderlyingError = <NSError: 0x60000121b360; domain: FBWorkspaceScene; code: 1; reason: "Client process exited.">;
}

SirMangler avatar Oct 15 '22 18:10 SirMangler