Great! Android's procedure seems like a dream compared to iOS'. To make it similar to Android/BB, the tool will need to parse the .pbxproj and read what is set for it to code sign (prov profile, cert).
On Tue, Sep 4, 2012 at 11:48 AM, Filip Maj <f...@adobe.com> wrote: > 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)" <j...@apache.org> 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}² >>{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 >