Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个突然变坏的 xcode 项目。我只能在物理设备上运行一次,然后才会忘记设备已连接并且在我选择的方案旁边仅提供“iOS 设备”。更糟糕的是,无故取消了 2/3 的构建:
如果我再次尝试重建或运行(在模拟器或设备上)几次,最终它会起作用。但没有明确的模式。
有什么想法可能是错的吗?我目前在 Retina MBP 上使用 Xcode 4.6.1。
您还应该尝试删除派生数据 - 转到 Xcode 的管理器,单击项目,单击您的项目,然后点击删除按钮,其中显示“派生数据”。