开发者

Saving a password in keychain on simulator

In my iPod touch app I am using a library which stores a password in the keychain for future use. Now, this works fine on device but not on simulator.

Is that so there is no key chain in simulator... Shouldn't it point to MAC machine's key c开发者_运维问答hain? Is there any setting I need to do for this?


on simulator, the apps arent signed and hence you are having this problem. check out apples 'GenericKeychain' example - this allows for use both in simulator and on device.

Here it is for your disposal - im using it and works a treat


Use this https://github.com/ldandersen/scifihifi-iphone/tree/master/security/ That does exactly what you want.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜