First you need to install pear -HOW TO?-
Then run the following commands in Terminal.
sudo pear config-set auto_discover 1 sudo pear install pear.phpunit.de/PHPUnit sudo pear install phpunit/PHPUnit_Selenium
The last command is to install Selenium packages for PHPUnit. You might want to add more packages. You could find them here.
Just run the following commands in Terminal.
sudo php /usr/lib/php/install-pear-nozlib.phar sudo pear config-set php_ini /private/etc/php.ini sudo pecl config-set php_ini /private/etc/php.ini sudo pear upgrade-all
It seems that Xcode does not support Auto Increment Build number by default, that’s another reason for me to HATE Xcode.
Anyway, I found that it’s possible to create a build phase script (-HOW?-) and put some script to change the build number on each build. Below you can find the script.
TARGET="$PROJECT_DIR/REPLACE WITH PROJECT FOLDER/REPLACE WITH PROJECT NAME-Info.plist" echo $TARGET if [ ! -f "$TARGET" ]; then echo "missing file $TARGET" exit 1; fi #!/bin/bash buildNumber=$(/usr/libexec/PlistBuddy -c "Print CFBundleVersion" "$TARGET") buildNumber=$(($buildNumber + 1)) /usr/libexec/PlistBuddy -c "Set :CFBundleVersion $buildNumber" "$TARGET"
There is a huge number of users who facing “Blue Question Mark” when trying to download an app in Installous. Unfortunately mine is working fine so it’s hard to bring a solution for it!
Randy upload the following screen shot on our Facebook Page showing the blue question mark when he try to download an app!
Any idea about that?
Update: It seems that this is because of heavy load on download provider websites such as Mediafire.
Warning About installous
You probably now that iPhone 4S and iPad2 are jailbreakable now! Here I’m not going to teach you to how to jailbreak your iPhone or iPad, because there are several hundreds websites which has the same!!
Instead I want to tell you how you can install Installous to test drive paid apps for free before you actually buy those. creacking Apple app installation mechanism is easy, Thanks to Hackulo.us (Guys behind the Installous). Follow me
That’s it!
Here is some useful links
And Also if you have problem with go ahead and read the following
If you can’t send message via iMessage try the following solution hope it will fix the problem.
After jail breaking your device the next step is to install Appsync.
The process
Today while I try to update my iPhone (3GS) to iOS 5.0 beta 1, I get error 3002! fortunately I found that this error only happens when I try to “update” so I try “restore” mode and it works without any problem!
Stay Tuned!
In several cases, while developing an application, you have to convert a number (float, integer, double, etc) to a string. You can easily witre down the following codes and the NSString class do the rest for you!
float yournumber = 123.456; NSString* yourstring = [NSString stringWithFormat:@"%f", yournumber];
As you see the above code convert younumber to yourstring using stringWithFormat method of NSString Class.
younumber
yourstring
stringWithFormat
Here you can find some useful information about string formats.
Enjoy Coding!