When trying to do a fresh post-checkout build, a large number of build warnings and error are thrown around the uses of NS_ENUM and NS_OPTIONS (e.g. NS_ENUM(NSUInteger, PKRevealControllerState) and NS_OPTIONS(NSUInteger, PKRevealControllerType).
Errors include things like:
type specifier missing, defaults to 'int'
expected ';' after top level declarator
expected ')'
typedef redefinition with different types ('NS_ENUM' (aka 'int (NSUInteger, int)') vs 'unsigned int')
unknown type name 'PKRevealControllerState'; did you mean 'PKRevealController'?
When trying to do a fresh post-checkout build, a large number of build warnings and error are thrown around the uses of
NS_ENUM
andNS_OPTIONS
(e.g.NS_ENUM(NSUInteger, PKRevealControllerState)
andNS_OPTIONS(NSUInteger, PKRevealControllerType)
.Errors include things like:
type specifier missing, defaults to 'int'
expected ';' after top level declarator
expected ')'
typedef redefinition with different types ('NS_ENUM' (aka 'int (NSUInteger, int)') vs 'unsigned int')
unknown type name 'PKRevealControllerState'; did you mean 'PKRevealController'?