xcode state changed