Git Product home page Git Product logo

Comments (12)

ejprok avatar ejprok commented on July 21, 2024 5

What worked for me was manually creating a Swift file in Xcode to create the objc bridging header. Using flutter create -i swift . did not work for me. Messing with the Podfile did not help either.

from app_review.

philiplindberg avatar philiplindberg commented on July 21, 2024

I'm seeing the same thing.

Also tried adding use_frameworks! and config.build_settings['SWIFT_VERSION'] = '5.0' to the target 'Runner' block of my Podfile as detailed in this SO, with no luck.

from app_review.

Jethro87 avatar Jethro87 commented on July 21, 2024

Seeing the same issue.

[!] Unable to determine Swift version for the following pods:
    - `app_review` 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.

Here's what I'm running.

Flutter 1.10.7 • channel beta • https://github.com/flutter/flutter.git
Framework • revision e70236e36c (3 weeks ago) • 2019-10-02 09:32:30 -0700
Engine • revision 9e6314d348
Tools • Dart 2.6.0 (build 2.6.0-dev.0.0 1103600280)

from app_review.

davidkneely avatar davidkneely commented on July 21, 2024

Getting the same error here. Is there another version of the package that we can use?

  • app_review 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 app_review.

nilsreichardt avatar nilsreichardt commented on July 21, 2024

Same Problem: - `app_review` 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.

Any fixes for this?

from app_review.

dkobia avatar dkobia commented on July 21, 2024

@Arkangel12 you probably want to make sure that your flutter app is set up for Swift.

If you not, you could probably fix it by running flutter create -i swift . in the root of your app.

from app_review.

rodydavis avatar rodydavis commented on July 21, 2024

is this still happening? I can try recreating the project with the latest Flutter version

from app_review.

adim86 avatar adim86 commented on July 21, 2024

Yes, this is still happening. I am unable to fix it

is this still happening? I can try recreating the project with the latest Flutter version

from app_review.

Noninus avatar Noninus commented on July 21, 2024

Yes, this is still happening. I am unable to fix it too. Can anyone help?

from app_review.

Noninus avatar Noninus commented on July 21, 2024

I created a copy of this package and corrected it!

if anyone need now:

app_review:
git:
url: https://github.com/Noninus/app_review2.git

To correct it, need to add this line:

s.swift_version = '4.0'

to app_review.podspec:

#
# To learn more about a Podspec see http://guides.cocoapods.org/syntax/podspec.html
#
Pod::Spec.new do |s|
  s.name             = 'app_review'
  s.version          = '1.0.1'
  s.summary          = 'Request and Write Reviews and Open Store Listing for Android/iOS in Flutter.'
  s.description      = <<-DESC
Request and Write Reviews and Open Store Listing for Android&#x2F;iOS in Flutter.
                       DESC
  s.homepage         = 'http://rodydavis.com'
  s.license          = { :file => '../LICENSE' }
  s.author           = { 'Your Company' => '[email protected]' }
  s.source           = { :path => '.' }
  s.swift_version       = '4.0'
  s.source_files = 'Classes/**/*'
  s.public_header_files = 'Classes/**/*.h'
  s.dependency 'Flutter'
  
  s.ios.deployment_target = '8.0'
end

from app_review.

matitalatina avatar matitalatina commented on July 21, 2024

I fixed following this comment.
ko2ic/image_downloader#9 (comment)

from app_review.

rodydavis avatar rodydavis commented on July 21, 2024

should be fixed on the latest version.

from app_review.

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.