Posted on November 24th, 2015 by Vishwanath Vallamkondi
To check memory related issues in iOS applications, in xcode there is an option to enable zombie, which keeps tracks on the memory issues. The below steps explains you about enabling zombie in Xcode 4 and above. 1) Press command + Alt + R. 2) A window is opened, goto to Diagnostics Tab. 3) Select […]
Posted on November 23rd, 2015 by Ashis Kumar
Steps to Build and Run a Project in Simulator in PhoneGap 1.1.0 using XCode 3.2.6 1. Create a new PhoneGap based Xcode project. 2. Now in the xcode open the “PhoneGap.plist” under “resources” and check for these : `root DetectPhoneNumber – yes EnableAcceleration – yes AutoHideSplashScreen – yes ShowSplashScreenSpinner – yes rest are not selected […]
Posted on November 23rd, 2015 by Ashis Kumar
Steps to Build and Run a Project in Device in PhoneGap 1.1.0 using XCode 3.2.6 1. Connect your device to the MAC m/c. if Xcode displays the “unknown iOS detected” dialog, let the Xcode collect the information about the iOS version by clicking “collect”. 2. Now launch “Keychain Access”. application -> utilities -> keychain access. […]
Posted on November 23rd, 2015 by Ashis Kumar
Introduction: Archiving application for the release with PhoneGap 2.9.0 in XCode 4.6.3 got failed with some File Not Found Error for libCordova.a. Description: While using PhoneGap 2.9.0 to develop an application for IOS Platform,I came across a strange issue. The developed application is working perfectly in simulator as well as debug fine in IOS device. […]
Posted on November 23rd, 2015 by Santosh Sinha
How to build multiple “Xcode” projects using shell script. We are often in a situation where our Mac project involves several XCode projects and building them individually can be a lot of effort. If you are a build engineer the following shell script can be handy. Example :- Step 1.1 – Absolute source path of […]
Posted on November 23rd, 2015 by Santosh Sinha
Step 1 – Create the Shell Script. 1.1 First create a shell script file(test.sh) . 1.2 Write the code for deleting all the files belonging to your application in the shell script file, 1.3 Set the necessary privilege to “test.sh” file”. example: – -> sudo rm -rf /Applications/TestApp.app -> sudo rm -rf /Library/Preferences/Menus.plist -> sudo […]
Posted on November 23rd, 2015 by Manish Misra
Let me first explain what dead code is Dead – Code ( Unreachable code ) :- It is the part of the program that is never executed, because the control flow never reaches it. Example of Dead Code :- int f (int x, int y) { return x+y; int z=x*y; }. In this […]