My app uses @Jason King 's excellent iOSKit. I use the KeychainServices class to store the username and password for my app. While my app is working fine on iOS 10 devices, the KeychainServices class is either no longer storing, or no longer returning, data in the iOS 10 simulator.
I was wondering whether anyone else might have come across this issue and whether you found a solution?
Thank you Jason and I did find this when googling myself. However I don’t get an error -34018 or otherwise and adding the share keychain entitlement in Xojo doesn’t change the behaviour. Are you experiencing the same issue?
Back when I was testing the class it was iOS7/8 so its not been tested (by me) recently. If there are issues with the simulator I would guess it still works on a res device. This was frequently the case, especially with avfoundation classes and some of the picture access/sharing. I always viewed the simulator as a good way to test if my app compiled and that was about it before launching the lengthier compile to target my phone. If its a build settings thing then we might need a feedback request to have that work, at which point good luck maybe in 3-4 years.
Yes its not an issue on actual devices so I get around it in the simulator by hard-coding values if DebugBuild. Personally, I wouldnt waste my time on a Feedback case. Whats that oft-quoted (but incorrect) definition of insanity? Doing the same thing over and over and expecting different results…
Thank you, Jasons!
Well yes: It works on a real device. It still is a bit annoying that you can only run it on a Simulator device <= iOS 9, but anyway: Better this way than the opposite