:-1: linker command failed with exit code 1 (use -v to see invocation)
My project crash with this error code :-1: linker command failed with exit code 1 (use -v to see invocation)
its brand new project with only Postal implemented and 1 function to ''connect''. Could anybody please help
import UIKit
import Postal
class ViewController: UIViewController {
override func viewDidLoad() {
super.viewDidLoad()
postaloTest()
}
let login = "[email protected]"
let password = "password123"
func postaloTest (){
let postal = Postal(configuration: .icloud(login: login, password: password))
postal.connect { result in
switch result {
case .success:
print("success")
case .failure(let error):
print("error: \(error)")
}
}
}
}
Hello, I had a similar issue when I was working on #85 and fixed it. Could you give a try? Note that I haven't yet made a release, therefore the fix isn't yet available on Cocoapod. Thanks.
Hello klefevre. Thank you for fix, however I am unable to test it as I am quite new to Swift and over last few days I have been trying to manually implement Postal to my Xcode project, but always failed with new error. Hopefully Cocoapods version will be released soon :)