The 'Pods-Runner' target has transitive dependencies that include statically linked binaries
See original GitHub issuePlugin Version
google_mobile_ads: ^1.2.0
Steps to Reproduce
running “pod install”
Im unable to run or build an ios application. I even tried to remove the package but the error persists. I have deleted the podfile multiple times.
I cannot really reproduce the error.
The 'Pods-Runner' target has transitive dependencies that include statically linked binaries: (/Users/manolo/Developer/flutterprojects/alkipedia/ios/Pods/Google-Mobile-Ads-SDK/Frameworks/GoogleMobileAdsFramework-Current/GoogleMobileAds.xcframework)
flutter analyze
Analyzing ios…
No issues found! (ran in 1.1s)
Podfile
# Uncomment this line to define a global platform for your project
platform :ios, '12.0'
# transitive dependencies that include statically linked binaries
use_frameworks!
# CocoaPods analytics sends network stats synchronously affecting flutter build latency.
ENV['COCOAPODS_DISABLE_STATS'] = 'true'
project 'Runner', {
'Debug' => :debug,
'Profile' => :release,
'Release' => :release,
}
def flutter_root
generated_xcode_build_settings_path = File.expand_path(File.join('..', 'Flutter', 'Generated.xcconfig'), __FILE__)
unless File.exist?(generated_xcode_build_settings_path)
raise "#{generated_xcode_build_settings_path} must exist. If you're running pod install manually, make sure flutter pub get is executed first"
end
File.foreach(generated_xcode_build_settings_path) do |line|
matches = line.match(/FLUTTER_ROOT\=(.*)/)
return matches[1].strip if matches
end
raise "FLUTTER_ROOT not found in #{generated_xcode_build_settings_path}. Try deleting Generated.xcconfig, then run flutter pub get"
end
require File.expand_path(File.join('packages', 'flutter_tools', 'bin', 'podhelper'), flutter_root)
flutter_ios_podfile_setup
target 'Runner' do
use_frameworks!
use_modular_headers!
flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__))
end
post_install do |installer|
installer.pods_project.targets.each do |target|
flutter_additional_ios_build_settings(target)
end
end
flutter doctor -v
[✓] Flutter (Channel stable, 2.10.4, on macOS 12.3 21E230 darwin-x64, locale en-DE)
• Flutter version 2.10.4 at /Users/manolo/Developer/flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision c860cba910 (13 days ago), 2022-03-25 00:23:12 -0500
• Engine revision 57d3bac3dd
• Dart version 2.16.2
• DevTools version 2.9.2
[!] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
• Android SDK at /Users/manolo/Library/Android/sdk
✗ cmdline-tools component is missing
Run `path/to/sdkmanager --install "cmdline-tools;latest"`
See https://developer.android.com/studio/command-line for more details.
✗ Android license status unknown.
Run `flutter doctor --android-licenses` to accept the SDK licenses.
See https://flutter.dev/docs/get-started/install/macos#android-setup for more details.
[✓] Xcode - develop for iOS and macOS (Xcode 13.3)
• Xcode at /Applications/Xcode.app/Contents/Developer
• CocoaPods version 1.11.3
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 2021.1)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 11.0.11+0-b60-7590822)
[✓] IntelliJ IDEA Community Edition (version 2019.2.4)
• IntelliJ at /Applications/IntelliJ IDEA CE.app
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
[✓] VS Code (version 1.65.0)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.36.0
[✓] Connected device (2 available)
• Leon-Manolo iPhone (mobile) • 00008101-001145A001E9001E • ios • iOS 15.4 19E241
• Chrome (web) • chrome • web-javascript • Google Chrome 99.0.4844.84
! Error: Leon-Manolo iPhone is busy: Preparing the watch for development via Leon-Manolo iPhone. Xcode will continue when Leon-Manolo iPhone is finished. (code -10)
[✓] HTTP Host Availability
• All required HTTP hosts are available
! Doctor found issues in 1 category.
Issue Analytics
- State:
- Created a year ago
- Comments:7
Top Results From Across the Web
The 'Pods-Runner' target has transitive dependencies that ...
- Running pre install hooks [!] The 'Pods-Runner' target has transitive dependencies that include statically linked binaries: (/Users/tossdown/Documents/FLUTTER ...
Read more >Flutter: Cocoapods The 'Pods-Runner' target has transitive ...
Flutter: Cocoapods The 'Pods-Runner' target has transitive dependencies that include static binaries: Flutter.framework · Ask Question. Asked 4 ...
Read more >iOS : The 'Pods-Runner' target has transitive dependencies ...
iOS : The 'Pods - Runner ' target has transitive dependencies that include statically linked binaries : (.../ios/Flutter/Flutter.framework) ...
Read more >target has transitive dependencies that include static binaries ...
iOS : Cocoapods : target has transitive dependencies that include static binaries when installing 'VialerSIPLib' [ Beautify Your Computer ...
Read more >[Solved]-The 'Pods-Runner' target has transitive ...
The 'Pods -Runner' target has transitive dependencies that include statically linked binaries: I believe in the upgrade process, some link in an unknown...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
If someone wonder how to solve this in correct way
use_frameworks! :linkage => :static
Thank you, this worked for me also.