XCode no valid compiled storyboard at path
To answer my own question;
This error appears when the bundle target isn't universal.
So make sure the Targeted Device Family in the bundle's build settings is set to iPhone AND iPad.
App crashes on iOS10 with exception There doesn't seem to be a valid compiled storyboard at path
This issue was resolved by disabling caching in NSFetchedResultsControllers.
Some symptoms not mentioned before because I had no idea the symptoms were related:
- I was never able to reproduce a crash in a Debug environment, only on a Beta or Release build.
The error message:
[error] error: (NSFetchedResultsController): couldn't read cache file to update store info timestamps
was frequently logged in the Debug output but never in Production logs.
After paying more attention to the above error message, I could see that my App was creating a large amount of File Descriptors, opening files in a cache folder and never closing or releasing them.
My App has quite a few NSFetchedResultsControllers created with:
NSFetchedResultsController *fetchedResultsController = [[NSFetchedResultsController alloc] initWithFetchRequest:fetchRequest managedObjectContext:context sectionNameKeyPath:nil cacheName:@"someName"];
which I changed to:
NSFetchedResultsController *fetchedResultsController = [[NSFetchedResultsController alloc] initWithFetchRequest:fetchRequest managedObjectContext:context sectionNameKeyPath:nil cacheName:nil];
which resolved the issue.
The following post also helped to point me in the right direction:
too-many-open-files-after-calling-fabric-framework-run
The file *.storyboardc was not found
I guess it's a bug. I solved this problem when I moved Main.storyboard (NSExtensionMainStoryboard defined in info.plist) to the subdirectory of extension target. It means that you can't localize main.storyboard, because it will be moved to base directory or specific language directory.
Related Topics
How Get the List of Paired Bluetooth Devices in Swift
How to Convert String to Unicode(Utf-8) String in Swift
Flutter iOS Build Failure Error with Multiple Commands After the Xcode Upgrade
iOS 5 Gm: <Error>: More Than Maximum 5 Filtered Album Lists Trying to Register. This Will Fail
Healthkit Authorisation Status Is Always 1
Uicontrolstate.Normal Is Unavailable
What Does It Mean for Something to Be Thread Safe in iOS
Why Does "Try Catch" in Objective-C Cause Memory Leak
Why Isn't Preferredcontentsize Used by iPhone 6 Plus Landscape
iOS How to Dismiss Uialertview with One Tap Anywhere
Xcode 10 Not Being Able to Archive Project
Set<Nsobject>' Does Not Have a Member Named 'Anyobject." - Xcode 6.3
Get the Callers Phone Number from an Incoming Call on Iphone
How to Release an Mtaudioprocessingtap
Setting Up a Plist to Store Application Data (Not Settings) for an iPhone Game