Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

馃憥 linker command failed with exit code 1 (use -v to see invocation) #82

Open
hmelino opened this issue Mar 22, 2019 · 2 comments
Open

Comments

@hmelino
Copy link

hmelino commented Mar 22, 2019

My project crash with this error code
馃憥 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)")
                
            }
        }
    }

}
@klefevre
Copy link
Contributor

klefevre commented May 3, 2019

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.

@hmelino
Copy link
Author

hmelino commented May 13, 2019

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 :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants