File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -327,12 +327,11 @@ def AssertExpectedJavaVersion():
327
327
328
328
329
329
def AssertExpectedXcodeVersion ():
330
- """Checks that the user has a recent version of Xcode installed"""
331
- EXPECTED_MAJOR_VERSION = ['11' , '12' ]
330
+ """Checks that the user has a version of Xcode installed"""
332
331
version_output = subprocess .check_output (['xcodebuild' , '-version' ])
333
- match = re .match ("Xcode (\d+)" , version_output )
332
+ match = re .match (b "Xcode (\d+)" , version_output )
334
333
message = "Xcode must be installed to run the iOS embedding unit tests"
335
- assert match . group ( 1 ) in EXPECTED_MAJOR_VERSION , message
334
+ assert match , message
336
335
337
336
338
337
def RunJavaTests (filter , android_variant = 'android_debug_unopt' ):
You can’t perform that action at this time.
0 commit comments