update for latest xcode and ios sdk