Module compiled with Swift 4.0 cannot be imported in Swift 4.0.1

Update: For release versions of Xcode: This error (and similar errors involving Swift 4.1, 4.2, etc.) will occur when opening a project with Xcode 9.1, 9.2, 9.3, 9.4, 10, etc. that uses frameworks that were built with earlier Xcode tools. To fix the issue, update and rebuild your frameworks using Carthage ( carthage update –platform … Read more

iOS 11: ATS (App Transport Security) no longer accepts custom anchor certs?

Some time ago macOS started enforcing a requirement that CA certificates can’t also be used as end-entity (eg webserver) certificates. Is it possible that iOS added this requirement between 10 and 11? If so, the workaround is simple: you create your self-signed CA certificate, and use that certificate to issue the webserver certificate. The CA … Read more

CredStore Perform Query error

This error occurs when trying to retrieve an URLCredential from URLCredentialStorage for an unknown URLProtectionSpace. e.g. let protectionSpace = URLProtectionSpace.init(host: host, port: port, protocol: “http”, realm: nil, authenticationMethod: nil) var credential: URLCredential? = URLCredentialStorage.shared.defaultCredential(for: protectionSpace) produces CredStore – performQuery – Error copying matching creds. Error=-25300, query={ class = inet; “m_Limit” = “m_LimitAll”; ptcl = http; … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)