-
-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Keychain errors when sideloading #50
Comments
Which method of distribution are you using? App Store, TestFlight, sideloaded (.ipa/.app) or self-built? |
Sideloaded through Altstore, with all extensions. I have a developer account. |
Yeah, that could be the issue - I'm guessing the Can you try sideloading with SideStore or Sideloadly? |
Ill try it with SideStore, but regardless, why can't we store this locally rather than on the keychain. I would prefer to use AltStore, since I already have all of my apps there. |
Same issue with SideStore. Seems like sideloading in general is broken. Testflight works fine though. |
Harbour is using the Keychain as it's the preferred method of storing secrets on Apple devices + it syncs between platforms. Every app has access to it's own container (or a group container, when it needs to share contents between various targets, for example app <-> widgets). Harbour is using the latter, which needs to specify the id of the container (Shared/Extensions/KeychainKit/Keychain+.swift) and have the appropriate entitlement - Can you check what's the application identifier of sideloaded Harbour and whether it has App Groups capability enabled? You can check it on the Apple Developer website. |
Sorry for the delay, it does have the App Groups capability. |
can you replace the |
Sorry, I don't actually know how to do that :/ |
Can you provide me Your Bundle ID then? I'll send you the (possibly) fixed build |
xyz.shameful.Harbour.3VTF3L32BZ (explicit) Let's hope this works! |
Replicated - unfortunately, just swapping the value in .plist files won't fix it. I'll see what I can do! |
I ended up buying the app to support the project, but I am still willing to test any fixes |
Failed to load token: KeychainKit.Keychain.SecError(status: -34018)
The above is the error I am seeing in the logs. I can add the credentials just fine, but whenever I close the app and reopen it, the credentials go blank. Obviously we want to keep the credentials on the device so that the user can come back without having to add them often.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
To be able to connect properly even when opening the app again.
The text was updated successfully, but these errors were encountered: