cordova运行与ios错误..错误代码65命令:xcodebuild与args: [英] cordova run with ios error .. Error code 65 for command: xcodebuild with args:

查看:7330
本文介绍了cordova运行与ios错误..错误代码65命令:xcodebuild与args:的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我尝试 cordova run ios --device

即使在执行 cordova build ios 命令后,系统仍会报告无错误。

Even after cordova build ios command executed, non error is reported.

我做错了什么?如何在我的iPhone上调试cordova项目(需要这是因为需要测试一个相机功能)

Whats I do wrong? And how to debug cordova projects on my iPhone (need this because need to test a Camera feature)

WITH CONFIGURATION Debug ===

Check dependencies
Code Sign error: No provisioning profiles found: No non–expired provisioning profiles were found.

** BUILD FAILED **


The following build commands failed:
        Check dependencies
(1 failure)
Error code 65 for command: xcodebuild with args: -xcconfig,/Users/ridermansb/Projects/jdapp/platforms/ios/cordova/build-debug.xcconfig,-project,CorrijaMe.xcodeproj,ARCHS=armv7 armv7s arm64,-target,CorrijaMe,-configuration,Debug,-sdk,iphoneos,build,VALID_ARCHS=armv7 armv7s arm64,CONFIGURATION_BUILD_DIR=/Users/ridermansb/Projects/jdapp/platforms/ios/build/device,SHARED_PRECOMPS_DIR=/Users/ridermansb/Projects/jdapp/platforms/ios/build/sharedpch
ERROR running one or more of the platforms: Error: /Users/ridermansb/Projects/jdapp/platforms/ios/cordova/run: Command failed with exit code 2
You may not have the required environment or OS to run this project


推荐答案

在构建机器上需要一个开发配置概要文件。应用程序可以在没有配置文件的模拟器上运行,但必须在实际设备上运行。

You need a development provisioning profile on your build machine. Apps can run on the simulator without a profile, but they are required to run on an actual device.

如果您在Xcode中打开项目,它可能会自动设置配置为你。否则,您将必须创建转到iOS开发人员中心并创建一个配置文件。

If you open the project in Xcode, it may automatically set up provisioning for you. Otherwise you will have to create go to the iOS Dev Center and create a profile.

这篇关于cordova运行与ios错误..错误代码65命令:xcodebuild与args:的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆