UIKit macOS App Black Screen

No matter what I try, if it's my own app(s) or new projects created in Xcode, when building and launching on macOS I only get a Black Screen with the following console logs


[AXLoading] Failed to load item AXCodeItem<0x60000263a160> [Rank:6000] PhotosFramework [AXBundle name:/System/iOSSupport/System/Library/AccessibilityBundles/PhotosFramework.axbundle/PhotosFramework] [Platforms and Targets:{ iOS = Photos; } Framework]. error: Error Domain=AXLoading Code=0 "URL does not exist: file:///System/iOSSupport/System/Library/AccessibilityBundles/PhotosFramework.axbundle" UserInfo={NSLocalizedDescription=URL does not exist: file:///System/iOSSupport/System/Library/AccessibilityBundles/PhotosFramework.axbundle}


[AXLoading] Failed to load item AXCodeItem<0x600002636760> [Rank:6000] StoreKitFramework [AXBundle name:/System/iOSSupport/System/Library/AccessibilityBundles/StoreKitFramework.axbundle/StoreKitFramework] [Platforms and Targets:{ iOS = StoreKit; } Framework]. error: Error Domain=AXLoading Code=0 "URL does not exist: file:///System/iOSSupport/System/Library/AccessibilityBundles/StoreKitFramework.axbundle" UserInfo={NSLocalizedDescription=URL does not exist: file:///System/iOSSupport/System/Library/AccessibilityBundles/StoreKitFramework.axbundle}

Hi Kevin,


I thought I'd try experimenting with catalyst, but I'm seeing the same black screen and similar errrors to you. I'm using Xcode 11.0 beta 5.

Did you find a solution?


Failed to load item AXCodeItem<0x600002619a40> [Rank:6000] AuthenticationServices [AXBundle name:/System/iOSSupport/System/Library/AccessibilityBundles/AuthenticationServices.axbundle/AuthenticationServices] [Platforms and Targets:{ iOS = AuthenticationServices; tvOS = AuthenticationServices; watchOS = AuthenticationServices; } Framework]. error: Error Domain=AXLoading Code=0 "URL does not exist: file:///System/iOSSupport/System/Library/AccessibilityBundles/AuthenticationServices.axbundle" UserInfo={NSLocalizedDescription=URL does not exist: file:///System/iOSSupport/System/Library/AccessibilityBundles/AuthenticationServices.axbundle}

2019-08-01 15:04:40.153078+0100 Avantis-MixPad[3973:43219] [AXLoading] Failed to load item AXCodeItem<0x600002619a40> [Rank:6000] AuthenticationServices [AXBundle name:/System/iOSSupport/System/Library/AccessibilityBundles/AuthenticationServices.axbundle/AuthenticationServices] [Platforms and Targets:{ iOS = AuthenticationServices; tvOS = AuthenticationServices; watchOS = AuthenticationServices; } Framework]. error: Error Domain=AXLoading Code=0 "URL does not exist: file:///System/iOSSupport/System/Library/AccessibilityBundles/AuthenticationServices.axbundle" UserInfo={NSLocalizedDescription=URL does not exist: file:///System/iOSSupport/System/Library/AccessibilityBundles/AuthenticationServices.axbundle}

Hi 🙂


I have the same problem...


Installed Catalina Beta 5 from and then Xcode 11 Beta 5 ontop of latest non-Beta macOS/Xcode...


It seems like we are missing some files at /System/iOSSupport/System/Library/AccessibilityBundles/... I guess that they are missing in the Catalina installation... :S


Hope they get this sorted out soon!


Cheers!

Hi Apple_Kevin and Mooglus 🙂


I have the problem in my case... please check it it out here: https://forums.developer.apple.com/message/377984#377984


Cheers!

Thanks bims,


That put me on the right track. I'm working from a legacy Objective C project with a storyboard. The code below worked for me.


- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptionss:(NSDictionary *)launchOptions
{
  UIStoryboard *storyboard = [UIStoryboard storyboardWithName:@"MainStoryboard" bundle:[NSBundle mainBundle]];

  self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
  self.window.rootViewController = storyboard.instantiateInitialViewController;
  [self.window makeKeyAndVisible];

  return YES;
}

I'm bumping the thread, but not because I'm getting a black screen. The Catalyst/UIKit-macOS app is working fine.

I'm bumping the thread because I'm getting the same exact same console spam, "[AXLoading] Failed to load item AXCodeItem" etc (and many more AXx logspam) . It's with an app that was started with SwiftUI, which is probably it.

It's not a showstopper but really disruptive, because this appears several seconds after the launch of my app. Since I am in early development and printing info to the console after launch, it means I have to shift to the window and scroll up to find the place, every time.

Alternately it would be great if someone knows how to filter this particular logspam message out of the console.

Same here. Really annoying.

UIKit macOS App Black Screen
 
 
Q