Closed dccarmo closed 2 years ago
Hi dccarmo,
thanks for reporting this. We discussed this in https://github.com/trivago/Heimdallr.swift/pull/95 and it seems to be a problem on Apple's side. Just to be sure: Heimdallr does not work for you in an application on Simulator AND Device?
@hffmnn and @dccarmo I'm experiencing the same issue. Heimdallr works on device but not on simulator for me.
@dccarmo @Ingibjorg OK, then it is the same bug as @dccarmo linked in his initial comment (we have the same problem on our Applications project Xcode 8 branch). To workaround this issue, you can follow the forum threads.
I guess, currently we can't do anything from our site.
I wasn't able to test because I can't Unit Test my framework in a device, but I'm assuming it should work.
I was having issues authenticating my requests, and after spending some time debugging I found out that the issue is that the Keychain was giving an error when storing a new value. Apparently this is a known issue with iOS 10, there are some threads discussing this here:
https://forums.developer.apple.com/message/179846
https://forums.developer.apple.com/thread/51071
Workaround usually is to add the Keychain Entitlement, but it doesn't solve in my case because I use Heimdallr in a framework.
Thought I'd create this here if anyone else is running into the same issues (Heimdallr doesn't seem to be reporting this error.)