Hi, I am stuck with this error(see image attached). I tried to clean the build directory, restart my laptop, Googling and searching for a solution for almost a month and don’t have any clue how to solve it.
Would appreciate your help here.
Hi, I am stuck with this error(see image attached). I tried to clean the build directory, restart my laptop, Googling and searching for a solution for almost a month and don’t have any clue how to solve it.
Would appreciate your help here.
What unity version are you using? can you bug report with small repro?
I am using now 2021.3.3f1, but the error existed also in older version 2020.3.25f1.
Update!
Solved the problem by commenting out these lines inside SplashScreen.m file:
NSString* launchScreen = [[NSBundle mainBundle].infoDictionary[@“UILaunchStoryboardName”] stringByDeletingPathExtension];
const bool hasXIB = [[NSBundle mainBundle] pathForResource: launchScreen ofType: @“nib”] != nil;
if (hasXIB)
{
self->m_XibView = [[[NSBundle mainBundle] loadNibNamed: launchScreen owner: nil options: nil] objectAtIndex: 0];
[self addSubview: self->m_XibView];
}
else
{
// #if !PLATFORM_TVOS
// NSAssert(NO, @“no storyboard/xib was provided.”);
// #endif
Dude, Thank you for this gold nugget.
Solved the problem by commenting out these lines inside SplashScreen.m file: