@@ -33,20 +33,20 @@ steps:
33
33
matrix :
34
34
setup : # Specify the current version of Xcode, Swift, a device, and the required version of iOS
35
35
image_id : $CURRENT_IMAGE_ID
36
- swift_version : " 5.10 "
37
- device_model : " default "
38
- device_os : " default "
36
+ swift_version : $CURRENT_SWIFT_VERSION
37
+ device_model : $CURRENT_DEVICE
38
+ device_os : $CURRENT_OS
39
39
adjustments : # Specify additional versions of Xcode, Swift, a device, and the required version of iOS
40
- - with :
41
- image_id : " xcode-15.2-xl "
42
- swift_version : " 5.9 "
43
- device_model : " default "
44
- device_os : " 17.2 "
45
- - with :
46
- image_id : " xcode-16.0-v7 "
47
- swift_version : " 6.0 "
48
- device_model : " default "
49
- device_os : " 18.0 "
40
+ - with : # Swift 5.9
41
+ image_id : $SWIFT_5_9_IMAGE_ID
42
+ swift_version : $SWIFT_5_9_VERSION
43
+ device_model : $SWIFT_5_9_DEVICE
44
+ device_os : $SWIFT_5_9_OS
45
+ - with : # Swift 6.0
46
+ image_id : $SWIFT_6_0_IMAGE_ID
47
+ swift_version : $SWIFT_6_0_VERSION
48
+ device_model : $SWIFT_6_0_DEVICE
49
+ device_os : $SWIFT_6_0_OS
50
50
51
51
# ##################
52
52
# Validate Podspec
@@ -63,14 +63,14 @@ steps:
63
63
matrix :
64
64
setup : # Specify the current version of Xcode and Swift
65
65
image_id : $CURRENT_IMAGE_ID
66
- swift_version : " 5.10 "
66
+ swift_version : $CURRENT_SWIFT_VERSION
67
67
adjustments : # Specify additional versions of Xcode and Swift
68
68
- with :
69
- image_id : " xcode-15.2-xl "
70
- swift_version : " 5.9 "
69
+ image_id : $SWIFT_5_9_IMAGE_ID
70
+ swift_version : $SWIFT_5_9_VERSION
71
71
- with :
72
- image_id : " xcode-16.0-v7 "
73
- swift_version : " 6.0 "
72
+ image_id : $SWIFT_6_0_IMAGE_ID
73
+ swift_version : $SWIFT_6_0_VERSION
74
74
75
75
# ######################
76
76
# Publish the Podspecs (if we're building a tag)
0 commit comments