@Karl is correct. #if Xcode
may work for other users who come to this thread, but it does not look like it will in your case. Here is a post with more information about both. I have been using it in that form for over two years now.
2 Likes