如何解决由于包含本机模块 analytics.google,Appcelerator Studio 构建失败
当我们尝试在 iOS 模拟器上运行应用程序时,构建总是失败并显示以下错误-
[WARN] : The app is using native modules (ti.safaridialog,analytics.google) that do not support arm64 simulators,we will exclude arm64. This may fail if you're on an arm64 Apple Silicon device.
[ERROR] : 2021-06-04 11:00:55.176 xcodebuild[10841:1328412] [MT] PluginLoading: required plug-in compatibility UUID F56A1938-XXXXXXXX-493D-87EE6C415E4D for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/RSImageOptimPlugin.xcplugin' not present in DVTPlugInCompatibilityUUIDs
[ERROR] : ** BUILD Failed **
[ERROR] : The following build commands Failed:
[ERROR] : Ld /Users/amar/Documents/MyApp-Appcel-build/MyApp-New-Setup/build/iphone/build/Intermediates/Project.build/Debug-iphonesimulator/Project.build/Objects-normal/x86_64/Binary/Project normal x86_64
[ERROR] : (1 failure)
tiapp.xml-
<modules>
<module platform="iphone">ti.safaridialog</module>
<module platform="iphone">analytics.google</module>
</modules>
当我们移除 analytics.google 模块时,它构建得很好。
请提出建议。
Operating System
Name = macOS
Version = 11.3
Architecture = 64bit
# cpus = 4
Memory = 8589934592
Node.js
Node.js Version = 12.13.0
npm Version = 6.12.0
Titanium CLI
CLI Version = 5.3.2
Titanium SDK
SDK Version = 9.0.3.GA
SDK Path = /Users/amar/Library/Application Support/Titanium/mobilesdk/osx/9.0.3.GA
Target Platform = iphone
注意 - 之前我们能够构建相同的源代码,现在不确定是什么更新导致了这个问题。
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。