0

I have downloaded and included the SSKeychain files into my iOS project. I am coding with the iOS 6.1 SDK in xcode 4.6. I have used a button to take the username and password UITextFields and store them as a keychain account like so:

- (IBAction)button_register {
    [SSKeychain setPassword:username_reg.text forService:@"myapp" account:password_reg.text];
}

button_register is just the action linked to the register button. And username_reg is the UITextField on the registrations screen, and likewise for the password_reg.

However, when I go to execute and run my app to see if it will build, I encounter an error like this:

enter image description here

I have absolutely no idea what this means, anyone with more experience that could enlighten me would be appreciated.

E.Cross
  • 2,087
  • 5
  • 31
  • 39
  • "I have absolutely no idea what this means" - have you tried googling the error message? That usually helps, especially in the case of such simple errors. –  Oct 27 '13 at 20:17
  • Yes I did try that of course, I wouldn't be posting here if I hadn't – E.Cross Oct 27 '13 at 20:18
  • 1
    Nice. The error message tells you that the `SSKeychain` class is not being linked to your executable. Chances are you haven't added this class to the files to be compiled/linked. –  Oct 27 '13 at 20:19

1 Answers1

0

Ah, I hadn't added the files into the compile sources. Fixed.

linker command failed with exit code 1 - iOS

Community
  • 1
  • 1
E.Cross
  • 2,087
  • 5
  • 31
  • 39