Fix issue:62 with Xcode platform toggling