error: Building for iOS, but the linked and embedded framework 'AliyunNlsSdk.framework' was built for iOS + iOS Simulator. (in target 'Unity-iPhone' from project 'Unity-iPhone')
此报错为AliyunNlsSdk.framework中包含了x86架构 M1现在不支持了 需要移除 移除操作:
'''
lipo -info AliyunNlsSdk.framework/AliyunNlsSdk
lipo AliyunNlsSdk.framework/AliyunNlsSdk -thin armv7 -output AliyunNlsSdk_armv7
lipo AliyunNlsSdk.framework/AliyunNlsSdk -thin arm64 -output AliyunNlsSdk_arm64
lipo -create AliyunNlsSdk_armv7 AliyunNlsSdk_arm64 -output AliyunNlsSdk
'''
将 AliyunNlsSdk.framework中的AliyunNlsSdk替换为新生成的AliyunNlsSdk即可 其他库有这种问题同理处理