Giter Site home page Giter Site logo

Error on iOS build about packages.flutter HOT 8 CLOSED

scerio avatar scerio commented on June 14, 2024
Error on iOS build

from packages.flutter.

Comments (8)

yostrokon avatar yostrokon commented on June 14, 2024 1

@SergeShkurko
update to the newer version fixed all things, thanks for support

from packages.flutter.

SergeShkurko avatar SergeShkurko commented on June 14, 2024

@yostrokon you need set swift version to 5 by instruction

from packages.flutter.

SergeShkurko avatar SergeShkurko commented on June 14, 2024

If the error does not disappear, try this instruction as well

from packages.flutter.

SergeShkurko avatar SergeShkurko commented on June 14, 2024

@yostrokon problem solved? If not, contact me with a name here, I will reopen the issue.

from packages.flutter.

yostrokon avatar yostrokon commented on June 14, 2024

@SergeShkurko tried to copy the Podfile from your sample adding
config.build_settings['SWIFT_VERSION'] = '5' # required
config.build_settings['ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES'] = '$(inherited)'
config.build_settings['ENABLE_BITCODE'] = 'NO'
and build using codemagic, but no success, same response, may be missing something somewhere else

from packages.flutter.

yostrokon avatar yostrokon commented on June 14, 2024

@SergeShkurko

  • Running pre install hooks
    [!] Unable to determine Swift version for the following pods:

    • native_pdf_renderer does not specify a Swift version and none of the targets (Runner) integrating it have the SWIFT_VERSION attribute set. Please contact the author or set the SWIFT_VERSION attribute in at least one of the targets that integrate this pod.

from packages.flutter.

yostrokon avatar yostrokon commented on June 14, 2024

@SergeShkurko added swift 5, but now surprised by
Xcode's output:

                data = UIImagePNGRepresentation(image) as Data?
                       ^~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~
                       image.pngData            
UIKit.UIImagePNGRepresentation:2:13: note: 'UIImagePNGRepresentation' was obsoleted in Swift 3

from packages.flutter.

SergeShkurko avatar SergeShkurko commented on June 14, 2024

@yostrokon, what version of native_pdf_renderer are you using?

from packages.flutter.

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.