【问题标题】:How to sign for phonegap osx local build如何签署 phonegap osx 本地构建
【发布时间】:2014-08-25 05:24:31
【问题描述】:

我刚刚开始使用 osx,开始在我的 iphone 上进行本地部署。

我已经安装了 NPM,我可以毫无问题地创建项目,但是我无法部署到我的设备上。哦,我也安装了xcode。

Build settings from command line:
    ARCHS = armv7 armv7s arm64
    CONFIGURATION_BUILD_DIR = /Users/hutber/myapp/platforms/ios/build/device
    SDKROOT = iphoneos7.1
    VALID_ARCHS = armv7 armv7s arm64

Build settings from configuration file '/Users/hutber/myapp/platforms/ios/cordova/build.xcconfig':
    CODE_SIGN_IDENTITY = iPhone Developer

=== BUILD TARGET CordovaLib OF PROJECT CordovaLib WITH CONFIGURATION Debug ===

Check dependencies

=== BUILD TARGET Sex Diaries OF PROJECT Sex Diaries WITH CONFIGURATION Debug ===

Check dependencies
Code Sign error: No matching codesigning identity found: No codesigning identities     (i.e. certificate and private key pairs) matching “iPhone Developer” were found.
CodeSign error: code signing is required for product type 'Application' in SDK 'iOS 7.1'

** BUILD FAILED **


The following build commands failed:
Check dependencies
(1 failure)

真的没有线索,我在文档中也找不到任何东西......

【问题讨论】:

    标签: ios macos cordova


    【解决方案1】:

    如果您没有 Apple 开发者帐户(付费)。您无法将应用部署到手机或 .ipa 文件,只能部署 iOS 模拟器。

    也可以试试https://github.com/nomad/shenzhen

    【讨论】:

      【解决方案2】:

      最简单的方法是在 Xcode 中打开 Xcode 项目,并让它处理签名(或者至少指出你缺少什么;你确实有一个开发者帐户,对吗?)。

      在platforms/ios 目录下,应该有一个Xcode 项目文件,你可以从Xcode 打开它。请注意,下次您从 phonegap 为 iOS 构建时,您所做的任何编辑都将被覆盖(它采用通用代码并将其写入各种平台),因此您仍然必须按照以前的方式构建。

      【讨论】:

      • 我有一个开发帐户是的。但是,您无法在 xcode 中打开 phonegap 项目。至少这是我的理解。
      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2013-01-22
      • 1970-01-01
      • 2013-10-18
      • 2017-01-28
      • 2013-04-15
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多