fluttercommunity / app_review

App Review - Request and Write Reviews and Open Store Listing for Android and iOS in Flutter. Maintainer: @rodydavis
https://fluttercommunity.github.io/app_review/
MIT License
329 stars 109 forks source link

Please specify a platform for this target in your Podfile #32

Closed lukepighetti closed 3 years ago

lukepighetti commented 4 years ago

Getting this error on iOS with app_review

Error output from CocoaPods:
↳
[!] Automatically assigning platform `iOS` with version `8.0` on target `Runner` because no platform was specified. Please specify a platform for this target in your Podfile. See `https://guides.cocoapods.org/syntax/podfile.html#platform`.

I added app_review to pubspec and now I'm getting this error.

nitneuq33000 commented 4 years ago

Same !! but have this for some plugin after upgrade xcode and catalina

CocoaPods' output: ↳ Preparing

Analyzing dependencies

Inspecting targets to integrate
  Using `ARCHS` setting to build architectures of target `Pods-Runner`: (``)

Fetching external sources
-> Fetching podspec for `Flutter` from `Flutter`
-> Fetching podspec for `app_review` from `.symlinks/plugins/app_review/ios`
-> Fetching podspec for `package_info` from `.symlinks/plugins/package_info/ios`
-> Fetching podspec for `url_launcher` from `.symlinks/plugins/url_launcher/ios`
-> Fetching podspec for `url_launcher_macos` from `.symlinks/plugins/url_launcher_macos/ios`
-> Fetching podspec for `url_launcher_web` from `.symlinks/plugins/url_launcher_web/ios`

Resolving dependencies of `Podfile`
  CDN: trunk Relative path: CocoaPods-version.yml exists! Returning local because checking is only perfomed in repo update
[!] CocoaPods could not find compatible versions for pod "app_review":
  In Podfile:
    app_review (from `.symlinks/plugins/app_review/ios`)

Specs satisfying the `app_review (from `.symlinks/plugins/app_review/ios`)` dependency were found, but they required a higher minimum deployment target.

/Library/Ruby/Gems/2.6.0/gems/molinillo-0.6.6/lib/molinillo/resolution.rb:328:in `raise_error_unless_state'
/Library/Ruby/Gems/2.6.0/gems/molinillo-0.6.6/lib/molinillo/resolution.rb:310:in `block in unwind_for_conflict'
/Library/Ruby/Gems/2.6.0/gems/molinillo-0.6.6/lib/molinillo/resolution.rb:308:in `tap'
/Library/Ruby/Gems/2.6.0/gems/molinillo-0.6.6/lib/molinillo/resolution.rb:308:in `unwind_for_conflict'
/Library/Ruby/Gems/2.6.0/gems/molinillo-0.6.6/lib/molinillo/resolution.rb:684:in `attempt_to_activate'
/Library/Ruby/Gems/2.6.0/gems/molinillo-0.6.6/lib/molinillo/resolution.rb:254:in `process_topmost_state'
/Library/Ruby/Gems/2.6.0/gems/molinillo-0.6.6/lib/molinillo/resolution.rb:182:in `resolve'
/Library/Ruby/Gems/2.6.0/gems/molinillo-0.6.6/lib/molinillo/resolver.rb:43:in `resolve'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.3/lib/cocoapods/resolver.rb:94:in `resolve'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.3/lib/cocoapods/installer/analyzer.rb:1065:in `block in resolve_dependencies'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.3/lib/cocoapods/user_interface.rb:64:in `section'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.3/lib/cocoapods/installer/analyzer.rb:1063:in `resolve_dependencies'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.3/lib/cocoapods/installer/analyzer.rb:124:in `analyze'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.3/lib/cocoapods/installer.rb:410:in `analyze'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.3/lib/cocoapods/installer.rb:235:in `block in resolve_dependencies'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.3/lib/cocoapods/user_interface.rb:64:in `section'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.3/lib/cocoapods/installer.rb:234:in `resolve_dependencies'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.3/lib/cocoapods/installer.rb:156:in `install!'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.3/lib/cocoapods/command/install.rb:52:in `run'
/Library/Ruby/Gems/2.6.0/gems/claide-1.0.3/lib/claide/command.rb:334:in `run'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.3/lib/cocoapods/command.rb:52:in `run'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.3/bin/pod:55:in `<top (required)>'
/usr/local/bin/pod:23:in `load'
/usr/local/bin/pod:23:in `<main>'

Error output from CocoaPods: ↳ /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/universal-darwin19/rbconfig.rb:229: warning: Insecure world writable dir /Users/quentinguichot/Developer/flutter/bin in PATH, mode 040777

[!] Automatically assigning platform `iOS` with version `8.0` on target `Runner` because no platform was specified. Please specify a platform for this target in your Podfile. See `https://guides.cocoapods.org/syntax/podfile.html#platform`.
rodydavis commented 3 years ago

Im open to PRs! Please feel free to add it and I will publish the change

aseef17 commented 3 years ago

You just need to specify iOS version in your pod file. Just set it to 10.0 and it should be fine (The warnings should disappear)

TheDevelolper commented 3 years ago

You just need to specify iOS version in your pod file. Just set it to 10.0 and it should be fine (The warnings should disappear)

Come on dude... give an example 🤦🏽‍♂️

TheDevelolper commented 3 years ago

For anyone looking for this....

if you open your pod file you will see at the top of the file a commented out example:

# platform :ios, '9.0'

uncomment this line and change the version to match your minimum requirement. I've set mine to iOS 11 as one of my dependencies required this.

JavlonbekIOS commented 2 years ago

Getting this error on iOS with app_review

Error output from CocoaPods:
↳
[!] Automatically assigning platform `iOS` with version `8.0` on target `Runner` because no platform was specified. Please specify a platform for this target in your Podfile. See `https://guides.cocoapods.org/syntax/podfile.html#platform`.

I added app_review to pubspec and now I'm getting this error.

this was happened in my Mac M1 too, and delete pockfile.lock, 'iOS' with version '9.0' change '13.0', then run pod install and this is work

salahawk commented 1 year ago

I'm running my Flutter app on iPhone 13 Simulator. When I run the code, it fails with the following error:

....
Error output from CocoaPods:
↳
         % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                        Dload  Upload   Total   Spent    Left  Speed
     0     0    0     0    0     0      0      0 --:--:--  0:00:01 --:--:--     0
     0     0    0     0    0     0      0      0 --:--:--  0:00:01 --:--:--     0
       curl: (35) error:02FFF036:system library:func(4095):Connection reset by peer

    [!] Automatically assigning platform `iOS` with version `12.0` on target `Runner` because no platform was specified. Please specify a platform for this target in your Podfile. See `https://guides.cocoapods.org/syntax/podfile.html#platform`.

Error running pod install
Error launching application on iPhone 13.

I'm not sure why this happens.

Can anyone guide me how I can solve this issue?

rodydavis commented 1 year ago

It’s a common is that can be solved with a Podfile override. I am using it in production with flutter 3

On Fri, Aug 5, 2022 at 5:56 AM crazydevhero @.***> wrote:

I'm running my Flutter app on iPhone 13 Simulator. When I run the code, it fails with the following error:

....

Error output from CocoaPods:

     % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current

                                    Dload  Upload   Total   Spent    Left  Speed

 0     0    0     0    0     0      0      0 --:--:--  0:00:01 --:--:--     0

 0     0    0     0    0     0      0      0 --:--:--  0:00:01 --:--:--     0

   curl: (35) error:02FFF036:system library:func(4095):Connection reset by peer

[!] Automatically assigning platform `iOS` with version `12.0` on target `Runner` because no platform was specified. Please specify a platform for this target in your Podfile. See `https://guides.cocoapods.org/syntax/podfile.html#platform` <https://guides.cocoapods.org/syntax/podfile.html#platform>.

Error running pod install

Error launching application on iPhone 13.

I'm not sure why this happens.

Can anyone guide me how I can solve this issue?

— Reply to this email directly, view it on GitHub https://github.com/fluttercommunity/app_review/issues/32#issuecomment-1206425835, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHOOFX7VY2DC4R3QXVQER5TVXUFQLANCNFSM4OBA5TOA . You are receiving this because you modified the open/close state.Message ID: @.***>

-- Rody Davis Jr

Kedar002 commented 1 year ago

sameeee...

ghost commented 1 year ago

i have the same issue could some one help me (M1)