Idean / sonar-swift

Open source Swift plugin for SonarQube (also supports Objective-C)
Other
896 stars 276 forks source link

Sonar run command is failing #285

Open pawargb opened 3 years ago

pawargb commented 3 years ago

Issue Description

Command executed

./run-sonar-swift.sh -v

Complete output when running fastlane, including the stack trace and command used

Running run-sonar-swift.sh... Project count is [1] 2021-02-05 16:24:33.138 defaults[39383:629654] The domain/default pair of (/Users/ganeshpawar/Documents/Personal/Practice, Swift/SonarTesting/SonarTesting/Info.plist) does not exist Xcode project file is: SonarTesting.xcodeproj Xcode workspace file is: Xcode application scheme is: SonarTesting Number version from plist is: Destination simulator is: platform=iOS Simulator,name=iPhone 12 mini,OS=14.2 Excluded paths from coverage are: Creating directory sonar-reports/ Extracting Xcode project information

TEST FAILED

The following build commands failed: CompileSwift normal x86_64 /Users/ganeshpawar/Documents/Personal/Practice\ Swift/SonarTesting/SonarTestingTests/SonarTestingTests.swift CompileSwiftSources normal x86_64 com.apple.xcode.tools.swift.compiler CompileSwift normal arm64 /Users/ganeshpawar/Documents/Personal/Practice\ Swift/SonarTesting/SonarTestingTests/SonarTestingTests.swift CompileSwiftSources normal arm64 com.apple.xcode.tools.swift.compiler (4 failures)

 [REPLACE THIS WITH YOUR INFORMATION] 

Environment

Following below article to integrate SonarQube for iOS App in Xcode(12.2) but failing with above error:

https://medium.com/@pranay.urkude/sonarqube-integration-with-ios-b76df8405014

B-Yoxtheimer-OH commented 2 years ago

@pawargb i am having the same issue, did you ever find a solution to this? i am wondering if it has something to do with frameworks i have in my project.