Skip to content
This repository was archived by the owner on Feb 27, 2020. It is now read-only.
This repository was archived by the owner on Feb 27, 2020. It is now read-only.

iOS10 Beta 4, iOS11 beta 1,2 - App crashes on launch (naming conflict with PhotosUICore.framework) #49

@iellis

Description

@iellis

In testing an app for the impending ios10 launch, we found that the app crashes on lunch when StylingKit is installed. If I remove the pod, it runs fine (without styling). This occurs even before applicationDidFinishLaunching is called. The app works with styling on iOS 9.

*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[UIStatusBarForegroundStyleAttributes setContentMode:]: unrecognized selector sent to instance 0x14fcae20'

I searched the StylingKit/Freestyle source for any references to UIStatusBarForegroundStyleAttributes and found none.

Do you have any ideas or guidance that might help? Thanks!

Other possibly related information:

The reason I switched to StylingKit from PixateFreestyle is because the app was crashing in this scenario on [window makeKeyAndVisible] with even less information.

I'm seeing these warnings on app start before the crash.
objc[717]: Class PXPath is implemented in both /System/Library/PrivateFrameworks/PhotosUICore.framework/PhotosUICore (0x3901e65c) and /var/containers/Bundle/Application/105E68FD-A40B-4E2D-8394-A589DF897568.... One of the two will be used. Which one is undefined.
objc[717]: Class PXShapeView is implemented in both /System/Library/PrivateFrameworks/PhotosUICore.framework/PhotosUICore (0x3901d4a0) and /var/containers/Bundle/Application/105E68FD-A40B-4E2D-8394-A589DF897568/...(0xf57dcc). One of the two will be used. Which one is undefined.
objc[717]: Class PXUIButton is implemented in both /System/Library/PrivateFrameworks/PhotosUICore.framework/PhotosUICore (0x3901fcb4) and /var/containers/Bundle/Application/105E68FD-A40B-4E2D-8394-A589DF897568/...(0xf582cc). One of the two will be used. Which one is undefined.
objc[717]: Class PXUIImageView is implemented in both /System/Library/PrivateFrameworks/PhotosUICore.framework/PhotosUICore (0x3901f764) and /var/containers/Bundle/Application/105E68FD-A40B-4E2D-8394-A589DF897568/... (0xf583e4). One of the two will be used. Which one is undefined.
objc[717]: Class PXUILabel is implemented in both /System/Library/PrivateFrameworks/PhotosUICore.framework/PhotosUICore (0x39020ca4) and /var/containers/Bundle/Application/105E68FD-A40B-4E2D-8394-A589DF897568/... (0xf5840c). One of the two will be used. Which one is undefined.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions