Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue running on iOS simulator, #4

Open
vishna opened this issue Feb 12, 2019 · 4 comments
Open

Issue running on iOS simulator, #4

vishna opened this issue Feb 12, 2019 · 4 comments

Comments

@vishna
Copy link

vishna commented Feb 12, 2019

pinch_zoom_image: "^0.2.5"

console output

    Downloading dependencies

    -> Installing Flutter (1.0.0)

    -> Installing path_provider (0.0.1)

    -> Installing pinch_zoom_image (0.0.1)

    -> Installing shared_preferences (0.0.1)
      - Running pre install hooks
    [!] Unable to determine Swift version for the following pods:

    - `pinch_zoom_image` 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.

    /usr/local/Cellar/cocoapods/1.6.0/libexec/gems/cocoapods-1.6.0/lib/cocoapods/installer/xcode/target_validator.rb:115:in
    `verify_swift_pods_swift_version'
    /usr/local/Cellar/cocoapods/1.6.0/libexec/gems/cocoapods-1.6.0/lib/cocoapods/installer/xcode/target_validator.rb:37:in `validate!'
    /usr/local/Cellar/cocoapods/1.6.0/libexec/gems/cocoapods-1.6.0/lib/cocoapods/installer.rb:459:in `validate_targets'
    /usr/local/Cellar/cocoapods/1.6.0/libexec/gems/cocoapods-1.6.0/lib/cocoapods/installer.rb:138:in `install!'
    /usr/local/Cellar/cocoapods/1.6.0/libexec/gems/cocoapods-1.6.0/lib/cocoapods/command/install.rb:48:in `run'
    /usr/local/Cellar/cocoapods/1.6.0/libexec/gems/claide-1.0.2/lib/claide/command.rb:334:in `run'
    /usr/local/Cellar/cocoapods/1.6.0/libexec/gems/cocoapods-1.6.0/lib/cocoapods/command.rb:52:in `run'
    /usr/local/Cellar/cocoapods/1.6.0/libexec/gems/cocoapods-1.6.0/bin/pod:55:in `<top (required)>'
    /usr/local/Cellar/cocoapods/1.6.0/libexec/bin/pod:22:in `load'
    /usr/local/Cellar/cocoapods/1.6.0/libexec/bin/pod:22:in `<main>'
@shamnex
Copy link

shamnex commented Feb 16, 2019

Getting the same error. Did you manage to fix it?

@vishna
Copy link
Author

vishna commented Feb 21, 2019

nope, removed the package for now to get my app working - the fix should just be matter of forking and trying out a SWIFT_VERSION that works - if I have time, I'll make a PR

@vishna
Copy link
Author

vishna commented Mar 3, 2019

anyway, today I've put this (latest master)

  pinch_zoom_image:
    git:
      url: git@github.com:YoussefKababe/pinch_zoom_image.git
      ref: a73858972cb5383ae862bbc5ce066bde99e986b8

and it just worked ¯\_(ツ)_/¯

@furkankurt
Copy link

I created new repo. Owner of this project don't accept pull requests. You can use mine.
https://pub.dartlang.org/packages/pinch_zoom_image_last
If there is an issue, you can open an issue of my github repo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants