문제

I have an app that stores data in the keychain which will be periodically updated. Unsurprisingly, whenever I update the application, keychain once again requires the user's permission for that build. However, keychain does not permit modification (either removing items or overwriting the contents).

Obviously this is a big problem for keychain items that need to be periodically updated.

I have absolutely no issue editing/deleting/modifying keychain items with the same build number.

Any ideas?


[Edit: Additions removed]

See my own answer below.

도움이 되었습니까?

해결책

The issue with this program is specific to the development machine. Since I was receiving the update in the /Applications/ folder and was testing the update in the build directory, keychain saw two applications in different locations trying to access the same secure credentials.I do not have a way to test if this theory is the actual cause since neither keychain or sandbox spat errors.

However, deleting the applications and their keys fixed the problem.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top