Giter VIP home page Giter VIP logo

Comments (12)

sppzglou avatar sppzglou commented on August 26, 2024 2

Yeah!! that's works! thank u very much <3

from qrcode.

dagronf avatar dagronf commented on August 26, 2024 1

When creating your project, you only need to select a single package project to add it to your project.

image

from qrcode.

dagronf avatar dagronf commented on August 26, 2024 1

My pleasure mate. Glad I could help!

from qrcode.

dagronf avatar dagronf commented on August 26, 2024

@sppzglou I just tested this using a completely new iOS project without issue, Xcode 14.3 (14E222b). Given that QRCodeGenerator is an external dependency it's possible that Xcode didn't download it successfully? Can you check that the package dependencies aren't showing any errors?

image

Which version of Xcode are you using? Have you tried quitting xcode and re-opening the project? Which OS are you targetting (iOS, macOS, tvOS, watchOS?).

image

from qrcode.

sppzglou avatar sppzglou commented on August 26, 2024

I have tried again and again in a new project.
Xcode Version 14.3 (14E222b)
iOS 16.4

2023-04-24.9.48.01.mov

from qrcode.

dagronf avatar dagronf commented on August 26, 2024

@sppzglou I can hear the audio, but there seems to be no video component

from qrcode.

dagronf avatar dagronf commented on August 26, 2024

Did the package dependencies resolve correctly? Does Xcode show the swift-grcode-generator at version 1.0.3?

from qrcode.

dagronf avatar dagronf commented on August 26, 2024

Can you try opening this attached project in Xcode and see if it compiles? This is the test project I showed back in #17 (comment)

qrbug17.zip

from qrcode.

sppzglou avatar sppzglou commented on August 26, 2024

oh yes. I can compile your project. But i can not understand the different

from qrcode.

dagronf avatar dagronf commented on August 26, 2024

Can you send me your project? The one with the compile error?

from qrcode.

sppzglou avatar sppzglou commented on August 26, 2024

this is mine
qrcodetest.zip

from qrcode.

dagronf avatar dagronf commented on August 26, 2024

Okay I got yours to compile. You seem to have added all library types to your project (QRCode, QRCodeDynamic, QRCodeStatic) and Xcode is getting very confused.

You only ever need to add a single one (likely just QRCode) to your project. The other two are for projects that need to force a library type (a dynamic library or a static library). You can basically ignore them.

To fix the issue in your project, go to the general tab in the project settings, look for 'Frameworks, Libraries, and Embedded Content'. Remove all but QRCode from the list.

image

Now you should be able to compile and run correctly.

from qrcode.

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.