Fixed codesigning issues for debugging on local iPhone.