When opening the project in Xcode 8, it prompts to update/convert the Swift syntax. After doing this, the project won't build. There are two errors:
/Users/demitri/Documents/Repositories/GitHub/symbolicator/symbolicator/ArchiveHandler.swift:78:65: error: cannot call value of non-function type 'Any?!'
if let applicationProperties: AnyObject = plistContents.object(forKey: "ApplicationProperties") {
~~~~~~~~~~~~~~~~~~~~^
/Users/demitri/Documents/Repositories/GitHub/symbolicator/symbolicator/ArchiveHandler.swift:119:53: error: binary operator '==' cannot be applied to operands of type 'NSObject?' and 'FileAttributeType'
if attributes[FileAttributeKey.type] as? NSObject == FileAttributeType.typeDirectory {
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/demitri/Documents/Repositories/GitHub/symbolicator/symbolicator/ArchiveHandler.swift:119:53: note: overloads for '==' exist with these partially matching parameter lists: (T, T), (T?, T?), (T?, _OptionalNilComparisonType), (Self, Self)
if attributes[FileAttributeKey.type] as? NSObject == FileAttributeType.typeDirectory {
^
When opening the project in Xcode 8, it prompts to update/convert the Swift syntax. After doing this, the project won't build. There are two errors: