Fix app so it runs in the simulator by using #ifndef TARGET_IPHONE_SIMULATOR