feedback-assistant / reports

Open collection of Apple Feedback Assistant reports
207 stars 2 forks source link

FB13961574: Xcode 16 beta: Runtime issue, can't find bundle, change to storyboard references and SPM #531

Open thomas-chris opened 2 months ago

thomas-chris commented 2 months ago

Description

I think this is a compiler issue.

I have a demo project that displays the behaviour

In Xcode 15 to use storyboards and other resources I have followed some workarounds to get the app to load the resources at initialisation (see top answer here)

In Xcode 16 beta this no longer seems to work, storyboards can no longer be referenced from a swift package

See the example project attached. Build in Xcode 15, it will run and you can navigate to the second tab (mission the tab bar icon), build in the beta and when the app launches it crashes Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'Could not find a storyboard named 'PackagedViewController' in bundle NSBundle

Files

FeedbackDemo.zip

MattRapchat commented 1 month ago

@thomas-chris did you ever find a workaround for this?

thomas-chris commented 1 month ago

The only way we worked around this was to remove the storyboard references and use code - which isn't solving the issue in the slightest

Nothing has come back on my feedback yet either

MattRapchat commented 1 month ago

Got it - I appreciate the reply!