Git Product home page Git Product logo

Comments (3)

zippy1978 avatar zippy1978 commented on May 27, 2024

Hi @SavitaJuyal,
You need to set the correct workspace in you sonar-project.properties.
But... your problems seems to be related to Google Maps pod.
When sonar script is running, your application is built in Debug for the Simulator (not the same arch as a real device).
Did you try building and running you app on the simulator to check if you have the problem ?

Regards,
Gilles

from sonar-swift.

SavitaJuyal avatar SavitaJuyal commented on May 27, 2024

Hi @zippy1978

No my project is running successfully on all devices and simulator but
not with SonarQube. I have attached the project properties settings for
my project, please check and tell me know if I am missing something.

On 5/6/16 2:27 AM, Gilles Grousset wrote:

Hi @SavitaJuyal https://github.com/SavitaJuyal,
You need to set the correct workspace in you sonar-project.properties.
But... your problems seems to be related to Google Maps pod.
When sonar script is running, your application is built in Debug for
the Simulator (not the same arch as a real device).
Did you try building and running you app on the simulator to check if
you have the problem ?

Regards,
Gilles


You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
#21 (comment)

##########################

Required configuration

##########################

sonar.projectKey=com.netsolutions
sonar.projectName=Friendin
sonar.projectVersion=1.0

Comment if you have a project with mixed ObjC / Swift

sonar.language=swift
sonar.profile=SwiftLint

Project description

sonar.projectDescription=FriendIn

Path to source directories

sonar.sources=/Users/savitajuyal/Desktop/Friendin

Path to test directories (comment if no test)

#sonar.tests=TestDir

Destination Simulator to run tests

As string expected in destination argument of xcodebuild command

Example = sonar.swift.simulator=platform=iOS Simulator,name=iPhone 6,OS=9.2

sonar.swift.simulator=platform=iOS Simulator,name=iPhone 5,OS=9.3

Xcode project configuration (.xcodeproj)

and use the later to specify which project(s) to include in the analysis (comma separated list)

Specify either xcodeproj or xcodeproj + xcworkspace

sonar.swift.project=Friendin.xcodeproj
sonar.swift.workspace=Friendin.xcworkspace

Scheme to build your application

sonar.swift.appScheme=Friendin

##########################

Optional configuration

##########################

Encoding of the source code

sonar.sourceEncoding=UTF-8

SCM

sonar.scm.enabled=true

sonar.scm.url=scm:git:http://xxx

JUnit report generated by run-sonar.sh is stored in sonar-reports/TEST-report.xml

Change it only if you generate the file on your own

The XML files have to be prefixed by TEST- otherwise they are not processed

sonar.junit.reportsPath=sonar-reports/

Lizard report generated by run-sonar.sh is stored in sonar-reports/lizard-report.xml

Change it only if you generate the file on your own

sonar.swift.lizard.report=sonar-reports/lizard-report.xml

Cobertura report generated by run-sonar.sh is stored in sonar-reports/coverage.xml

Change it only if you generate the file on your own

sonar.swift.coverage.reportPattern=sonar-reports/coverage*.xml

OCLint report generated by run-sonar.sh is stored in sonar-reports/oclint.xml

Change it only if you generate the file on your own

sonar.swift.swiftlint.report=sonar-reports/*swiftlint.txt

Paths to exclude from coverage report (tests, 3rd party libraries etc.)

sonar.swift.excludedPathsFromCoverage=pattern1,pattern2

sonar.swift.excludedPathsFromCoverage=.Tests.

from sonar-swift.

SavitaJuyal avatar SavitaJuyal commented on May 27, 2024

Hi @zippy1978 ,

Please revert asap.

Regards
Savita

from sonar-swift.

Related Issues (20)

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.