def assert_version_changed(info_plist_file_path)
      unless File.file?(info_plist_file_path)
        fail "Info.plist at path " + info_plist_file_path + " does not exist."
        return # rubocop:disable UnreachableCode
      end

      unless git.diff_for_file(info_plist_file_path) # No diff found for Info.plist file.
        fail "You did not edit your Info.plist file at all. Therefore, you did not change the iOS version."
        return # rubocop:disable UnreachableCode
      end

      git_diff_string = git.diff_for_file(info_plist_file_path).patch
      assert_version_changed_diff(git_diff_string)
    end
def assert_version_changed(info_plist_file_path)
      unless File.file?(info_plist_file_path)
        fail "Info.plist at path " + info_plist_file_path + " does not exist."
        return # rubocop:disable UnreachableCode
      end

      unless git.diff_for_file(info_plist_file_path) # No diff found for Info.plist file.
        fail "You did not edit your Info.plist file at all. Therefore, you did not change the iOS version."
        return # rubocop:disable UnreachableCode
      end

      git_diff_string = git.diff_for_file(info_plist_file_path).patch
      assert_version_changed_diff(git_diff_string)
    end
Asserts the version string has been changed in your iOS XCode project.

 @example Assert the version string changed for your iOS project
    # Calls Danger `fail` if the version string not updated or nothing if it has changed.
   ios_version_change.assert_version_changed("ProjectName/Info.plist")

 @param [String] info_plist_file_path
        Path to Info.plist file for XCode project.
 @return [void]