calabash/calabash-ios-server — pull request #5 by jmoody (2012-06-28 13:55:27+00:00)
Title: calabash ios server converted to use ARC 

based on some conversations with Karl, I decided to submit this pull request.

i am by no means a CoreFoundation expert and there are a couple of points in the code where i was not sure of how to proceed. i also don't know if my code touches the entire framework - for example I don't use UIWebView. i did profile this on a couple of projects and found no leaks (and no crashes).

the biggest hiccup is that i could not build a framework for iOS4 that would run on the simulator or devices (more below).

DEBUG preprocessor macro
---

for some reason, i could not get the compiler to detect the DEBUG preprocess macro which you use to control some logging. i made comments and replaced DEBUG with YES.

replacing deprecated ```UIDevice uniqueIdentifier```
---

i added a submodule ```UIDevice-with-UniqueIdentifier-for-iOS-5``` to replace the deprecated uniqueIdentifier method. i have no idea if this is good library or not - i just grabbed it off github without too much thought. i updated the NOTICE file with the license.

changes to the calabash-js submodule
---
calabash-js is submodule of the calabash-ios-server library and when i forked, i did not make a fork of this submodule. so i am stuck with a version of the submodule that i cannot push to. i needed to make a trivial change to the LPWebQuery.m file. I put a patch here: https://gist.github.com/3011443.

iOS 4 compatibility
---
i tried testing on my 4.2.1 device and my simulator, but was met with

```dyld: lazy symbol binding failed: Symbol not found: _objc_autoreleasePoolPush```

i am not sure i am building the calabash target correctly.