Using xcodebuild instead of xctool as it doesn't work