Fixes and OS8 support.

- Fixed issue with MOBILE_PROVISION default value.
- Fixed OS X 10.10 compile issue using CODE_SIGN_RESOURCE_RULES_PATH.