Skip to content

XCode 9: PFSubclassing.object() breaks builds on XCode 9 beta 4 #1162

@mman

Description

@mman

Not sure what exactly is happening, but XCode 9 beta 3 started emitting this as a warning message:

Unavailable class method 'object()' was used to satisfy a requirement of protocol 'PFSubclassing'

and XCode 9 beta 4 marked this as an error making it impossible to even build the project.

Since PFSublcassing.object() is an optional requirement, commenting out the method in the PFSubclassing.h header files makes the project build again - assuming you do not rely on this functionality.

Could be a bug in the XCode 9 beta 4, could be an abuse of object() method in Parse iOS SDK.

Any thoughts how to fix this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions