Comments (5)
Hello @frozenchocolate
To work Periphery use the source code indexed by the build system, in your case it should be xcodebuild
(unless you are using Bazel or another one). This is called the index store and it's part of the derived data.
In the Run analysis section, there is an xcodebuild
command with a specific flag to change the derived data location, -derivedDataPath
.
The value of the parameter sonar.apple.periphery.indexStorePath
should match this -derivedDataPath
flag with the path of the index store, like shown in the README.
Periphery also needs to know the scheme(s) and the target(s), so you also need to provide values for sonar.apple.periphery.schemes
and sonar.apple.periphery.targets
, like shown in the README.
Additionnally, if you still have trouble using Periphery with the plugin, you can use the flag -X
(eg: sonar-scanner -X
). This will run in debug mode the scanner and display the exact Periphery command used and the exact error encountered. You can then compare with the one you are running locally.
Please tell us if it helped solve your issue.
from sonar-apple.
from sonar-apple.
Can I take a look at your sonar-project.properties
configuration? This is weird.
What kind of changes are you trying to make? Maybe it can also benefit to the project :)
Try running the following command instead: mvn package --file pom.xml
If it still doesn't work, please open a new issue and close this one, since this is a different topic.
from sonar-apple.
This issue is stale because it has been open for 90 days with no activity.
from sonar-apple.
This issue was closed because it has been inactive for 14 days since being marked as stale.
from sonar-apple.
Related Issues (11)
- Vulnerabilities are reported twice
- Objective-C highlight out of bounds HOT 1
- Objective-C issues (OCLint) not reported
- installation of plugin cause issue on analysis HOT 6
- Error when trying to run sonar-scanner command HOT 12
- Enquiry about the step of the scanning HOT 9
- SwiftLint part seem haven't scan for any files HOT 2
- not successful HOT 2
- No code errors were analyzed HOT 6
- Swift files not indexed with SonarQube 10.4 HOT 3
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 sonar-apple.