简体   繁体   English

Cordovalib项目未使用Xcodebuild 6.1命令行构建

[英]Cordovalib project not getting built with Xcodebuild 6.1 command line

I created a sample cordova ios project using Cordova create command. 我使用Cordova create命令创建了一个示例cordova ios项目。 The project creation was successful and when I open the xcodeproj in Xcode and do a build, project builds fine. 项目创建成功,当我在Xcode中打开xcodeproj并进行构建时,项目构建正常。 When I try to use the xcodebuild command line tool to build the same project, it fails with the below exception. 当我尝试使用xcodebuild命令行工具构建相同的项目时,它失败并出现以下异常。

BUILD TARGET CordovaLib OF PROJECT CordovaLib WITH THE DEFAULT CONFIGURATION (Release) ===        
Check dependencies 2014-10-29 16:48:34.568 xcodebuild[74489:5403] -[DTDKProvisioningProfile identitySigningCertificates]: unrecognized selector sent to instance 0x7fae6cdcce10 
** INTERNAL ERROR: Uncaught exception ** Exception: -[DTDKProvisioningProfile identitySigningCertificates]: unrecognized selector sent to instance 0x7fae6cdcce10

Tried with both Cordova version : 2.9.1 and 3.6.3 Xcode version : 6.1 Mac OS X version : 10.9.5 尝试使用Cordova版本:2.9.1和3.6.3 Xcode版本:6.1 Mac OS X版本:10.9.5

I tried removing Xcode completely and installed a fresh Xcode 6.1 version from app store. 我尝试完全删除Xcode,并从应用程序商店安装了新的Xcode 6.1版本。 It started working after that. 之后,它开始工作。 Earlier I had multiple versions of sdk like 7.1, 8.0, 8.1 and now that I have 8.1 alone, I don't see this issue anymore 之前我有sdk的多个版本,例如7.1、8.0、8.1,而现在我只有8.1,所以我不再看到此问题

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM