我正在使用 Siri Shortcuts 开发 iOS objc 应用程序。我让一切正常工作,但是当我添加一个 Intents 扩展(以处理后台支持)并尝试运行该应用程序时,我得到了一个错误。
Intent Extension 的 IntentHandler 只有默认实现。
错误:
Exiting early, found no Swift version in executables.
error: unable to open dependencies file (/.../.../Library/Developer/Xcode/DerivedData/.../Build/Intermediates.noindex/App Name.build/Debug-iphoneos/ShortcutExtension.build/SwiftStdLibToolInputDependencies.dep)
在构建阶段:
扩展包含在目标依赖项中。
扩展包含在嵌入应用扩展中。
ps:清除DerivedData,清理构建,清理项目并重新启动不起作用。
我真的不知道如何解决这个问题。希望有人可以帮助我!