Skip to content
This repository was archived by the owner on May 21, 2025. It is now read-only.

Commit 019ccc9

Browse files
committed
depreciate xcode processing
1 parent 51c6c54 commit 019ccc9

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

codecov/__init__.py

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -597,21 +597,6 @@ def main(*argv, **kwargs):
597597

598598
else:
599599
write('==> Processing gcov (disable by -X gcov)')
600-
if os.path.isdir(os.path.expanduser('~/Library/Developer/Xcode/DerivedData')):
601-
write('WARNING: Depreciating Xcode support in python uploader. Please use Bash uploader: https://github.com/codecov/codecov-bash')
602-
write(' Found OSX DerivedData')
603-
try_to_run("find ~/Library/Developer/Xcode/DerivedData -name '*.gcda' -exec gcov -pb {} +")
604-
605-
# xcode7
606-
profdata = try_to_run("find ~/Library/Developer/Xcode/DerivedData -name 'Coverage.profdata' | head -1")
607-
if profdata:
608-
_dir = os.path.dirname(profdata)
609-
for _type in ('app', 'framework', 'xctest'):
610-
_file = try_to_run('find "%s" -name "*.%s" | head -1' % (_dir, _type))
611-
if _file:
612-
_proj = _file.split('/')[-2].split('.')[0]
613-
try_to_run('xcrun llvm-cov show -instr-profile "%s" "%s/%s" > "%s.coverage.txt"' % (profdata, _file, _proj, _type))
614-
615600
cmd = "find %s -type f -name '*.gcno' %s -exec %s -pb %s {} +" % (
616601
(codecov.gcov_root or root),
617602
" ".join(map(lambda a: "-not -path '%s'" % a, codecov.gcov_glob)),

0 commit comments

Comments
 (0)