Comments (5)
Hello Usman,
I'm sorry that it's taken me so long to see your issue.
Have you tried with the latest Xcode release?
from xcodecoverage.
@jonreid I got the same issue with the latest Xcode 10 release version .When i run ./getcov --show -v
It can't locate the right OBJ_DIR
path whitch contain the gcno and gcov files.
--------improtant output---------
Show HTML Report
Verbose
XcodeCoverage: Environment
scripts : /Users/UserName/Documents/Project/SampleProject/Pods/XcodeCoverage
output_dir : /Users/UserName/Library/Developer/Xcode/DerivedData/SampleProject-eepzocumhdnsjmbxjasszpiflskn/Build/Products/Debug-iphonesimulator
LCOV_INFO : Coverage.info
BUILD_DIR : /Users/UserName/Library/Developer/Xcode/DerivedData/SampleProject-eepzocumhdnsjmbxjasszpiflskn/Build/Products/Debug-iphonesimulator
SRCROOT : /Users/UserName/Documents/Project/SampleProject
OBJ_DIR : /Users/UserName/Library/Developer/Xcode/DerivedData/SampleProject-eepzocumhdnsjmbxjasszpiflskn/Build/Intermediates.noindex/SampleProject.build/Debug-iphonesimulator/SampleProject.build/Objects-normal/undefined_arch
LCOV_PATH : /Users/UserName/Documents/Project/SampleProject/Pods/XcodeCoverage/lcov-1.13/bin
UPDATE:
I found that in Xcode 10 CURRENT_ARCH
is set to string undefined_arch
so XcodeCoverage can't get the right arch value.
I think it can use ARCHS
to get the right value
from xcodecoverage.
same issues
from xcodecoverage.
Temporary workaround: switch back to Legacy Build System.
In Xcode menu, select File -> Project Settings…
from xcodecoverage.
Fixed in a27d911
from xcodecoverage.
Related Issues (20)
- Excluding Files From Coverage .xcodecoverageignore HOT 5
- Code coverage in Xcode without tests (for manual run) HOT 1
- How can I show branch coverage or decision coverage? HOT 1
- Can there be an input which will enable the branch coverage too? HOT 1
- Xcode 8 Support HOT 4
- Can I dump the gcda that without line counter? HOT 1
- NAming convention to create .xcodecoverageignore HOT 1
- Unexpected number of functions & Unexpected number of edges HOT 1
- How to set IGNORED HOT 3
- How to check a pod(SDWebImage)coverage rate HOT 1
- when i run unit test and then run getcov it's given error HOT 1
- Swift support with xcode 9.4 HOT 1
- how to deal with the follow problem HOT 1
- Using xcodecoverage for the real device? HOT 1
- Unable to see coverage report in XCode 11.6 with new build system. HOT 1
- How to set the specified files to whitelist HOT 3
- No branch coverage after updating to 1.4 HOT 1
- Unable to see coverage report in XCode 12.4 with new build system
- Coverage data includes Apple's SDKs HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xcodecoverage.