[ https://issues.apache.org/jira/browse/CB-1369?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13447953#comment-13447953 ]
Shazron Abdullah commented on CB-1369: -------------------------------------- Discussion started in the callback-dev ML: http://apache.markmail.org/thread/xxlmjjzgnctvsqnm We should make it work similar to how Android/BB does it (read the settings from the config). The iOS tool should read the provisioning profile and cert to use from the .xcodeproj/.pbxproj > 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