incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shazron Abdullah (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CB-1369) CLI - add instructions and/or feature to sign an app
Date Tue, 04 Sep 2012 18:45:07 GMT
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}”
{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

Mime
View raw message