Skip to content
This repository has been archived by the owner on Jun 25, 2019. It is now read-only.

iOS Build Error - The 'Pods-Runner' target has transitive dependencies that include static binaries #82

Open
Mojachieee opened this issue Jul 5, 2018 · 16 comments

Comments

@Mojachieee
Copy link

When trying to build for iOS I get this pod file error:

   -> Using map_view (0.0.1)
      - Running pre install hooks
    [!] The 'Pods-Runner' target has transitive dependencies that include static binaries: (<project>/ios/Pods/GoogleMaps/Base/Frameworks/GoogleMapsBase.framework, <project>/ios/Pods/GoogleMaps/Maps/Frameworks/GoogleMaps.framework, and <project>/ios/Pods/GoogleMaps/Maps/Frameworks/GoogleMapsCore.framework)

Flutter details:

Flutter 0.5.1 • channel beta • https://github.com/flutter/flutter.git
Framework • revision c7ea3ca377 (5 weeks ago) • 2018-05-29 21:07:33 +0200
Engine • revision 1ed25ca7b7
Tools • Dart 2.0.0-dev.58.0.flutter-f981f09760

I'm just running the default pod file. Has anyone encountered this before?

@pepix
Copy link

pepix commented Jul 5, 2018

I commentout "use_frameworks!" in Podfile.
then solved this.

@Mojachieee
Copy link
Author

This works, however I have other plugins that rely on the use_frameworks! line.

Are there any other fixes?

@mtellect
Copy link

i have exactly the same error and issue...works on Android..but fails to build on iOS

@digarahayu17
Copy link

same like me i have plugin use_framework! , but i have to use map_view,
is there solution from this case..?

@mtellect
Copy link

mtellect commented Jul 27, 2018 via email

@digarahayu17
Copy link

@mtellect you solve it without comment use_framework! ...? if yes, please share how to solve it..!

@BPHvZ
Copy link

BPHvZ commented Jul 30, 2018

I have this same issue

@morad00
Copy link

morad00 commented Aug 1, 2018

@pepix @Mojachieee @mtellect could any please where I could find this "use_framework" in my Podfile !?

@diga17
Copy link

diga17 commented Aug 1, 2018

Still waiting for fix this problem

@seeps001
Copy link

@mtellect how did you fix it?

@diga17
Copy link

diga17 commented Aug 24, 2018

Until now there is No Solution , i hope Google release official plugin

@mtellect
Copy link

The first step is to download the plugin fully into your Android studio and check if the plugin would build locally on ios

@mtellect
Copy link

If it does try importing the plugin package locally downloaded into your project...

dependencies:
plugin1:
path: ../plugin1/

@mtellect
Copy link

That was how I was able to use it...but if it doesn't work please still let me know
ammaugost@gmail.com

@digarahayu17
Copy link

@mtellect have you try in iOS that include use_framework! in podFile ?

@gimox
Copy link

gimox commented Oct 1, 2018

Open iOS workspace with Xcode. Select file and preference and set build as legacy. Flutter plugin not work with Xcode 10 new build system.

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

No branches or pull requests

9 participants