replace SDKROOT with IOSSDKROOT. closes #33, #32, #30
fix compilation warning in main.m