_OBJC_类_$_KeychainItemWrapper在为iOS实现Keychain时出错
我已经创建了一个NSObject类KeychainItemWrapper.h/KeychainItemWrapper.m KeychainItemWrapper.h 代码取自: KeychainItemWrapper.m_OBJC_类_$_KeychainItemWrapper在为iOS实现Keychain时出错,ios,objective-c,xcode,keychain,keychainitemwrapper,Ios,Objective C,Xcode,Keychain,Keychainitemwrapper,我已经创建了一个NSObject类KeychainItemWrapper.h/KeychainItemWrapper.m KeychainItemWrapper.h 代码取自: KeychainItemWrapper.m KeychainItemWrapper *keychain = [[KeychainItemWrapper alloc] initWithIdentifier:@"BUNDLE_IDENTIFIER" accessGroup:nil]; 代码取自: 已添加安全性框架 应用程序
KeychainItemWrapper *keychain = [[KeychainItemWrapper alloc] initWithIdentifier:@"BUNDLE_IDENTIFIER" accessGroup:nil];
代码取自:
已添加安全性框架
应用程序>构建阶段>编译源代码:KeychainItemWrapper.m已存在
loginViewController.m
KeychainItemWrapper *keychain = [[KeychainItemWrapper alloc] initWithIdentifier:@"BUNDLE_IDENTIFIER" accessGroup:nil];
我在上面得到2个错误。你能帮忙吗
架构x86_64的未定义符号:“_OBJC_CLASS_$_KeychainItemWrapper”,引用自: 在LoginViewController.o ld中找不到架构x86_64的objc类引用clang:错误:链接器命令失败,退出 代码1(使用-v查看调用)
确保在目标中包含
KeychainItemWrapper.m
的可能重复。确保在目标中包含KeychainItemWrapper.m
的可能重复。