Xcode 7 构建失败并出现错误 "OS X xib do not support target device type iPhone"

Xcode 7 Build failed with Error "OS X xib do not support target device type iPhone"

我的项目在 XCode 6 中运行良好。但是,当我在 xCode7 Beta 中构建我的项目时,我看到以下错误消息:

OS X xib do not support target device type iPhone

请帮我解决这个错误。

GTMOAuthWindow.xib 文件在 GDriveLibrary 中用于制作基于 Mac 的 Application.This 对于制作 iOS 应用程序不是必需的。我已经从我的项目中删除了这个 class,然后为我工作。 因此,如果您在 iOS 应用程序中使用任何 OS X xib,请删除该文件。