matthewpalmer / Locksmith

A powerful, protocol-oriented library for working with the keychain in Swift.
MIT License
2.92k stars 268 forks source link

Working locally but crashing in Testflight? #213

Closed gearoidoceallaigh closed 5 years ago

gearoidoceallaigh commented 5 years ago

My app is behaving without issue on local development but when I push to Testflight, its crashing on the following lines:

if (Locksmith.loadDataForUserAccount(userAccount: "customer") != nil) {
// do stuff
}

Interestingly, it only crashes for new devices - so any device which had installed the local build operates fine.

I have enabled keychain sharing on the Testflight target.

gearoidoceallaigh commented 5 years ago

Ignore me - a few testers hadn't updated to the new build which had enabled keychain sharing!