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

查看:39
本文介绍了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天全站免登陆