Coder Social home page Coder Social logo

Comments (5)

gaelfoppolo avatar gaelfoppolo commented on July 26, 2024

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.

frozenchocolate avatar frozenchocolate commented on July 26, 2024

from sonar-apple.

gaelfoppolo avatar gaelfoppolo commented on July 26, 2024

Can I take a look at your sonar-project.propertiesconfiguration? 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.

github-actions avatar github-actions commented on July 26, 2024

This issue is stale because it has been open for 90 days with no activity.

from sonar-apple.

github-actions avatar github-actions commented on July 26, 2024

This issue was closed because it has been inactive for 14 days since being marked as stale.

from sonar-apple.

Related Issues (11)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.