ios - 更新到 Xcode 13,尝试在 iOS 但不是 macOS 上运行 SwiftUI 应用程序时获得唯一的错误代码

标签 ios xcode swiftui

当我尝试构建我的应用程序时,我收到以下错误:

Unable to find a profile type for platform iOS and purpose development. You may need to reinstall Xcode.


我立即做了,但它并没有解决问题。清理构建文件夹,重新启动,重新启动等也没有。有人遇到过这个吗?

最佳答案

我通过删除build设置中的“允许多平台构建”来解决此问题。

关于ios - 更新到 Xcode 13,尝试在 iOS 但不是 macOS 上运行 SwiftUI 应用程序时获得唯一的错误代码,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/69350634/

相关文章:

iphone - 在 ios 应用程序上安装 RestKit.FrameWork 缺少 libRestKit.a 文件,它是 RedColor?

swift - 引用实例方法需要等效性 (SWIFT)

ios - 在运行时或通过测试用例完成的静态数据验证

ios - 符号化本地构建的 iOS 应用程序的崩溃日志

xcode - 如何在 Xcode Debugger 中调用嵌套的 Swift 函数?

swift - 用户凭证 - 使用 Apple 登录 (SwiftUI)

swift - 无法将类型 '[array]' 的值转换为预期的参数类型 'Range<Int>'

ios - iOS 上的 UISearchController 不调用 cellForRowAtIndexPath

ios - 应用内购买框架的问题(体系结构 x86_64 的 undefined symbol )

objective-c - 如何将 block 的结果模拟为方法参数?