[ 
https://issues.apache.org/jira/browse/CB-1369?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Shazron Abdullah resolved CB-1369.
----------------------------------
    Resolution: Duplicate
      Assignee: Shazron Abdullah

This is already done by "cordova build [--debug]" and "cordova build 
--release", and the certs used are set by the build*.xcconfig files.

There is an work in progress issue where cordova packaging is being worked on 
as well.

> 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: New Feature
>          Components: CLI, iOS
>            Reporter: Shazron Abdullah
>            Assignee: Shazron Abdullah
>            Priority: Minor
>
> 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}”
> {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 was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to