Update podspec to 6.1, migrate to XCTest, fix project config for new Cocoapods version.