Thursday, August 22, 2013

Using IOS 7 Simulator with old XCode

IOS 7 will be out of the door soon, so we need to make sure that our app doesn't blow out on that new IOS.

Replicate the issue which only exist with the old build on new IOS 7 simulator will be ideal.

Here how I did it.
-> Open your IOS Simulator V7 from XCODE5-DPx/Applications/IOSSimultor
-> Open your old XCODe and target your app to IOS6 and run it.

Because IOS7 simulator already open, XCODe will reuse them and run your app which build using old XCODE (IOS6 target) inside IOS7 Simulator.

Now is the time to fix the UI. =D
Hope shouldn't be too hard

Friday, August 16, 2013

Make Git Faster on Windows

Just a note to make git faster on windows

*Located C:\Users\{username}\Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1

*And insert this.
 $GitPromptSettings.RepositoriesInWhichToDisableFileStatus = "C:\Projects\{wherever your repo may be}\Online\Trunk"

* WHY ?
Behind the scenes posh-git is running a format of “git status” to be able to tell you if any files have changed and that is expensive because it has to check each file in the repository.

To help regain some sanity you can disable the file status and just have the current branch presented in your prompt and manually call git status only when you need it.