Giter Site home page Giter Site logo

Comments (5)

gadireddi226 avatar gadireddi226 commented on June 8, 2024 3

I have the same issue.

from fastlane-plugin-xchtmlreport.

charlieVader avatar charlieVader commented on June 8, 2024

Hey there, @kwanhiuhong, @gadireddi226, have you been able to solve the issue?
Are you using the standalone version or the fastlane plugin?

from fastlane-plugin-xchtmlreport.

mamax avatar mamax commented on June 8, 2024

@charlieVader Using Fastlane plugin. Facing the same issue.

from fastlane-plugin-xchtmlreport.

charlieVader avatar charlieVader commented on June 8, 2024

@mamax, I just get it working with the following "workaround":

By default, the .xcresult file is going to be located in ./fastlane/test_output/Your Target Name.xcresult (assuming the Target Name contains blank spaces)

Instead of using the plugin directly

xchtmlreport(
  result_bundle_path: path_to_result_bundle
)

Try issuing the command directly:

sh 'xchtmlreport -r ./fastlane/test_output/Your\ Target\ Name.xcresult'

Let me know if that works for you!

from fastlane-plugin-xchtmlreport.

mamax avatar mamax commented on June 8, 2024

@charlieVader Thanks, here what I've got:

Step:
xchtmlreport -r ../build/reports/Canadian\ Tire\ UAT.xcresult

$ xchtmlreport -r ../build/reports/Canadian\ Tire\ UAT.xcresult
▸ error: unexpected argument Tire; use --help to list available arguments
▸ XCTestHTMLReport 2.0.0
▸ Warning: Can't find invocation record for : ../build/reports/Canadian Tire UAT.xcresult
▸ Error: An error has occured while creating the report. Error: Error Domain=NSCocoaErrorDomain Code=512 "The file “Canadian Tire UAT.xcresult” couldn’t be saved in the folder “reports”." UserInfo={NSFilePath=../build/reports/Canadian Tire UAT.xcresult, NSUnderlyingError=0x7f83df105720 {Error Domain=NSPOSIXErrorDomain Code=21 "Is a directory"}}

from fastlane-plugin-xchtmlreport.

Related Issues (9)

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.