Return-Path: X-Original-To: apmail-incubator-callback-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-callback-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 64516D9D6 for ; Tue, 4 Sep 2012 18:48:33 +0000 (UTC) Received: (qmail 4244 invoked by uid 500); 4 Sep 2012 18:48:33 -0000 Delivered-To: apmail-incubator-callback-dev-archive@incubator.apache.org Received: (qmail 4213 invoked by uid 500); 4 Sep 2012 18:48:33 -0000 Mailing-List: contact callback-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: callback-dev@incubator.apache.org Delivered-To: mailing list callback-dev@incubator.apache.org Received: (qmail 4202 invoked by uid 99); 4 Sep 2012 18:48:33 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Sep 2012 18:48:33 +0000 X-ASF-Spam-Status: No, hits=-2.3 required=5.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of fil@adobe.com designates 64.18.1.185 as permitted sender) Received: from [64.18.1.185] (HELO exprod6og103.obsmtp.com) (64.18.1.185) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Sep 2012 18:48:25 +0000 Received: from outbound-smtp-1.corp.adobe.com ([192.150.11.134]) by exprod6ob103.postini.com ([64.18.5.12]) with SMTP ID DSNKUEZM5Nv7NSeIyaRlLJK+vnURf4I72AXy@postini.com; Tue, 04 Sep 2012 11:48:04 PDT Received: from inner-relay-4.eur.adobe.com (inner-relay-4.adobe.com [193.104.215.14]) by outbound-smtp-1.corp.adobe.com (8.12.10/8.12.10) with ESMTP id q84IjUk0008598 for ; Tue, 4 Sep 2012 11:45:30 -0700 (PDT) Received: from nahub01.corp.adobe.com (nahub01.corp.adobe.com [10.8.189.97]) by inner-relay-4.eur.adobe.com (8.12.10/8.12.9) with ESMTP id q84Im1Yr016820 for ; Tue, 4 Sep 2012 11:48:02 -0700 (PDT) Received: from nambxv01a.corp.adobe.com ([10.8.189.95]) by nahub01.corp.adobe.com ([10.8.189.97]) with mapi; Tue, 4 Sep 2012 11:48:01 -0700 From: Filip Maj To: "callback-dev@incubator.apache.org" Date: Tue, 4 Sep 2012 11:48:11 -0700 Subject: Sign/Release app via CLI tools (was [jira] [Created] (CB-1369) CLI - add instructions and/or feature to sign an app) Thread-Topic: Sign/Release app via CLI tools (was [jira] [Created] (CB-1369) CLI - add instructions and/or feature to sign an app) Thread-Index: Ac2Kzc6BbeXMQYxrQ+ucC8FeiW4F4Q== Message-ID: In-Reply-To: <340493829.34106.1346784308050.JavaMail.jiratomcat@arcas> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Microsoft-MacOutlook/14.2.3.120616 acceptlanguage: en-US Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Definitely should bring up a common discussion about this! +1 ! People using the tools are already asking for it. Android's equivalent is cd into project and run "ant release". BlackBerry already has these bits in place. Not sure about Windows Phone. On 9/4/12 11:45 AM, "Shazron Abdullah (JIRA)" wrote: >Shazron Abdullah created CB-1369: >------------------------------------ > > Summary: CLI - add instructions and/or feature to sign an app > Key: CB-1369 > URL: https://issues.apache.org/jira/browse/CB-1369 > Project: Apache Cordova > Issue Type: Bug > Components: iOS > Reporter: Shazron Abdullah > Assignee: Shazron Abdullah > Priority: Minor > Fix For: 3.0.0 > > >This possibly needs a cross-platform discussion (common interface), but >for now we can provide docs on how to do this only for iOS which will >help ease writing this feature. > >Requirements for code signing: >- Distribution/Developer cert (cert + private key) >- Dist/Dev provisioning profile >- codesign tool (included in OS X) >- security tool (included in OS X) >- zip tool (included in OS X) > >OR (RECOMMENDED) > > we can just document xcrun. xcrun should be included in Xcode already: > >{code} >/usr/bin/xcrun -sdk iphoneos PackageApplication -v >"${RELEASE_BUILDDIR}/${APPLICATION_NAME}.app" -o >"${BUILD_HISTORY_DIR}/${APPLICATION_NAME}.ipa" --sign "${DEVELOPER_NAME}" >--embed "${PROVISONING_PROFILE}=B2 >{code} > >I don't see any reason we shouldn't just use xcrun. xcodebuild is just an >alias to xcrun, and we need xcodebuild to build the app. > > > >-- >This message is automatically generated by JIRA. >If you think it was sent incorrectly, please contact your JIRA >administrators >For more information on JIRA, see: http://www.atlassian.com/software/jira