作者:Xx--尐尐尐尐情绪 | 来源:互联网 | 2023-09-14 01:10
Ihavecreatedonelibraryproject,inthatiamtryingtoTwittersharing.ButwhenitriedtoonT
I have created one library project, in that i am trying to Twitter sharing. But when i tried to on Twitter the application is crashes at following line
我创建了一个图书馆项目,因为我正在尝试Twitter共享。但当我尝试在Twitter上时,应用程序崩溃在以下行
NSString *_oAuthNOnce= [NSString ab_GUID];
by error:
+[NSString ab_GUID]: unrecognized selector sent to class 0x1a09fd8
+ [NSString ab_GUID]:发送到类0x1a09fd8的无法识别的选择器
ab_GUID this method is present in OAuthCore
class
ab_GUID此方法存在于OAuthCore类中
+ (NSString *)ab_GUID
{
CFUUIDRef u = CFUUIDCreate(kCFAllocatorDefault);
CFStringRef s = CFUUIDCreateString(kCFAllocatorDefault, u);
CFRelease(u);
return [(NSString *)s autorelease];
}
(My all classes are present in static Library)
(我的所有类都出现在静态库中)
2 个解决方案