Skip to content

Commit 6edf988

Browse files
authored
Update references to moved Apple Developer Forums thread (#336)
1 parent 838b010 commit 6edf988

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ Valet guarantees that reading and writing operations will succeed as long as wri
206206
1. Initializing a Valet with shared access group Valet when the shared access group identifier is not in your entitlements file.
207207
1. Using `SecureEnclaveValet` on an iOS device that doesn’t have a Secure Enclave. The Secure Enclave was introduced with the [A7 chip](https://www.apple.com/business/docs/iOS_Security_Guide.pdf), which [first appeared](https://en.wikipedia.org/wiki/Apple_A7#Products_that_include_the_Apple_A7) in the iPhone 5S, iPad Air, and iPad Mini 2.
208208
1. Running your app in DEBUG from Xcode. Xcode sometimes does not properly sign your app, which causes a [failure to access keychain](https://github.com/square/Valet/issues/10#issuecomment-114408954) due to entitlements. If you run into this issue, just hit Run in Xcode again. This signing issue will not occur in properly signed (not DEBUG) builds.
209-
1. Running your app on device or in the simulator with a debugger attached may also [cause an entitlements error](https://forums.developer.apple.com/thread/4743) to be returned when reading from or writing to the keychain. To work around this issue on device, run the app without the debugger attached. After running once without the debugger attached the keychain will usually behave properly for a few runs with the debugger attached before the process needs to be repeated.
209+
1. Running your app on device or in the simulator with a debugger attached may also [cause an entitlements error](https://forums.developer.apple.com/forums/thread/4743) to be returned when reading from or writing to the keychain. To work around this issue on device, run the app without the debugger attached. After running once without the debugger attached the keychain will usually behave properly for a few runs with the debugger attached before the process needs to be repeated.
210210
1. Running your app or unit tests without the application-identifier entitlement. Xcode 8 introduced a requirement that all schemes must be signed with the application-identifier entitlement to access the keychain. To satisfy this requirement when running unit tests, your unit tests must be run inside of a host application.
211211
1. Attempting to write data larger than 4kb. The Keychain is built to securely store small secrets – writing large blobs is not supported by Apple's Security daemon.
212212

Sources/Valet/KeychainError.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ public enum KeychainError: Int, CaseIterable, CustomStringConvertible, Error, Eq
2727
case itemNotFound
2828
/// The application does not have the proper entitlements to perform the requested action.
2929
/// This may be due to an Apple Keychain bug. As a workaround try running on a device that is not attached to a debugger.
30-
/// - SeeAlso: https://forums.developer.apple.com/thread/4743
30+
/// - SeeAlso: https://forums.developer.apple.com/forums/thread/4743
3131
case missingEntitlement
3232
/// The key provided is empty.
3333
case emptyKey

0 commit comments

Comments
 (0)