Git Product home page Git Product logo

Comments (6)

jonathanpenn avatar jonathanpenn commented on July 17, 2024

Are you experiencing this within your own project? I'm not getting this error when running the sample project in this repo.

from ui-screen-shooter.

DigitalRogues avatar DigitalRogues commented on July 17, 2024

Yes in my own project, its a mix of objc and swift. From what I can tell the demo project which does run great, doesn't include any swift code.

In the particular source file that ui-shooter is erroring out on, is an objc file calling swift code, which uses the 'Project-name-Swift.h' to do the internal conversions on objc to swift.

from ui-screen-shooter.

jonathanpenn avatar jonathanpenn commented on July 17, 2024

Hmm. I'm not using swift so I can't comment on it myself. Anyone else have any ideas?

from ui-screen-shooter.

mosh1 avatar mosh1 commented on July 17, 2024

Yes, I have this same issue. It looks like a bug in xcodebuild where this happens if PRODUCT_NAME is specified. I have worked around it by referencing the project name if available instead of using PRODUCT_NAME=app.app. I'll submit a pull request so you can take a look.

from ui-screen-shooter.

DigitalRogues avatar DigitalRogues commented on July 17, 2024

Thanks @mosh1 I'll give it a spin.

also thanks a bunch @jonathanpenn for this awesome utility.

from ui-screen-shooter.

DigitalRogues avatar DigitalRogues commented on July 17, 2024

Looks like everything is working well with the changes @mosh1 has in his PR.

Thanks guys!

from ui-screen-shooter.

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.