Post not yet marked as solved
Hi,I have selected my team under sign in Xcode but after selecting my team I get the following error message:Failed to create provisioning profileHow can I solve this without a physical iPhone?Thank you for your help.Sven
Post not yet marked as solved
Hello,I search for an pop3/imap library that works on swift 4 or later for an macOS App. I have tried Postal but it don't work for me.I would be very happy if someone knows a very good and if possible a free library that works on Swift 4 or later.Greetings,Sven
Post not yet marked as solved
Hello,I am new in this forum and I hope I get help here.When I use the following code I get only "ENDED" but nothing else back in the console. No error message. What I am doing wrong?A happy New Year to all.Greetings,Svenimport Foundation
import Postal
let postal : Postal = Postal(configuration: Configuration(hostname: "email.none.none", port: 993, login: "none@none.none", password: .plain("test"), connectionType: .tls, checkCertificateEnabled: true, batchSize: 1000, spamFolderName: "junk"))
func getEmail() {
let indexset = IndexSet(integer: 1)
postal.fetchMessages("INBOX", uids: indexset, flags: [ .headers ], onMessage: { email in
print("new email received: \(email)")
}, onComplete: { error in
if error == error {
print("an error occured: \(error)")
}
})
}
postal.connect { result in
switch result {
case .success:
getEmail()
case .failure(let error):
print("error: \(error)")
}
}
print("ENDED")