Fixing use of undeclared type '_ArrayProtocol'

Mar 28, 2017

swift, native, iOS

Apple just released Xcode 8.3 and Swift 3.1 and with it _ArrayProtocol is now gone so you’d need to switch:

From:

extension _ArrayProtocol where Iterator.Element == Int { }

To:

extension Array where Element == Int { }

Go “Find all and Replace” :)