打包找不到证书问题

xcode12.4 Verify that your build process has compiled binaries and copied in bundled resources.

打包的时候找不到证书,这是什么情况

1.一开始少导了阿里云的库,报了缺少库文件的问题,在网上搜了很多帖子,说是把arm64删掉就好了,我就试了下,没错,这个问题是没有了,然后打包,就找不到证书了,

Xcode12适配The linked library is missing one or more architectures required by this target问题


后面请教了公司的一位大佬,导入库

然后抛出一个lua溢出的异常,让我有点摸不到头脑,什么时候iOS开发报过这种错误,


,在Target-Build Settings-Excluded Architectures中添加以下代码

EXCLUDED_ARCHS__EFFECTIVE_PLATFORM_SUFFIX_simulator__NATIVE_ARCH_64_BIT_x86_64=arm64 arm64e armv7 armv7s armv6 armv8EXCLUDED_ARCHS=$(inherited)$(EXCLUDED_ARCHS__EFFECTIVE_PLATFORM_SUFFIX_$(EFFECTIVE_PLATFORM_SUFFIX)__NATIVE_ARCH_64_BIT_$(NATIVE_ARCH_64_BIT))

这个问题就解决了

你可能感兴趣的:(打包找不到证书问题)