After updating to Xcode 14 xcodebuild failing with:
❌ error: Build service could not create build operation: internal error: could not generate PIF because the workspace has not finished loading or is still waiting for package resolution
Error also reported to SPM Git Hub
Post
Replies
Boosts
Views
Activity
Why Apple Pay ignores dankort on iOS 16?
func testNetworks() {
if #available(iOS 15.1, *) {
let request = PKPaymentRequest()
let collection: [PKPaymentNetwork] = [.dankort]
XCTAssertEqual(collection.count, 1)
request.supportedNetworks = collection
if #available(iOS 16.0, *) {
XCTAssertEqual(request.supportedNetworks.count, 0) // 🤷♂️
} else {
XCTAssertEqual(request.supportedNetworks.count, 1)
}
}
}