projects
/
platform
/
upstream
/
opencv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1230075
)
Fix Xcode version matching
author
Andrey Senyaev
<andrey.senyaev@gmail.com>
Mon, 30 May 2022 22:58:50 +0000
(
01:58
+0300)
committer
Andrey Senyaev
<andrey.senyaev@gmail.com>
Mon, 30 May 2022 22:58:50 +0000
(
01:58
+0300)
platforms/ios/build_framework.py
patch
|
blob
|
history
diff --git
a/platforms/ios/build_framework.py
b/platforms/ios/build_framework.py
index
bc76587
..
4895493
100755
(executable)
--- a/
platforms/ios/build_framework.py
+++ b/
platforms/ios/build_framework.py
@@
-41,7
+41,7
@@
def execute(cmd, cwd = None):
raise Exception("Child returned:", retcode)
def getXCodeMajor():
- ret = check_output(["xcodebuild", "-version"])
+ ret = check_output(["xcodebuild", "-version"])
.decode("utf-8")
m = re.match(r'Xcode\s+(\d+)\..*', ret, flags=re.IGNORECASE)
if m:
return int(m.group(1))