Class: Spaceship::Tunes::BuildDetails

Inherits:
TunesBase show all
Defined in:
spaceship/lib/spaceship/tunes/build_details.rb

Overview

Represents the details of a build

Instance Attribute Summary collapse

Attributes inherited from Base

#client, #raw_data

Method Summary

Methods inherited from TunesBase

client

Methods inherited from Base

attr_accessor, attr_mapping, attributes, #attributes, factory, #initialize, #inspect, mapping_module, method_missing, set_client, #setup, #to_s

Constructor Details

This class inherits a constructor from Spaceship::Base

Instance Attribute Details

#app_nameString

Returns Name of app.

Examples:

‘Test App’

Returns:



38
39
40
# File 'spaceship/lib/spaceship/tunes/build_details.rb', line 38

def app_name
  @app_name
end

#app_plattformString

Returns Platform of the app.

Examples:

‘ios’

Returns:

  • (String)

    Platform of the app



62
63
64
# File 'spaceship/lib/spaceship/tunes/build_details.rb', line 62

def app_plattform
  @app_plattform
end

#apple_idString

Returns The App identifier of this app, provided by App Store Connect.

Examples:

'1013943394'

Returns:

  • (String)

    The App identifier of this app, provided by App Store Connect



10
11
12
# File 'spaceship/lib/spaceship/tunes/build_details.rb', line 10

def apple_id
  @apple_id
end

#binary_stateString

Returns State of the build/binary.

Examples:

‘ITC.apps.preReleaseBuildStatus.Validated’

Returns:

  • (String)

    State of the build/binary



18
19
20
# File 'spaceship/lib/spaceship/tunes/build_details.rb', line 18

def binary_state
  @binary_state
end

#build_platformString

Returns Platform.

Examples:

‘13A340’

Returns:



30
31
32
# File 'spaceship/lib/spaceship/tunes/build_details.rb', line 30

def build_platform
  @build_platform
end

#build_sdkString

Returns SDK used to build app.

Examples:

‘13A340’

Returns:

  • (String)

    SDK used to build app



26
27
28
# File 'spaceship/lib/spaceship/tunes/build_details.rb', line 26

def build_sdk
  @build_sdk
end

#bundle_idString

Returns Bundle ID of build.

Examples:

‘com.sample.app’

Returns:

  • (String)

    Bundle ID of build



34
35
36
# File 'spaceship/lib/spaceship/tunes/build_details.rb', line 34

def bundle_id
  @bundle_id
end

#capabilitiesString

Returns Required Capabilities.

Examples:

‘armv7’

Returns:

  • (String)

    Required Capabilities



85
86
87
# File 'spaceship/lib/spaceship/tunes/build_details.rb', line 85

def capabilities
  @capabilities
end

#cf_bundle_short_versionString

Returns Version code of the build train.

Examples:

‘1.6’

Returns:

  • (String)

    Version code of the build train



73
74
75
# File 'spaceship/lib/spaceship/tunes/build_details.rb', line 73

def cf_bundle_short_version
  @cf_bundle_short_version
end

#cf_bundle_versionString

Returns Version code of the build.

Examples:

‘4’

Returns:

  • (String)

    Version code of the build



69
70
71
# File 'spaceship/lib/spaceship/tunes/build_details.rb', line 69

def cf_bundle_version
  @cf_bundle_version
end

#contains_odrBoolean

Returns Contains On Demand Resources.

Examples:

false

Returns:

  • (Boolean)

    Contains On Demand Resources



99
100
101
# File 'spaceship/lib/spaceship/tunes/build_details.rb', line 99

def contains_odr
  @contains_odr
end

#device_familiesString

Returns Enabled Device Family.

Examples:

‘iPhone / iPod touch, iPad”

Returns:

  • (String)

    Enabled Device Family



81
82
83
# File 'spaceship/lib/spaceship/tunes/build_details.rb', line 81

def device_families
  @device_families
end

#device_protocolsString

Returns Device Requirements / Device Protocols.

Returns:

  • (String)

    Device Requirements / Device Protocols



65
66
67
# File 'spaceship/lib/spaceship/tunes/build_details.rb', line 65

def device_protocols
  @device_protocols
end

#dsym_urlString

Returns Link to the dSYM file (not always available).

Examples:

build/***.****.*****.*****-1.0.0-2647.dSYM.zip

Returns:

  • (String)

    Link to the dSYM file (not always available)



139
140
141
# File 'spaceship/lib/spaceship/tunes/build_details.rb', line 139

def dsym_url
  @dsym_url
end

#entitlementsHash

Returns containing all entitlements for all targets.

Examples:

‘Sample.app/Sample: ‘ABC123DEF456’‘

Returns:

  • (Hash)

    containing all entitlements for all targets



58
59
60
# File 'spaceship/lib/spaceship/tunes/build_details.rb', line 58

def entitlements
  @entitlements
end

#export_compliance_code_value_in_plistBoolean

Returns App Encryption Export Compliance Code (Optional).

Examples:

null

Returns:

  • (Boolean)

    App Encryption Export Compliance Code (Optional)



115
116
117
# File 'spaceship/lib/spaceship/tunes/build_details.rb', line 115

def export_compliance_code_value_in_plist
  @export_compliance_code_value_in_plist
end

#file_nameString

Returns Name of uploaded file.

Examples:

‘MyApp.ipa’

Returns:

  • (String)

    Name of uploaded file



22
23
24
# File 'spaceship/lib/spaceship/tunes/build_details.rb', line 22

def file_name
  @file_name
end

#has_messages_extensionBoolean

Returns Includes iMessage App.

Examples:

false

Returns:

  • (Boolean)

    Includes iMessage App



123
124
125
# File 'spaceship/lib/spaceship/tunes/build_details.rb', line 123

def has_messages_extension
  @has_messages_extension
end

#has_stickersBoolean

Returns Includes Stickers.

Examples:

false

Returns:

  • (Boolean)

    Includes Stickers



119
120
121
# File 'spaceship/lib/spaceship/tunes/build_details.rb', line 119

def has_stickers
  @has_stickers
end

#include_symbolsBoolean

Returns Includes Symbols.

Examples:

true

Returns:

  • (Boolean)

    Includes Symbols



107
108
109
# File 'spaceship/lib/spaceship/tunes/build_details.rb', line 107

def include_symbols
  @include_symbols
end

#launch_prohibitedBoolean

Returns // Not sure what this is for.

Examples:

false

Returns:

  • (Boolean)

    // Not sure what this is for



127
128
129
# File 'spaceship/lib/spaceship/tunes/build_details.rb', line 127

def launch_prohibited
  @launch_prohibited
end

#localizationsString

Returns Localizations of the build.

Examples:

‘English’

Returns:

  • (String)

    Localizations of the build



46
47
48
# File 'spaceship/lib/spaceship/tunes/build_details.rb', line 46

def localizations
  @localizations
end

#min_os_versionString

Returns Minimum iOS Version.

Examples:

‘9.3’

Returns:

  • (String)

    Minimum iOS Version



77
78
79
# File 'spaceship/lib/spaceship/tunes/build_details.rb', line 77

def min_os_version
  @min_os_version
end

#newsstand_appBoolean

Returns Is this a Newsstand app?.

Examples:

false

Returns:

  • (Boolean)

    Is this a Newsstand app?



50
51
52
# File 'spaceship/lib/spaceship/tunes/build_details.rb', line 50

def newsstand_app
  @newsstand_app
end

#number_of_asset_packsInteger

Returns Number of Asset packs.

Examples:

0

Returns:

  • (Integer)

    Number of Asset packs



103
104
105
# File 'spaceship/lib/spaceship/tunes/build_details.rb', line 103

def number_of_asset_packs
  @number_of_asset_packs
end

#prerendered_icon_flagBoolean

Returns Does the build contain an app icon?.

Examples:

true

Returns:

  • (Boolean)

    Does the build contain an app icon?



54
55
56
# File 'spaceship/lib/spaceship/tunes/build_details.rb', line 54

def prerendered_icon_flag
  @prerendered_icon_flag
end

#size_in_bytesInt

Returns Compressed File Size in bytes.

Examples:

‘9365224’

Returns:

  • (Int)

    Compressed File Size in bytes



89
90
91
# File 'spaceship/lib/spaceship/tunes/build_details.rb', line 89

def size_in_bytes
  @size_in_bytes
end

#sizes_in_bytesHash

Returns Estimated App Store file sizes for all devices in bytes.

Returns:

  • (Hash)

    Estimated App Store file sizes for all devices in bytes



92
93
94
# File 'spaceship/lib/spaceship/tunes/build_details.rb', line 92

def sizes_in_bytes
  @sizes_in_bytes
end

#sizes_in_bytes_with_device_locHash

Returns Estimated App Store file sizes for all devices in bytes.

Returns:

  • (Hash)

    Estimated App Store file sizes for all devices in bytes



95
96
97
# File 'spaceship/lib/spaceship/tunes/build_details.rb', line 95

def sizes_in_bytes_with_device_loc
  @sizes_in_bytes_with_device_loc
end

#supported_architecturesString

Returns Supported architectures of the build.

Examples:

‘armv7, arm64’

Returns:

  • (String)

    Supported architectures of the build



42
43
44
# File 'spaceship/lib/spaceship/tunes/build_details.rb', line 42

def supported_architectures
  @supported_architectures
end

#upload_dateInteger

Returns Upload date of build as UNIX timestamp.

Examples:

1563813377000

Returns:

  • (Integer)

    Upload date of build as UNIX timestamp



14
15
16
# File 'spaceship/lib/spaceship/tunes/build_details.rb', line 14

def upload_date
  @upload_date
end

#use_encryption_in_plistBoolean

Returns App Uses Non-Exempt Encryption (Optional).

Examples:

null

Returns:

  • (Boolean)

    App Uses Non-Exempt Encryption (Optional)



111
112
113
# File 'spaceship/lib/spaceship/tunes/build_details.rb', line 111

def use_encryption_in_plist
  @use_encryption_in_plist
end

#uses_location_background_modeBoolean

Returns App uses Location Services.

Examples:

false

Returns:

  • (Boolean)

    App uses Location Services



135
136
137
# File 'spaceship/lib/spaceship/tunes/build_details.rb', line 135

def uses_location_background_mode
  @uses_location_background_mode
end

#uses_synapseBoolean

Returns Uses SiriKit.

Examples:

false

Returns:

  • (Boolean)

    Uses SiriKit



131
132
133
# File 'spaceship/lib/spaceship/tunes/build_details.rb', line 131

def uses_synapse
  @uses_synapse
end

#watch_onlyBoolean

Returns Watch-Only App.

Examples:

false

Returns:

  • (Boolean)

    Watch-Only App



143
144
145
# File 'spaceship/lib/spaceship/tunes/build_details.rb', line 143

def watch_only
  @watch_only
end