use CURL instance locally.
add xcode project and remove warnings.