简体   繁体   English

在ios设备上运行phonegap应用

[英]Running a phonegap app on an ios device

I am trying to run a phonegap app on my ios device and I am failing miserably. 我试图在ios设备上运行phonegap应用程序,但我失败了。 I realized that when i did 'phonegap run ios' my application was failing silently so I installed the ios-deploy package with the perm-unsafe=true flag but that didn't work. 我意识到,当我执行“ phonegap run ios”时,我的应用程序无声地失败了,所以我安装了带有perm-unsafe = true标志的ios-deploy程序包,但这没有用。 Following that I tried opening the xcode.proj file on xcode and simulating, it worked on my first try however when i try to rebuild and resimulate again I am getting a 之后,我尝试在xcode上打开xcode.proj文件并进行模拟,它在我的第一次尝试中起作用,但是当我尝试重新构建并重新模拟时,我得到了

The entitlements specified in your application's Code Signing Entitlements file do not match those specified in your provisioning profile. 在应用程序的代码签名权利文件中指定的权利与在配置文件中指定的权利不匹配。 (0xE8008016). (0xE8008016)。

error. 错误。 Has anyone encountered this? 有人遇到过这个吗? Oh, and my simulators work fine both from command line and from xcode, it is the real device simulation I am having issues with! 哦,我的模拟器从命令行和xcode都可以正常工作,这是我遇到问题的真实设备模拟!

Thanks! 谢谢!

Did you include the '--device' flag? 您是否添加了“ --device”标志? Something like: phonegap run ios --device 像这样:phonegap运行ios --device

Your id (like com.bokesoft.ceo) in config.xml does not match the provisioningProfile you provided. 您在config.xml中的ID(例如com.bokesoft.ceo)与您提供的ProvisioningProfile不匹配。

  • What is your id? 你的身份证是什么?
  • What is your provisioningProfile ? 您的ProvisioningProfile是什么?
  • Do you hava a file in ~/Library/MobileDevice/Provisioning\\ Profiles/ ? 您是否在〜/ Library / MobileDevice / Provisioning \\ Profiles /中拥有文件?

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

相关问题 cordova / phonegap应用中的(iOS8)设备上没有HTML5音频 - No HTML5 audio on (iOS8) device in cordova/phonegap app phonegap iOS应用程序可在模拟器上运行,但不能在设备上运行。 如何调试 - phonegap iOS app working on simulator but not in device. How to debug Urban Airship Phonegap插件未在iOS应用上注册设备令牌 - Urban Airship Phonegap plugin not registering device token on iOS app iOS数据库应用程序(phonegap)-在模拟器上运行,但在设备上不运行 - IOS database app(phonegap)- working on simulator but not working on device Phonegap / Cordova App设备检测无法在iOS上运行 - Phonegap/Cordova App device detection isn't working on iOS 在PhoneGap应用程序和MessgeUI.framework只在iOS设备崩溃 - In PhoneGap app and MessgeUI.framework crash in only iOS device iOS iPhone Phonegap HTML App滚动条和设备宽度问题 - iOS iPhone Phonegap HTML App scrollbar and device width issue 适用于iOs的phoneGap应用程序:如果应用程序在xCode设备模拟器中有效 - phoneGap app for iOs: if application works in xCode device emulator Ionic 4 在 iOS 设备上运行应用程序时出现电容器错误 - Ionic 4 running app on iOS device error with capacitor 在锁定iOS设备的同时保持应用程序运行? - Keep app running while iOS device locked?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM