KeyChain integration causing crash with “missing entitlement” error — via command line builds
问题 I'm having a problem with some KeyChain code causing archives created via xcodebuild to crash when distributed as ad-hoc apps and run on a device. The problem does not affect builds created via Xcode -- only those created via command line. The code that is throwing the error: (I'm using a KeyChain library found here) KeychainItemWrapper *keychain = [[KeychainItemWrapper alloc] initWithIdentifier:@"myapp" accessGroup:nil]; NSString *testKeychain = (NSString *)[keychain objectForKey:(__bridge