只是简单的想实例化一个AVLoginViewController
self.window.rootViewController = [[AVLogInViewController alloc] init];
就无法编译,报错信息:
ld: warning: ignoring file /Users/xxx/Development/IOS/ElevenEleven/Pods/AVOSCloudUI/iOS/release-v2.1.2/AVOSCloudUI.framework/AVOSCloudUI, missing required architecture x86_64 in file /Users/xxx/Development/IOS/ElevenEleven/Pods/AVOSCloudUI/iOS/release-v2.1.2/AVOSCloudUI.framework/AVOSCloudUI (3 slices)
Undefined symbols for architecture x86_64:
"OBJC_CLASS$_AVLogInViewController", referenced from:
objc-class-ref in AppDelegate.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
我记得官网的DEMO可以啊,你不行就是你的问题了。。。你以前是否运行成功过?
这个是编译错误。
你的AppDelegate当中没有import这个AVLoginViewController?
这和architecture没关系。
苹果发布的时候已经发表声明开发者不用在32bit or 64bit的区别上下功夫。