parse-community / Parse-SDK-Flutter

The Dart/Flutter SDK for Parse Platform
https://parseplatform.org
Apache License 2.0
573 stars 188 forks source link

"Exception: Error running pod install" when installing parse_server_sdk_flutter #965

Closed pbrandl closed 12 months ago

pbrandl commented 12 months ago

Issue Description

I am trying to run my flutter app while having parse_server_sdk_flutter specified as my dependency.

Steps to reproduce

Specifying parse_server_sdk_flutter: ^6.0.0 (also tried 5.1.2), then running flutter pub get and running the app.

Actual Outcome

The following output is given:

CocoaPods' output:
↳
      Preparing
    Analyzing dependencies
    Inspecting targets to integrate
      Using `ARCHS` setting to build architectures of target `Pods-Runner`: (``)
    [!] Unable to find a target named `RunnerTests` in project `Runner.xcodeproj`, did find `Runner`. 
    /Users/peter/.gem/ruby/2.6.0/gems/cocoapods-1.12.0/lib/cocoapods/installer/analyzer/target_inspector.rb:108:in `compute_targets'
    /Users/peter/.gem/ruby/2.6.0/gems/cocoapods-1.12.0/lib/cocoapods/installer/analyzer/target_inspector.rb:40:in `compute_results'
   ...
    /Users/peter/.gem/ruby/2.6.0/gems/cocoapods-1.12.0/bin/pod:55:in `<top (required)>'
    /usr/local/bin/pod:23:in `load'
    /usr/local/bin/pod:23:in `<main>'
Exception: Error running pod install
Exited

Expected Outcome

I expected the app to run as before since I only got the parse_server_sdk_flutter as a new dependency.

Environment

parse-github-assistant[bot] commented 12 months ago

Thanks for opening this issue!

pbrandl commented 12 months ago

Not sure, where did this error come from. I removed the macos folder (also read about the ios folder that could cause this problem). Afterwards I ran flutter create --platforms=macos . within my flutter project. This seemed to solve the issue and I could start my project again.