作者:何氏眼科-李剑华_951_745 | 来源:互联网 | 2023-09-17 13:36
I made the app in Xcode 4.6 and tested in device. The app is made for both iPhone and iPad. When I try to archive it to make .ipa file, I get this error :
我在Xcode 4.6上做了这个应用,并在设备上进行了测试。这款应用是为iPhone和iPad设计的。当我试图将它归档到make .ipa文件时,我得到了这个错误:
ld: file is universal (3 slices) but does not contain a(n) armv7s slice: /Users/admin/Desktop/appName/appName/libzbar.a for architecture armv7s
clang: error: linker command failed with exit code 1 (use -v to see invocation)
How to set the architecture for this in Build Settings? Or is there some different issue?
如何在构建设置中为其设置架构?或者有什么不同的问题吗?
1 个解决方案