Skip to main content

Posts

Showing posts with the label xcode

Building xCode project and generating IPA file using Ant

Following is the procedure to generate IPA file. Under “project settings” change “derived data location” to “project-relative”, and make it "DerivedData/dist/". If you want any other location, change the same in the code. This will be the location where ".app" file and all other project info is stored. Set the values to the fields in CAPITAL LETTERS, and save the file as build.xml ----------------------------------------------- <project default="buildAndPackage" basedir="." name="APP-FOLDER"> <property name="local.projectPath" location="WHERE THE PROJECT IS LOCATED" /> <property name="local.ipaPath" location="WHERE TO SAVE THE IPA FILE" /> <property name="app.id" value="APP-ID" /> <property name="scheme" value="APP-SCHEME(MOSTLY APP-ID)" /> <property name="version" value="VERSION-NO" />...

ChildBrowser iOS xCode

Today I tried to simplify the ChildBrowser execution in xCode, which I follwed earlier. To my surprise, I don't need to do anything rather than simply ignoring some steps. Here is the procedure: Download the ChildBrowser plugins here . Start xCode and create a phonegap-based application. In Supporting Files > PhoneGap.plist, add under Plugins (click the down arrow to the left of Plugins, then click on the + symbol to open a new row): Key: ChildBrowserCommand Type: String (default) Value: ChildBrowserCommand  You need to associate your external URLs on this page, too. In Supporting Files > PhoneGap.plist, add them under ExternalHosts, like: Key: Item 0 Type: String (default) Value:  * or whatever URL you are using in the code(* is enough) Right-click on the Plugins folder in Xcode and select to “Add Files to…” the folder. Navigate to the phonegap-plugins > iPhone > Childbrowser folder, and select the ChildBrowser folder. Check “Copy items i...