Ios 带有MicrosoftCognitiveServicesSpeech.framework的NativeScript

Ios 带有MicrosoftCognitiveServicesSpeech.framework的NativeScript,ios,azure,nativescript,Ios,Azure,Nativescript,我正在尝试为NativeScript iOS实现azure Speech SDK,但在生成过程中收到以下错误消息: ld: warning: ignoring file /Users/UserName/speechservice/nativescript-azure-cognitiveservices/platforms/ios/MicrosoftCognitiveServicesSpeech.framework/MicrosoftCognitiveServicesSpeech, missing

我正在尝试为NativeScript iOS实现azure Speech SDK,但在生成过程中收到以下错误消息:

ld: warning: ignoring file /Users/UserName/speechservice/nativescript-azure-cognitiveservices/platforms/ios/MicrosoftCognitiveServicesSpeech.framework/MicrosoftCognitiveServicesSpeech, missing required architecture i386 in file /Users/UserName/speechservice/nativescript-azure-cognitiveservices/platforms/ios/MicrosoftCognitiveServicesSpeech.framework/MicrosoftCognitiveServicesSpeech (2 slices)
我可以使用这项服务,但有这个问题。我已经创建了一个自定义插件&添加到
Podfile

pod 'MicrosoftCognitiveServicesSpeech-iOS', '~> 1.9.0'

因为它是
静态框架
,所以我添加了必要的
module.modulemap
。我可以使用该服务,但在构建过程中收到错误消息。此外,在apple
appstoreconnect
中显示的
此版本无效。
请提供任何建议?感谢

MicrosoftCognitiveServicesSpeech框架仅为
arm64
x86\u 64
构建。因此,通过
build.xcconfig
如下方式禁用
32位
体系结构:

VALID_ARCHS[sdk=iphoneos*] = arm64
VALID_ARCHS[sdk=iphonesimulator*] = x86_64

你在模拟器上运行吗?如果是的话,我猜框架与它不兼容。您可能需要下载一个通用的,可以同时支持模拟器和设备。谢谢回复。我可以使用该服务,但在构建过程中收到该错误消息。同样在苹果商店里,它显示了无效的版本。