Class: Xcodeproj::Project::Object::XCRemoteSwiftPackageReference

Inherits:
AbstractObject
  • Object
show all
Defined in:
lib/xcodeproj/project/object/swift_package_remote_reference.rb

Overview

This class represents a Swift package reference.

Attributes collapse

Attributes inherited from AbstractObject

#isa, #project, #uuid

Method Summary

Methods inherited from AbstractObject

#<=>, #==, #ascii_plist_annotation, #display_name, #inspect, isa, #nested_object_for_hash, #pretty_print, #remove_from_project, #sort, #sort_recursively, #to_ascii_plist, #to_hash

Instance Attribute Details

#repositoryURLString

Returns the repository url this Swift package was installed from.

Returns:

  • (String)

    the repository url this Swift package was installed from.


11
# File 'lib/xcodeproj/project/object/swift_package_remote_reference.rb', line 11

attribute :repositoryURL, String

#requirementHash

Returns the version requirements for this Swift package.

Returns:

  • (Hash)

    the version requirements for this Swift package.


15
# File 'lib/xcodeproj/project/object/swift_package_remote_reference.rb', line 15

attribute :requirement, Hash