GithubHelp home page GithubHelp logo

leanflutter / flutter_flipperkit Goto Github PK

View Code? Open in Web Editor NEW
359.0 5.0 56.0 1.99 MB

Flipper (Extensible mobile app debugger) for flutter.

Home Page: https://pub.dev/packages/flutter_flipperkit

License: MIT License

Java 40.19% Ruby 4.56% Objective-C 2.41% Dart 35.83% Objective-C++ 16.70% C 0.16% Swift 0.15%
flutter flipper flutter-debugger flutter-devtools network-debugger devtools debugger

flutter_flipperkit's Introduction

flutter_flipperkit

pub version

Table of Contents generated with DocToc

Introduction

Flipper (Extensible mobile app debugger) for flutter. View document

Features

  • Network inspector
  • Shared preferences inspector
  • Redux inspector
  • Database Browser

Quick Start

Prerequisites

Before starting make sure you have:

Installation

Add this to your package's pubspec.yaml file:

dependencies:
  flutter_flipperkit: ^0.0.29

Or

dependencies:
  flutter_flipperkit:
    git:
      url: https://github.com/leanflutter/flutter_flipperkit
      ref: main

Android

Change your project files according to the example:

android/settings.gradle:

include ':app'

def localPropertiesFile = new File(rootProject.projectDir, "local.properties")
def properties = new Properties()

assert localPropertiesFile.exists()
localPropertiesFile.withReader("UTF-8") { reader -> properties.load(reader) }

def flutterSdkPath = properties.getProperty("flutter.sdk")
assert flutterSdkPath != null, "flutter.sdk not set in local.properties"
apply from: "$flutterSdkPath/packages/flutter_tools/gradle/app_plugin_loader.gradle"

+ def flutterProjectRoot = rootProject.projectDir.parentFile.toPath()
+ def plugins = new Properties()
+ def pluginsFile = new File(flutterProjectRoot.toFile(), '.flutter-plugins')
+ assert pluginsFile.exists()
+ pluginsFile.withReader("UTF-8") { reader -> plugins.load(reader) }
+ plugins.each { name, path ->
+     def pluginDirectory = flutterProjectRoot.resolve(path).resolve('android').toFile()
+     if (name == 'flutter_flipperkit') {
+         include ':flipper-no-op'
+         project(':flipper-no-op').projectDir = new File(pluginDirectory, 'flipper-no-op')
+     }
+ }

iOS

Open ios/Runner.xcworkspace Add a empty Swift file (e.g Runner-Noop.swift) into Runner Group And make sure the Runner-Bridging-Header.h file is created.

Change your project ios/Podfile file according to the example:

# Uncomment this line to define a global platform for your project
# platform :ios, '11.0'

# 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
  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

Usage

import 'package:flutter_flipperkit/flutter_flipperkit.dart';

void main() {
  FlipperClient flipperClient = FlipperClient.getDefault();

  flipperClient.addPlugin(new FlipperNetworkPlugin(
    // If you use http library, you must set it to false and use https://pub.dev/packages/flipperkit_http_interceptor
    // useHttpOverrides: false,
    // Optional, for filtering request
    filter: (HttpClientRequest request) {
      String url = '${request.uri}';
      if (url.startsWith('https://via.placeholder.com') || url.startsWith('https://gravatar.com')) {
        return false;
      }
      return true;
    }
  ));
  flipperClient.addPlugin(new FlipperReduxInspectorPlugin());
  flipperClient.addPlugin(new FlipperSharedPreferencesPlugin());
  flipperClient.start();

  runApp(MyApp());
}

...

Please refer to examples, to integrate flutter_flipperkit into your project.

You can install packages from the command line:

$ flutter clean
$ flutter packages get

Run the app

$ flutter run

Related Links

Discussion

If you have any suggestions or questions about this project, you can discuss it by Telegram Group with me.

License

MIT License

Copyright (c) 2019-2023 LiJianying <[email protected]>

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

flutter_flipperkit's People

Contributors

erikeelde avatar gadfly361 avatar kieranlafferty avatar lijy91 avatar mdccxv avatar prasetya4di avatar tshinezheng avatar tvolkert avatar ykrank avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

flutter_flipperkit's Issues

Flipper captures logs, but no networking from iOS Simulator

When I run the Flipper desktop app (macOS) and connect to the running Simulator, I can see things printing in the Logs section. However, the Network tab doesn't show any requests at all.

I've also tried Flutter Debugger, but the behavior is the same.

I followed the setup instructions according to each of these resources:
https://fbflipper.com/docs/getting-started.html
https://fbflipper.com/docs/setup/network-plugin.html
https://pub.dev/packages/flutter_flipperkit

Here's an example repo that replicates the problem: https://github.com/mtchllbrrn/flipper_example

Plugins seem to not be working on flipper 0.72.0

I just recently installed the latest version of flipper (zip download on ubuntu) and the dbbrowserplugin no longer worked. As the logs were complaining about the plugin reporting the wrong name for the plugin I decided to try reinstalling the dbbrowser plugin and now I can not install it anymore.
It does appear in the list of plugins and when I click install it prompts me to restart flipper desktop (all seems well). and when flipper launches back up the plugin is reported as not installed still.

I think the same thing is happening to the redux plugin - but I wasn't actively using it so can't report on the behavior on that plugin.

Project with path ':flipper-no-op' could not be found in project ':flutter_flipperkit'.

您好,
按照你的按照方式我修改了android/settings.gradle文件,
但是我的flutter工程目录新建出来并没有android/settings.gradle只有.android/settings.gradle多了一个 . ,而且里面代码如下:

// Generated file. Do not edit.
include ':app'

rootProject.name = 'android_generated'
setBinding(new Binding([gradle: this]))
evaluate(new File('include_flutter.groovy'))

而且上面注释是生成文件不要修改,请问我该怎么做?

Project with path ':flipper-no-op' could not be found in project ':flutter_flipperkit'.

.
.
.
FAILURE: Build failed with an exception.

* Where:
Build file '/*/flutter/.pub-cache/git/flutter_flipperkit-e4a5fa46a5374dfea85b6321c915841f3dac183b/android/build.gradle' line: 35

* What went wrong:
A problem occurred evaluating project ':flutter_flipperkit'.
> Project with path ':flipper-no-op' could not be found in project ':flutter_flipperkit'.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 0s
,

昨天更新了下 flutter idea 插件,之后就一直运行不了。
试过删除 build、flutter clean、git 引用、更新此库版本,都是这个错误。
删除此库引用正常。

好像不支持fish_redux v0.2.0以上版本

Because flipperkit_fish_redux_middleware 0.0.2 depends on fish_redux ^0.1.2 and no versions of flipperkit_fish_redux_middleware match >0.0.2 <0.1.0, flipperkit_fish_redux_middleware ^0.0.2 requires fish_redux ^0.1.2.
。。。。。

pub get failed (1)

iOS error when building as static library

I my app I need to rely on a plugin that forces me to add

    use_frameworks!
    use_modular_headers!

to the podfile.

Naturally it causes problems, so basing on the other solved issues and Flipper "Getting Started" guide for iOS, I am trying to link only Flipper-related libraries statically.
pod install goes well, but when trying to launch the app, I am getting a very cryptic 1000 lines long log of warnings and errors ending with:

While building module 'Foundation' imported from /.../test/flipper_test/ios/Pods/Target Support Files/Pods-Runner/Pods-Runner-dummy.m:1:
While building module 'CoreFoundation' imported from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:6:
In file included from <module-includes>:1:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:23:
/.../test/flipper_test/ios/Pods/Flipper-Fmt/include/fmt/locale.h:11:10: fatal error: 'locale' file not found
#include <locale>
         ^~~~~~~~
1 error generated.
While building module 'Foundation' imported from /.../test/flipper_test/ios/Pods/Target Support Files/Pods-Runner/Pods-Runner-dummy.m:1:
In file included from <module-includes>:1:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:6:10: fatal error: could not build module 'CoreFoundation'
#include <CoreFoundation/CoreFoundation.h>
 ~~~~~~~~^
While building module 'Foundation' imported from /.../test/flipper_test/ios/Pods/Target Support Files/Pods-Runner/Pods-Runner-dummy.m:1:
While building module 'Security' imported from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLCredential.h:9:
In file included from <module-includes>:1:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/Security.framework/Headers/Security.h:27:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/Security.framework/Headers/SecBase.h:28:10: fatal error: could not build module 'CoreFoundation'
#include <CoreFoundation/CFBase.h>
 ~~~~~~~~^
1 error generated.
While building module 'Foundation' imported from /.../test/flipper_test/ios/Pods/Target Support Files/Pods-Runner/Pods-Runner-dummy.m:1:
While building module 'CFNetwork' imported from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLError.h:12:
In file included from <module-includes>:1:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFNetwork.h:18:10: fatal error: could not build module 'CoreFoundation'
#include <CoreFoundation/CoreFoundation.h>
 ~~~~~~~~^
1 error generated.
4 errors generated.
/.../test/flipper_test/ios/Pods/Target Support Files/Pods-Runner/Pods-Runner-dummy.m:1:9: fatal error: could not build module 'Foundation'
#import <Foundation/Foundation.h>
 ~~~~~~~^
5 errors generated.
note: Using new build system
note: Building targets in parallel
note: Planning build
note: Analyzing workspace
note: Constructing build description
note: Build preparation complete
...
warning: no rule to process file '/.../test/flipper_test/ios/Pods/ComponentKit/ComponentKit/ComponentKit.xcconfig' of type 'text.xcconfig' for architecture 'x86_64' (in target 'ComponentKit' from project 'Pods')
Could not build the application for the simulator.
Error launching application on iPhone 11 Pro Max.
Exited (sigterm)

The only dependencies I have in my pubspec are:

  flutter_flipperkit: ^0.0.27
  qr_code_scanner: ^0.5.1

Relevant section of my podfile looks as following:

platform :ios, '11.0'
...
target 'Runner' do
    use_frameworks!
    use_modular_headers!
    
    flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__))
    
    $static_framework = ['FlipperKit', 'Flipper', 'Flipper-Folly',
    'CocoaAsyncSocket', 'ComponentKit', 'Flipper-DoubleConversion',
    'Flipper-Glog', 'Flipper-PeerTalk', 'Flipper-RSocket', 'Yoga', 'YogaKit',
    'CocoaLibEvent', 'OpenSSL-Universal', 'boost-for-react-native']
    
    pre_install do |installer|
        Pod::Installer::Xcode::TargetValidator.send(:define_method, :verify_no_static_framework_transitive_dependencies) {}
        installer.pod_targets.each do |pod|
            if $static_framework.include?(pod.name)
                def pod.build_type;
                Pod::BuildType.static_library
            end
        end
    end
end
end

post_install do |installer|
    installer.pods_project.targets.each do |target|
        target.build_configurations.each do |config|
            config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '11.0'
        end
        flutter_additional_ios_build_settings(target)
    end
end

macOS 11.3, Xcode 12.5.

Am I doing something wrong, am I missing something?

flutter package get error

The current Dart SDK version is 2.1.0-dev.9.4.flutter-f9ebf21297.
Because xxx depends on flutter_flipperkit >=0.0.2 which requires SDK version >=2.1.0 <3.0.0, version solving failed.

pub get failed (1)

Unhandled Exception: MissingPluginException(No implementation found for method clientAddPlugin on channel flutter_flipperkit)

I tried following the quick start here:
https://pub.dev/packages/flutter_flipperkit#quick-start

Android Emulator Pixel 3 API 28, Pie

Using the latest flutter version.

I keep getting an error:

E/flutter ( 9165): [ERROR:flutter/lib/ui/ui_dart_state.cc(157)] Unhandled Exception: MissingPluginException(No implementation found for method clientAddPlugin on channel flutter_flipperkit)
E/flutter ( 9165): #0 MethodChannel.invokeMethod (package:flutter/src/services/platform_channel.dart:319:7)
E/flutter ( 9165):
E/flutter ( 9165): #1 FlipperClient.addPlugin (package:flutter_flipperkit/flipper_client.dart:24:20)
E/flutter ( 9165): #2 initFlipper (package:matchmaking_app/main.dart:22:17)
E/flutter ( 9165): #3 main (package:matchmaking_app/main.dart:11:3)
E/flutter ( 9165): #4 _runMainZoned.. (dart:ui/hooks.dart:239:25)
E/flutter ( 9165): #5 _rootRun (dart:async/zone.dart:1126:13)
E/flutter ( 9165): #6 _CustomZone.run (dart:async/zone.dart:1023:19)
E/flutter ( 9165): #7 _runZoned (dart:async/zone.dart:1518:10)
E/flutter ( 9165): #8 runZoned (dart:async/zone.dart:1502:12)
E/flutter ( 9165): #9 _runMainZoned. (dart:ui/hooks.dart:231:5)
E/flutter ( 9165): #10 _startIsolate. (dart:isolate-patch/isolate_patch.dart:307:19)
E/flutter ( 9165): #11 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:174:12)
E/flutter ( 9165):
E/flutter ( 9165): [ERROR:flutter/lib/ui/ui_dart_state.cc(157)] Unhandled Exception: MissingPluginException(No implementation found for method clientAddPlugin on channel flutter_flipperkit)
E/flutter ( 9165): #0 MethodChannel.invokeMethod (package:flutter/src/services/platform_channel.dart:319:7)
E/flutter ( 9165):
E/flutter ( 9165): #1 FlipperClient.addPlugin (package:flutter_flipperkit/flipper_client.dart:24:20)
E/flutter ( 9165): #2 initFlipper (package:matchmaking_app/main.dart:23:17)
E/flutter ( 9165): #3 main (package:matchmaking_app/main.dart:11:3)
E/flutter ( 9165): #4 _runMainZoned.. (dart:ui/hooks.dart:239:25)
E/flutter ( 9165): #5 _rootRun (dart:async/zone.dart:1126:13)
E/flutter ( 9165): #6 _CustomZone.run (dart:async/zone.dart:1023:19)
E/flutter ( 9165): #7 _runZoned (dart:async/zone.dart:1518:10)
E/flutter ( 9165): #8 runZoned (dart:async/zone.dart:1502:12)
E/flutter ( 9165): #9 _runMainZoned. (dart:ui/hooks.dart:231:5)
E/flutter ( 9165): #10 _startIsolate. (dart:isolate-patch/isolate_patch.dart:307:19)
E/flutter ( 9165): #11 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:174:12)
E/flutter ( 9165):
E/flutter ( 9165): [ERROR:flutter/lib/ui/ui_dart_state.cc(157)] Unhandled Exception: MissingPluginException(No implementation found for method clientAddPlugin on channel flutter_flipperkit)
E/flutter ( 9165): #0 MethodChannel.invokeMethod (package:flutter/src/services/platform_channel.dart:319:7)
E/flutter ( 9165):
E/flutter ( 9165): #1 FlipperClient.addPlugin (package:flutter_flipperkit/flipper_client.dart:24:20)
E/flutter ( 9165): #2 initFlipper (package:matchmaking_app/main.dart:24:17)
E/flutter ( 9165): #3 main (package:matchmaking_app/main.dart:11:3)
E/flutter ( 9165): #4 _runMainZoned.. (dart:ui/hooks.dart:239:25)
E/flutter ( 9165): #5 _rootRun (dart:async/zone.dart:1126:13)
E/flutter ( 9165): #6 _CustomZone.run (dart:async/zone.dart:1023:19)
E/flutter ( 9165): #7 _runZoned (dart:async/zone.dart:1518:10)
E/flutter ( 9165): #8 runZoned (dart:async/zone.dart:1502:12)
E/flutter ( 9165): #9 _runMainZoned. (dart:ui/hooks.dart:231:5)
E/flutter ( 9165): #10 _startIsolate. (dart:isolate-patch/isolate_patch.dart:307:19)
E/flutter ( 9165): #11 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:174:12)
E/flutter ( 9165):
E/flutter ( 9165): [ERROR:flutter/lib/ui/ui_dart_state.cc(157)] Unhandled Exception: MissingPluginException(No implementation found for method clientStart on channel flutter_flipperkit)
E/flutter ( 9165): #0 MethodChannel.invokeMethod (package:flutter/src/services/platform_channel.dart:319:7)
E/flutter ( 9165):
E/flutter ( 9165): #1 FlipperClient.start (package:flutter_flipperkit/flipper_client.dart:36:20)
E/flutter ( 9165): #2 initFlipper (package:matchmaking_app/main.dart:25:17)
E/flutter ( 9165): #3 main (package:matchmaking_app/main.dart:11:3)
E/flutter ( 9165): #4 _runMainZoned.. (dart:ui/hooks.dart:239:25)
E/flutter ( 9165): #5 _rootRun (dart:async/zone.dart:1126:13)
E/flutter ( 9165): #6 _CustomZone.run (dart:async/zone.dart:1023:19)
E/flutter ( 9165): #7 _runZoned (dart:async/zone.dart:1518:10)
E/flutter ( 9165): #8 runZoned (dart:async/zone.dart:1502:12)
E/flutter ( 9165): #9 _runMainZoned. (dart:ui/hooks.dart:231:5)
E/flutter ( 9165): #10 _startIsolate. (dart:isolate-patch/isolate_patch.dart:307:19)
E/flutter ( 9165): #11 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:174:12)
E/flutter ( 9165):

Screenshot:
ss

ios 启动报错

94 warnings generated.
    In file included from /Users/xx/ios/Pods/FlipperKit/iOS/Plugins/FlipperKitPluginUtils/FlipperKitLayoutHelpers/FlipperKitLayoutHelpers/UIView+SKInvalidation.mm:14:
    In file included from /Users/xx/ios/Pods/FlipperKit/iOS/Plugins/FlipperKitPluginUtils/FlipperKitLayoutHelpers/FlipperKitLayoutHelpers/UIView+SKInvalidation.h:8:
    /Users/xx/build/ios/Debug-iphoneos/FlipperKit/FlipperKit.framework/Headers/SKMacros.h:11:9: fatal error: 'FBDefines/FBDefines.h' file not found
    #import <FBDefines/FBDefines.h>
            ^~~~~~~~~~~~~~~~~~~~~~~
    1 error generated.

flutter_flipperkit: ^0.0.28

flutter doctor

[✓] Flutter (Channel stable, 2.5.3, on macOS 12.0.1 21A559 darwin-arm, locale zh-Hans-CN)
[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
[✓] Xcode - develop for iOS and macOS
[✓] Chrome - develop for the web
[✓] Android Studio (version 2020.3)
[✓] IntelliJ IDEA Ultimate Edition (version 2021.1.3)
[✓] VS Code (version 1.62.3)
[✓] Proxy Configuration
[✓] Connected device (2 available)

• No issues found!

Error running pod install Error

Screen Shot 2019-05-19 at 10 37 32 AM

I got this error after add this plugin to dependencies of pubspec.yaml and call flutter packages get

Screen Shot 2019-05-19 at 10 41 33 AM

I'm not implement anything in MainApp.

I try to clean the Pod and re-install as well. What should I do?

flutter_flipperkit 一直安装不上

    -> Using sqflite (0.0.1)
      - Running pre install hooks
    [!] The 'Pods-Runner' target has transitive dependencies that include static binaries: (/Users/niugengyun/AndroidStudioProjects/shenghuopai/ios/Pods/CocoaLibEvent/lib/libevent.a, /Users/niugengyun/AndroidStudioProjects/shenghuopai/ios/Pods/CocoaLibEvent/lib/libevent_core.a, /Users/niugengyun/AndroidStudioProjects/shenghuopai/ios/Pods/CocoaLibEvent/lib/libevent_extra.a, /Users/niugengyun/AndroidStudioProjects/shenghuopai/ios/Pods/CocoaLibEvent/lib/libevent_pthreads.a, /Users/niugengyun/AndroidStudioProjects/shenghuopai/ios/Pods/OpenSSL-Static/lib-ios/libcrypto.a, and /Users/niugengyun/AndroidStudioProjects/shenghuopai/ios/Pods/OpenSSL-Static/lib-ios/libssl.a)

    /Library/Ruby/Gems/2.3.0/gems/cocoapods-1.5.3/lib/cocoapods/installer/xcode/target_validator.rb:81:in `block (2 levels) in verify_no_static_framework_transitive_dependencies'
    /Library/Ruby/Gems/2.3.0/gems/cocoapods-1.5.3/lib/cocoapods/installer/xcode/target_validator.rb:73:in `each'
    /Library/Ruby/Gems/2.3.0/gems/cocoapods-1.5.3/lib/cocoapods/installer/xcode/target_validator.rb:73:in `block in verify_no_static_framework_transitive_dependencies'
    /Library/Ruby/Gems/2.3.0/gems/cocoapods-1.5.3/lib/cocoapods/installer/xcode/target_validator.rb:70:in `each'
    /Library/Ruby/Gems/2.3.0/gems/cocoapods-1.5.3/lib/cocoapods/installer/xcode/target_validator.rb:70:in `verify_no_static_framework_transitive_dependencies'
    /Library/Ruby/Gems/2.3.0/gems/cocoapods-1.5.3/lib/cocoapods/installer/xcode/target_validator.rb:36:in `validate!'
    /Library/Ruby/Gems/2.3.0/gems/cocoapods-1.5.3/lib/cocoapods/installer.rb:415:in `validate_targets'
    /Library/Ruby/Gems/2.3.0/gems/cocoapods-1.5.3/lib/cocoapods/installer.rb:118:in `install!'
    /Library/Ruby/Gems/2.3.0/gems/cocoapods-1.5.3/lib/cocoapods/command/install.rb:41:in `run'
    /Library/Ruby/Gems/2.3.0/gems/claide-1.0.2/lib/claide/command.rb:334:in `run'
    /Library/Ruby/Gems/2.3.0/gems/cocoapods-1.5.3/lib/cocoapods/command.rb:52:in `run'
    /Library/Ruby/Gems/2.3.0/gems/cocoapods-1.5.3/bin/pod:55:in `<top (required)>'
    /usr/local/bin/pod:22:in `load'
    /usr/local/bin/pod:22:in `<main>'

Error output from CocoaPods:
↳
        �[33mWARNING: CocoaPods requires your terminal to be using UTF-8 encoding.
        Consider adding the following to ~/.profile:

        export LANG=en_US.UTF-8
        �[0m

Error running pod install
Error launching application on iPhone X.

fatal error: 'boost/preprocessor/control/expr_iif.hpp' file not found

When I try to run the project I get the following error.

../ios/Pods/Headers/Public/Flipper-Folly/folly/functional/Invoke.h:22:10: fatal error: 'boost/preprocessor/control/expr_iif.hpp' file not found
#include <boost/preprocessor/control/expr_iif.hpp>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

When I browse to Pods folder in ios directory, expr_iif.hpp file exists.

I tried removing Pods folder, Podfile.lock, Deleted cache. Then ran pod install.

But still error is there.

Android dependency 'androidx.appcompat:appcompat' has different version for the compile (1.0.0-rc01) and runtime (1.0.0) classpath

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':app:preDebugBuild'.

Android dependency 'androidx.appcompat:appcompat' has different version for the compile (1.0.0-rc01) and runtime (1.0.0) classpath. You should manually set the same version via DependencyResolution

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

  • Get more help at https://help.gradle.org

HttpClient的签名发生了改变

`lutter_flipperkit-0.0.27/lib/plugins/network/flipper_http_client.dart:101:28: Error: A value of type 'Future Function(Uri, String, String)?' can't be assigned to a variable of type 'Future Function(Uri, String, String?)?' because 'String?' is nullable and 'String' isn't.

  • 'Future' is from 'dart:async'.
  • 'Uri' is from 'dart:core'.
    client!.authenticate = f;

flutter_flipperkit-0.0.27/lib/plugins/network/flipper_http_client.dart:118:33: Error: A value of type 'Future Function(String, int, String, String)?' can't be assigned to a variable of type 'Future Function(String, int, String, String?)?' because 'String?' is nullable and 'String' isn't.

  • 'Future' is from 'dart:async'.
    client!.authenticateProxy = f;`

当和flutter_inappbrowser 一起用的时候,报错

[!] The 'Pods-Runner' target has transitive dependencies that include static binaries: (/Users/lizhangqing/Documents/Code/Learning/Flutter/Code/flutter_learning/flutter_learning/ios/Pods/CocoaLibEvent/lib/libevent.a, /Users/lizhangqing/Documents/Code/Learning/Flutter/Code/flutter_learning/flutter_learning/ios/Pods/CocoaLibEvent/lib/libevent_core.a, /Users/lizhangqing/Documents/Code/Learning/Flutter/Code/flutter_learning/flutter_learning/ios/Pods/CocoaLibEvent/lib/libevent_extra.a, /Users/lizhangqing/Documents/Code/Learning/Flutter/Code/flutter_learning/flutter_learning/ios/Pods/CocoaLibEvent/lib/libevent_pthreads.a, /Users/lizhangqing/Documents/Code/Learning/Flutter/Code/flutter_learning/flutter_learning/ios/Pods/OpenSSL-Static/lib-ios/libcrypto.a, and /Users/lizhangqing/Documents/Code/Learning/Flutter/Code/flutter_learning/flutter_learning/ios/Pods/OpenSSL-Static/lib-ios/libssl.a)

/usr/local/Cellar/cocoapods/1.5.3/libexec/gems/cocoapods-1.5.3/lib/cocoapods/installer/xcode/target_validator.rb:81:in `block (2 levels) in verify_no_static_framework_transitive_dependencies'
/usr/local/Cellar/cocoapods/1.5.3/libexec/gems/cocoapods-1.5.3/lib/cocoapods/installer/xcode/target_validator.rb:73:in `each'
/usr/local/Cellar/cocoapods/1.5.3/libexec/gems/cocoapods-1.5.3/lib/cocoapods/installer/xcode/target_validator.rb:73:in `block in verify_no_static_framework_transitive_dependencies'
/usr/local/Cellar/cocoapods/1.5.3/libexec/gems/cocoapods-1.5.3/lib/cocoapods/installer/xcode/target_validator.rb:70:in `each'
/usr/local/Cellar/cocoapods/1.5.3/libexec/gems/cocoapods-1.5.3/lib/cocoapods/installer/xcode/target_validator.rb:70:in `verify_no_static_framework_transitive_dependencies'
/usr/local/Cellar/cocoapods/1.5.3/libexec/gems/cocoapods-1.5.3/lib/cocoapods/installer/xcode/target_validator.rb:36:in `validate!'
/usr/local/Cellar/cocoapods/1.5.3/libexec/gems/cocoapods-1.5.3/lib/cocoapods/installer.rb:415:in `validate_targets'
/usr/local/Cellar/cocoapods/1.5.3/libexec/gems/cocoapods-1.5.3/lib/cocoapods/installer.rb:118:in `install!'
/usr/local/Cellar/cocoapods/1.5.3/libexec/gems/cocoapods-1.5.3/lib/cocoapods/command/install.rb:41:in `run'
/usr/local/Cellar/cocoapods/1.5.3/libexec/gems/claide-1.0.2/lib/claide/command.rb:334:in `run'
/usr/local/Cellar/cocoapods/1.5.3/libexec/gems/cocoapods-1.5.3/lib/cocoapods/command.rb:52:in `run'
/usr/local/Cellar/cocoapods/1.5.3/libexec/gems/cocoapods-1.5.3/bin/pod:55:in `<top (required)>'
/usr/local/Cellar/cocoapods/1.5.3/libexec/bin/pod:22:in `load'
/usr/local/Cellar/cocoapods/1.5.3/libexec/bin/pod:22:in `<main>'

Can't build Android with Gradle Build Tools 4.2.1

I'm facing an issue with gradle build tool 4.2.1

If I have the following in build.gradle

    dependencies {
        classpath 'com.android.tools.build:gradle:4.2.1'
        classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
    }

I get the following error when building

Stack Trace
/Users/ibrahim/.pub-cache/hosted/pub.dartlang.org/flutter_flipperkit-0.0.27/android/src/main/java/org/leanflutter/plugins/flutter_flipperkit/plugins/FlipperDatabaseBrowserPlugin.java:88: error: reference to put is ambiguous
                            .put("action", call.argument("action"))
                            ^
  both method put(String,FlipperObject) in Builder and method put(String,Builder) in Builder match
/Users/ibrahim/.pub-cache/hosted/pub.dartlang.org/flutter_flipperkit-0.0.27/android/src/main/java/org/leanflutter/plugins/flutter_flipperkit/plugins/FlipperDatabaseBrowserPlugin.java:89: error: reference to put is ambiguous
                            .put("table", call.argument("table"))
                            ^
  both method put(String,FlipperObject) in Builder and method put(String,Builder) in Builder match
/Users/ibrahim/.pub-cache/hosted/pub.dartlang.org/flutter_flipperkit-0.0.27/android/src/main/java/org/leanflutter/plugins/flutter_flipperkit/plugins/FlipperReduxInspectorPlugin.java:27: error: reference to put is ambiguous
                            .put("uniqueId", call.argument("uniqueId"))
                            ^
  both method put(String,FlipperObject) in Builder and method put(String,Builder) in Builder match
/Users/ibrahim/.pub-cache/hosted/pub.dartlang.org/flutter_flipperkit-0.0.27/android/src/main/java/org/leanflutter/plugins/flutter_flipperkit/plugins/FlipperReduxInspectorPlugin.java:28: error: reference to put is ambiguous
                            .put("actionType", call.argument("actionType"))
                            ^
  both method put(String,FlipperObject) in Builder and method put(String,Builder) in Builder match
/Users/ibrahim/.pub-cache/hosted/pub.dartlang.org/flutter_flipperkit-0.0.27/android/src/main/java/org/leanflutter/plugins/flutter_flipperkit/plugins/FlipperReduxInspectorPlugin.java:29: error: reference to put is ambiguous
                            .put("timeStamp", call.argument("timeStamp"))
                            ^
  both method put(String,FlipperObject) in Builder and method put(String,Builder) in Builder match
Note: /Users/ibrahim/.pub-cache/hosted/pub.dartlang.org/flutter_flipperkit-0.0.27/android/src/main/java/org/leanflutter/plugins/flutter_flipperkit/FlutterFlipperkitPlugin.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
5 errors

If i change the build tools to 4.1.0, I can compile with no problems.

Upgrade to uuid ^3.0.1

It is not compatible with the latest version of flutter_graphql. Are you planning to upgrade the dependency to uuid ^3.0.1?

[flutter-starter] flutter pub get
Running "flutter pub get" in flutter-starter...                 
Because flutter_flipperkit >=0.0.7 depends on uuid ^2.0.0 and graphql 5.0.0-nullsafety.3 depends on uuid ^3.0.1, flutter_flipperkit >=0.0.7 is incompatible with graphql 5.0.0-nullsafety.3.

So, because flutterstarter depends on both graphql 5.0.0-nullsafety.3 and flutter_flipperkit 0.0.24, version solving failed.
pub get failed (1; So, because flutterstarter depends on both graphql 5.0.0-nullsafety.3 and flutter_flipperkit 0.0.24, version solving failed.)
exit code 1

Not working with --profile flag

With flutter_flipperkit app failed to launch profile mode.
Version of plugin 0.0.24 (also tested in 0.0.26, not working too)

Running Gradle task 'assembleStagingProfile'...
/Users/cmx/.pub-cache/hosted/pub.dartlang.org/flutter_flipperkit-0.0.24/android/src/main/java/org/leanflutter/plugins/flutter_flipperkit/FlutterFlipperkitPlugin.java:7: error: package com.facebook.flipper.android does not exist
import com.facebook.flipper.android.AndroidFlipperClient;
                                   ^
/Users/cmx/.pub-cache/hosted/pub.dartlang.org/flutter_flipperkit-0.0.24/android/src/main/java/org/leanflutter/plugins/flutter_flipperkit/FlutterFlipperkitPlugin.java:8: error: package com.facebook.flipper.android.utils does not exist
import com.facebook.flipper.android.utils.FlipperUtils;
                                         ^
/Users/cmx/.pub-cache/hosted/pub.dartlang.org/flutter_flipperkit-0.0.24/android/src/main/java/org/leanflutter/plugins/flutter_flipperkit/FlutterFlipperkitPlugin.java:9: error: package com.facebook.flipper.core does not exist
import com.facebook.flipper.core.FlipperClient;
                                ^
/Users/cmx/.pub-cache/hosted/pub.dartlang.org/flutter_flipperkit-0.0.24/android/src/main/java/org/leanflutter/plugins/flutter_flipperkit/FlutterFlipperkitPlugin.java:10: error: package com.facebook.flipper.plugins.network does not exist
import com.facebook.flipper.plugins.network.NetworkFlipperPlugin;
                                           ^
/Users/cmx/.pub-cache/hosted/pub.dartlang.org/flutter_flipperkit-0.0.24/android/src/main/java/org/leanflutter/plugins/flutter_flipperkit/FlutterFlipperkitPlugin.java:11: error: package com.facebook.flipper.plugins.network does not exist
import com.facebook.flipper.plugins.network.NetworkReporter;
                                           ^
/Users/cmx/.pub-cache/hosted/pub.dartlang.org/flutter_flipperkit-0.0.24/android/src/main/java/org/leanflutter/plugins/flutter_flipperkit/FlutterFlipperkitPlugin.java:12: error: package com.facebook.flipper.plugins.sharedpreferences does not exist
import com.facebook.flipper.plugins.sharedpreferences.SharedPreferencesFlipperPlugin;
                                                     ^
/Users/cmx/.pub-cache/hosted/pub.dartlang.org/flutter_flipperkit-0.0.24/android/src/main/java/org/leanflutter/plugins/flutter_flipperkit/FlutterFlipperkitPlugin.java:13: error: package com.facebook.soloader does not exist
import com.facebook.soloader.SoLoader;

...

/Users/cmx/.pub-cache/hosted/pub.dartlang.org/flutter_flipperkit-0.0.24/android/src/main/java/org/leanflutter/plugins/flutter_flipperkit/plugins/FlipperReduxInspectorPlugin.java:26: error: package FlipperObject does not exist
                    new FlipperObject.Builder()
                                     ^
Note: /Users/cmx/.pub-cache/hosted/pub.dartlang.org/flutter_flipperkit-0.0.24/android/src/main/java/org/leanflutter/plugins/flutter_flipperkit/FlutterFlipperkitPlugin.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
53 errors

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':flutter_flipperkit:compileProfileJavaWithJavac'.
> Compilation failed; see the compiler error output for details.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 44s
Exception: Gradle task assembleStagingProfile failed with exit code 1

Error: The non-abstract class 'FlipperHttpClientResponse' is missing implementations for these members: - HttpClientResponse.compressionState

[✓] Flutter (Channel dev, v1.7.3, on Mac OS X 10.14.4 18E226, locale zh-Hans-CN)
    • Flutter version 1.7.3 at /Users/lijy91/development/flutter
    • Framework revision 362b999b90 (6 days ago), 2019-06-07 12:43:27 -0700
    • Engine revision 0602dbb275
    • Dart version 2.3.2 (build 2.3.2-dev.0.1 6e0d978505)

[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
    • Android SDK at /Users/lijy91/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-28, build-tools 28.0.3
    • ANDROID_HOME = /Users/lijy91/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 10.2.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 10.2.1, Build version 10E1001
    • CocoaPods version 1.7.0

[✓] iOS tools - develop for iOS devices
    • ios-deploy 1.9.4

[✓] Android Studio (version 3.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 29.0.1
    • Dart plugin version 173.4700
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01)

[✓] VS Code (version 1.35.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.1.0

[!] Proxy Configuration
    • HTTP_PROXY is set
    ! NO_PROXY is not set

[✓] Connected device (1 available)
    • iPhone 8 • 5216E683-EA8D-4C64-8287-7E06ADC31BC2 • ios • com.apple.CoreSimulator.SimRuntime.iOS-11-4 (simulator)

! Doctor found issues in 1 category.

One line missing in docs

Hi. Thanks for your work
There is a little update for successful launch.

You'll need to add one line at the top of the main fn WidgetsFlutterBinding.ensureInitialized();

void main() {
  // add the next line missing in docs
  WidgetsFlutterBinding.ensureInitialized();

  FlipperClient flipperClient = FlipperClient.getDefault();
  // ...
  // all other init code from docs

  runApp(MyApp());
}

Link error when building app for ios

Hi.

I can't build my flutter app for ios. I get tons of link errors for Flipper-Folly. Can you help me out? (Everything works perfectly on Android)

I don't know what part of the error messages to put here. I have zero experience with ios.

Undefined symbols for architecture x86_64:
  "boost::re_detail_106300::perl_matcher<char const*, std::__1::allocator<boost::sub_match<char const*> >, boost::regex_traits<char, boost::cpp_regex_traits<char> > >::find()", referenced from:
      bool boost::regex_search<char const*, std::__1::allocator<boost::sub_match<char const*> >, char, 

Not able to Build iOS default flutter app

Hi, I am not able to build an iOS app using your plugin and the default flutter app.

Here is my configuration :

Flutter Doctor :

[✓] Flutter (Channel stable, 1.22.6, on macOS 11.1 20C69 darwin-x64, locale en-FR)
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
[✓] Xcode - develop for iOS and macOS (Xcode 12.3)
[✓] Android Studio
[✓] Android Studio (version 4.1)
[✓] Connected device (2 available)

Flutter dependencies : pubspec.yaml

name: temp_app
description: A new Flutter project.

publish_to: 'none'

version: 1.0.0+1

environment:
  sdk: ">=2.7.0 <3.0.0"

dependencies:
  flutter:
    sdk: flutter

  #https://pub.dev/packages/flutter_flipperkit
  flutter_flipperkit: ^0.0.24

  cupertino_icons: ^1.0.0

dev_dependencies:
  flutter_test:
    sdk: flutter

flutter:

  uses-material-design: true

iOS pod file :

# Uncomment this line to define a global platform for your project
platform :ios, '9.0'

# 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

main.dart

import 'package:flutter/material.dart';
import 'package:flutter_flipperkit/flutter_flipperkit.dart';

void main() {

  WidgetsFlutterBinding.ensureInitialized();

  //setup Flipper
  FlipperClient flipperClient = FlipperClient.getDefault();
  flipperClient.addPlugin(new FlipperNetworkPlugin());
  flipperClient.addPlugin(new FlipperSharedPreferencesPlugin());
  flipperClient.start();

  runApp(MyApp());
}

...


Everything is fine with Android Builds, but iOS is not working by default using the basic flutter sample app.
But, I am able to bypass the issue for iOS.

Only if I remove those two values from the pod file, everything is fine.
use_frameworks!
use_modular_headers!

However, I would like to keep those values because my current project need them.
Is there a fix waiting on that side to be able to build the iOS app with the default pod file configuration ?

Thanks.


Additional logs :

Error if I build with ' use_frameworks! ' :

Launching lib/main.dart on iPhone 12 Pro Max in debug mode...
Running pod install...
CocoaPods' output:
↳
      Preparing

    Analyzing dependencies

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

    Finding Podfile changes
      - Flutter
      - flutter_flipperkit

    Fetching external sources
    -> Fetching podspec for `Flutter` from `Flutter`
    -> Fetching podspec for `flutter_flipperkit` from `.symlinks/plugins/flutter_flipperkit/ios`

    Resolving dependencies of `Podfile`
      CDN: trunk Relative path: CocoaPods-version.yml exists! Returning local because checking is only perfomed in repo update
      CDN: trunk Relative path: all_pods_versions_3_2_5.txt exists! Returning local because checking is only perfomed in repo update
      CDN: trunk Relative path: Specs/3/2/5/FlipperKit/0.72.0/FlipperKit.podspec.json exists! Returning local because checking is only perfomed in repo update
      CDN: trunk Relative path: Specs/3/2/5/FlipperKit/0.61.0/FlipperKit.podspec.json exists! Returning local because checking is only perfomed in repo update
      CDN: trunk Relative path: Specs/3/2/5/FlipperKit/0.61.0/FlipperKit.podspec.json exists! Returning local because checking is only perfomed in repo update
      CDN: trunk Relative path: Specs/3/2/5/FlipperKit/0.61.0/FlipperKit.podspec.json exists! Returning local because checking is only perfomed in repo update
      CDN: trunk Relative path: Specs/3/2/5/FlipperKit/0.61.0/FlipperKit.podspec.json exists! Returning local because checking is only perfomed in repo update
      CDN: trunk Relative path: Specs/3/2/5/FlipperKit/0.61.0/FlipperKit.podspec.json exists! Returning local because checking is only perfomed in repo update
      CDN: trunk Relative path: all_pods_versions_f_e_7.txt exists! Returning local because checking is only perfomed in repo update
      CDN: trunk Relative path: Specs/f/e/7/ComponentKit/0.30/ComponentKit.podspec.json exists! Returning local because checking is only perfomed in repo update
      CDN: trunk Relative path: all_pods_versions_3_d_9.txt exists! Returning local because checking is only perfomed in repo update
      CDN: trunk Relative path: Specs/3/d/9/RenderCore/0.30/RenderCore.podspec.json exists! Returning local because checking is only perfomed in repo update
      CDN: trunk Relative path: Specs/3/2/5/FlipperKit/0.61.0/FlipperKit.podspec.json exists! Returning local because checking is only perfomed in repo update
      CDN: trunk Relative path: Specs/3/2/5/FlipperKit/0.61.0/FlipperKit.podspec.json exists! Returning local because checking is only perfomed in repo update
      CDN: trunk Relative path: Specs/3/2/5/FlipperKit/0.61.0/FlipperKit.podspec.json exists! Returning local because checking is only perfomed in repo update
      CDN: trunk Relative path: Specs/3/2/5/FlipperKit/0.61.0/FlipperKit.podspec.json exists! Returning local because checking is only perfomed in repo update
      CDN: trunk Relative path: Specs/3/2/5/FlipperKit/0.61.0/FlipperKit.podspec.json exists! Returning local because checking is only perfomed in repo update
      CDN: trunk Relative path: Specs/3/2/5/FlipperKit/0.61.0/FlipperKit.podspec.json exists! Returning local because checking is only perfomed in repo update
      CDN: trunk Relative path: Specs/3/2/5/FlipperKit/0.61.0/FlipperKit.podspec.json exists! Returning local because checking is only perfomed in repo update
      CDN: trunk Relative path: all_pods_versions_a_e_a.txt exists! Returning local because checking is only perfomed in repo update
      CDN: trunk Relative path: Specs/a/e/a/Flipper/0.73.0/Flipper.podspec.json exists! Returning local because checking is only perfomed in repo update
      CDN: trunk Relative path: Specs/a/e/a/Flipper/0.61.0/Flipper.podspec.json exists! Returning local because checking is only perfomed in repo update
      CDN: trunk Relative path: all_pods_versions_5_7_2.txt exists! Returning local because checking is only perfomed in repo update
      CDN: trunk Relative path: Specs/5/7/2/Flipper-Folly/2.3.0/Flipper-Folly.podspec.json exists! Returning local because checking is only perfomed in repo update
      CDN: trunk Relative path: all_pods_versions_d_1_3.txt exists! Returning local because checking is only perfomed in repo update
      CDN: trunk Relative path: Specs/d/1/3/Flipper-RSocket/1.1.0/Flipper-RSocket.podspec.json exists! Returning local because checking is only perfomed in repo update
      CDN: trunk Relative path: Specs/d/1/3/Flipper-RSocket/1.1.0/Flipper-RSocket.podspec.json exists! Returning local because checking is only perfomed in repo update
      CDN: trunk Relative path: Specs/3/d/9/RenderCore/0.30/RenderCore.podspec.json exists! Returning local because checking is only perfomed in repo update
      CDN: trunk Relative path: Specs/3/2/5/FlipperKit/0.61.0/FlipperKit.podspec.json exists! Returning local because checking is only perfomed in repo update
      CDN: trunk Relative path: all_pods_versions_1_d_4.txt exists! Returning local because checking is only perfomed in repo update
      CDN: trunk Relative path: Specs/1/d/4/CocoaAsyncSocket/7.6.5/CocoaAsyncSocket.podspec.json exists! Returning local because checking is only perfomed in repo update
      CDN: trunk Relative path: all_pods_versions_d_6_6.txt exists! Returning local because checking is only perfomed in repo update
      CDN: trunk Relative path: Specs/d/6/6/Flipper-PeerTalk/0.0.4/Flipper-PeerTalk.podspec.json exists! Returning local because checking is only perfomed in repo update
      CDN: trunk Relative path: Specs/f/e/7/ComponentKit/0.30/ComponentKit.podspec.json exists! Returning local because checking is only perfomed in repo update
      CDN: trunk Relative path: all_pods_versions_8_b_e.txt exists! Returning local because checking is only perfomed in repo update
      CDN: trunk Relative path: Specs/8/b/e/Yoga/1.14.0/Yoga.podspec.json exists! Returning local because checking is only perfomed in repo update
      CDN: trunk Relative path: Specs/3/d/9/RenderCore/0.30/RenderCore.podspec.json exists! Returning local because checking is only perfomed in repo update
      CDN: trunk Relative path: all_pods_versions_9_4_7.txt exists! Returning local because checking is only perfomed in repo update
      CDN: trunk Relative path: Specs/9/4/7/YogaKit/1.18.1/YogaKit.podspec.json exists! Returning local because checking is only perfomed in repo update
      CDN: trunk Relative path: Specs/d/6/6/Flipper-PeerTalk/0.0.4/Flipper-PeerTalk.podspec.json exists! Returning local because checking is only perfomed in repo update
      CDN: trunk Relative path: Specs/5/7/2/Flipper-Folly/2.3.0/Flipper-Folly.podspec.json exists! Returning local because checking is only perfomed in repo update
      CDN: trunk Relative path: all_pods_versions_6_7_d.txt exists! Returning local because checking is only perfomed in repo update
      CDN: trunk Relative path: Specs/6/7/d/boost-for-react-native/1.63.0/boost-for-react-native.podspec.json exists! Returning local because checking is only perfomed in repo update
      CDN: trunk Relative path: all_pods_versions_2_7_2.txt exists! Returning local because checking is only perfomed in repo update
      CDN: trunk Relative path: Specs/2/7/2/Flipper-Glog/0.3.6/Flipper-Glog.podspec.json exists! Returning local because checking is only perfomed in repo update
      CDN: trunk Relative path: all_pods_versions_3_3_c.txt exists! Returning local because checking is only perfomed in repo update
      CDN: trunk Relative path: Specs/3/3/c/Flipper-DoubleConversion/1.1.7/Flipper-DoubleConversion.podspec.json exists! Returning local because checking is only perfomed in repo update
      CDN: trunk Relative path: all_pods_versions_e_d_6.txt exists! Returning local because checking is only perfomed in repo update
      CDN: trunk Relative path: Specs/e/d/6/OpenSSL-Universal/1.1.180/OpenSSL-Universal.podspec.json exists! Returning local because checking is only perfomed in repo update
      CDN: trunk Relative path: all_pods_versions_a_a_0.txt exists! Returning local because checking is only perfomed in repo update
      CDN: trunk Relative path: Specs/a/a/0/CocoaLibEvent/1.0.0/CocoaLibEvent.podspec.json exists! Returning local because checking is only perfomed in repo update
      CDN: trunk Relative path: Specs/a/a/0/CocoaLibEvent/1.0.0/CocoaLibEvent.podspec.json exists! Returning local because checking is only perfomed in repo update
      CDN: trunk Relative path: Specs/9/4/7/YogaKit/1.18.1/YogaKit.podspec.json exists! Returning local because checking is only perfomed in repo update
      CDN: trunk Relative path: Specs/1/d/4/CocoaAsyncSocket/7.6.5/CocoaAsyncSocket.podspec.json exists! Returning local because checking is only perfomed in repo update
      CDN: trunk Relative path: Specs/6/7/d/boost-for-react-native/1.63.0/boost-for-react-native.podspec.json exists! Returning local because checking is only perfomed in repo update
      CDN: trunk Relative path: Specs/2/7/2/Flipper-Glog/0.3.6/Flipper-Glog.podspec.json exists! Returning local because checking is only perfomed in repo update
      CDN: trunk Relative path: Specs/3/3/c/Flipper-DoubleConversion/1.1.7/Flipper-DoubleConversion.podspec.json exists! Returning local because checking is only perfomed in repo update
      CDN: trunk Relative path: Specs/e/d/6/OpenSSL-Universal/1.0.2.20/OpenSSL-Universal.podspec.json exists! Returning local because checking is only perfomed in repo update
      CDN: trunk Relative path: Specs/e/d/6/OpenSSL-Universal/1.0.2.20/OpenSSL-Universal.podspec.json exists! Returning local because checking is only perfomed in repo update
      CDN: trunk Relative path: Specs/8/b/e/Yoga/1.14.0/Yoga.podspec.json exists! Returning local because checking is only perfomed in repo update

    Comparing resolved specification to the sandbox manifest
      - CocoaAsyncSocket
      - CocoaLibEvent
      - ComponentKit
      - Flipper
      - Flipper-DoubleConversion
      - Flipper-Folly
      - Flipper-Glog
      - Flipper-PeerTalk
      - Flipper-RSocket
      - FlipperKit
      - Flutter
      - OpenSSL-Universal
      - RenderCore
      - Yoga
      - YogaKit
      - boost-for-react-native
      - flutter_flipperkit

    Downloading dependencies

    -> Using CocoaAsyncSocket (7.6.5)

    -> Using CocoaLibEvent (1.0.0)

    -> Using ComponentKit (0.30)

    -> Using Flipper (0.61.0)

    -> Using Flipper-DoubleConversion (1.1.7)

    -> Using Flipper-Folly (2.3.0)

    -> Using Flipper-Glog (0.3.6)

    -> Using Flipper-PeerTalk (0.0.4)

    -> Using Flipper-RSocket (1.1.0)

    -> Using FlipperKit (0.61.0)

    -> Using Flutter (1.0.0)

    -> Using OpenSSL-Universal (1.0.2.20)

    -> Using RenderCore (0.30)

    -> Using Yoga (1.14.0)

    -> Using YogaKit (1.18.1)

    -> Using boost-for-react-native (1.63.0)

    -> Using flutter_flipperkit (0.0.24)
      - Running pre install hooks
    [!] The 'Pods-Runner' target has transitive dependencies that include statically linked binaries: (/Users/user_name/Documents/dev/perso/temp_app/ios/Pods/CocoaLibEvent/lib/libevent.a, /Users/user_name/Documents/dev/perso/temp_app/ios/Pods/CocoaLibEvent/lib/libevent_core.a, /Users/user_name/Documents/dev/perso/temp_app/ios/Pods/CocoaLibEvent/lib/libevent_extra.a, /Users/user_name/Documents/dev/perso/temp_app/ios/Pods/CocoaLibEvent/lib/libevent_pthreads.a, /Users/user_name/Documents/dev/perso/temp_app/ios/Pods/OpenSSL-Universal/ios/lib/libcrypto.a, and /Users/user_name/Documents/dev/perso/temp_app/ios/Pods/OpenSSL-Universal/ios/lib/libssl.a)

    /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.1/lib/cocoapods/installer/xcode/target_validator.rb:84:in `block (2 levels) in verify_no_static_framework_transitive_dependencies'
    /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.1/lib/cocoapods/installer/xcode/target_validator.rb:74:in `each_key'
    /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.1/lib/cocoapods/installer/xcode/target_validator.rb:74:in `block in verify_no_static_framework_transitive_dependencies'
    /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.1/lib/cocoapods/installer/xcode/target_validator.rb:73:in `each'
    /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.1/lib/cocoapods/installer/xcode/target_validator.rb:73:in `verify_no_static_framework_transitive_dependencies'
    /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.1/lib/cocoapods/installer/xcode/target_validator.rb:38:in `validate!'
    /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.1/lib/cocoapods/installer.rb:595:in `validate_targets'
    /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.1/lib/cocoapods/installer.rb:162:in `install!'
    /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.1/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.10.1/lib/cocoapods/command.rb:52:in `run'
    /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.1/bin/pod:55:in `<top (required)>'
    /usr/local/bin/pod:23:in `load'
    /usr/local/bin/pod:23:in `<main>'

Error running pod install
Error launching application on iPhone 12 Pro Max.

error if I built with ' use_modular_headers! ' :

A 10 000+ lines of error finishing by :


    1 error generated.
    While building module 'flutter_flipperkit' imported from /Users/user_name/Documents/dev/perso/temp_app/ios/Runner/GeneratedPluginRegistrant.m:8:
    While building module 'FlipperKit' imported from /Users/user_name/Documents/dev/perso/temp_app/ios/Pods/Headers/Public/flutter_flipperkit/FlipperDatabaseBrowserPlugin.h:2:
    In file included from <module-includes>:1:
    In file included from /Users/user_name/Documents/dev/perso/temp_app/ios/Pods/Headers/Public/FlipperKit/FlipperKit-umbrella.h:13:
    In file included from /Users/user_name/Documents/dev/perso/temp_app/ios/Pods/Headers/Public/FlipperKit/FlipperClient.h:11:
    /Users/user_name/Documents/dev/perso/temp_app/ios/Pods/Headers/Public/FlipperKit/FlipperKitCertificateProvider.h:10:9: fatal error: could not build module 'Flipper'
    #import <Flipper/FlipperCertificateExchangeMedium.h>
     ~~~~~~~^
    2 errors generated.
    While building module 'flutter_flipperkit' imported from /Users/user_name/Documents/dev/perso/temp_app/ios/Runner/GeneratedPluginRegistrant.m:8:
    In file included from <module-includes>:1:
    In file included from /Users/user_name/Documents/dev/perso/temp_app/ios/Pods/Headers/Public/flutter_flipperkit/flutter_flipperkit-umbrella.h:14:
    /Users/user_name/Documents/dev/perso/temp_app/ios/Pods/Headers/Public/flutter_flipperkit/FlipperDatabaseBrowserPlugin.h:2:9: fatal error: could not build module 'FlipperKit'
    #import <FlipperKit/FlipperPlugin.h>
     ~~~~~~~^
    3 errors generated.
    /Users/user_name/Documents/dev/perso/temp_app/ios/Runner/GeneratedPluginRegistrant.m:8:9: fatal error: could not build module 'flutter_flipperkit'
    #import <flutter_flipperkit/FlutterFlipperkitPlugin.h>
     ~~~~~~~^
    4 errors generated.
    note: Using new build system
    note: Building targets in parallel
    note: Planning build
    note: Constructing build description
    warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.3.99. (in target 'Flipper-DoubleConversion' from project 'Pods')
    warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.3.99. (in target 'Flipper-Glog' from project 'Pods')
    warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.1, but the range of supported deployment target versions is 9.0 to 14.3.99. (in target 'RenderCore' from project 'Pods')
    warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.4, but the range of supported deployment target versions is 9.0 to 14.3.99. (in target 'Flipper-PeerTalk' from project 'Pods')
    warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.3.99. (in target 'Flipper-Folly' from project 'Pods')
    warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.3.99. (in target 'Yoga' from project 'Pods')
    warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.1, but the range of supported deployment target versions is 9.0 to 14.3.99. (in target 'ComponentKit' from project 'Pods')
    warning: no rule to process file '/Users/user_name/Documents/dev/perso/temp_app/ios/Pods/ComponentKit/ComponentKit/ComponentKit.xcconfig' of type 'text.xcconfig' for architecture 'x86_64' (in target 'ComponentKit' from project 'Pods')
    warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.3.99. (in target 'Flipper-RSocket' from project 'Pods')
    warning: no rule to process file '/Users/user_name/Documents/dev/perso/temp_app/ios/Pods/Flipper-RSocket/rsocket/benchmarks/CMakeLists.txt' of type 'text' for architecture 'x86_64' (in target 'Flipper-RSocket' from project 'Pods')
    warning: no rule to process file '/Users/user_name/Documents/dev/perso/temp_app/ios/Pods/Flipper-RSocket/rsocket/benchmarks/README.md' of type 'net.daringfireball.markdown' for architecture 'x86_64' (in target 'Flipper-RSocket' from project 'Pods')
    warning: no rule to process file '/Users/user_name/Documents/dev/perso/temp_app/ios/Pods/Flipper-RSocket/rsocket/README.md' of type 'net.daringfireball.markdown' for architecture 'x86_64' (in target 'Flipper-RSocket' from project 'Pods')
    warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.3.99. (in target 'YogaKit' from project 'Pods')
    warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.3.99. (in target 'Flipper' from project 'Pods')
    warning: Capabilities for Signing & Capabilities may not function correctly because its entitlements use a placeholder team ID. To resolve this, select a development team in the Runner editor. (in target 'Runner' from project 'Runner')
    warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 6.0, but the range of supported deployment target versions is 9.0 to 14.3.99. (in target 'OpenSSL-Universal' from project 'Pods')
    warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.3.99. (in target 'CocoaLibEvent' from project 'Pods')
    warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.3.99. (in target 'Flutter' from project 'Pods')
    warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.3.99. (in target 'boost-for-react-native' from project 'Pods')

Could not build the application for the simulator.
Error launching application on iPhone 12 Pro Max.


Error building iOS app after Flutter (1.22.1) upgrade

I get the following output after upgrading to Flutter 1.22.1 (flutter_flipperkit: 0.0.24):

While building module 'Flipper' imported from /Users/user/Projects/Flutter/sbp/ios/Pods/Headers/Public/FlipperKit/FlipperKitCertificateProvider.h:10:
In file included from :1:
In file included from /Users/user/Projects/Flutter/sbp/ios/Pods/Headers/Public/Flipper/Flipper-umbrella.h:14:
In file included from /Users/user/Projects/Flutter/sbp/ios/Pods/Headers/Public/Flipper/ConnectionContextStore.h:10:
/Users/user/Projects/Flutter/sbp/ios/Pods/Headers/Public/Flipper-Folly/folly/dynamic.h:55:10: fatal error: 'cstdint' file not found
#include
^~~~~~~~~
1 error generated.
While building module 'flutter_flipperkit' imported from /Users/user/Projects/Flutter/sbp/ios/Runner/GeneratedPluginRegistrant.m:38:
While building module 'FlipperKit' imported from /Users/user/Projects/Flutter/sbp/build/ios/Debug-iphoneos/flutter_flipperkit/flutter_flipperkit.framework/Headers/FlipperDatabaseBrowserPlugin.h:2:
In file included from :1:
In file included from /Users/user/Projects/Flutter/sbp/ios/Pods/Headers/Public/FlipperKit/FlipperKit-umbrella.h:13:
In file included from /Users/user/Projects/Flutter/sbp/ios/Pods/Headers/Public/FlipperKit/FlipperClient.h:11:
/Users/user/Projects/Flutter/sbp/ios/Pods/Headers/Public/FlipperKit/FlipperKitCertificateProvider.h:10:9: fatal error: could not build module 'Flipper'
#import <Flipper/FlipperCertificateExchangeMedium.h>
~~~~~~~^
2 errors generated.
While building module 'flutter_flipperkit' imported from /Users/user/Projects/Flutter/sbp/ios/Runner/GeneratedPluginRegistrant.m:38:
In file included from :1:
In file included from /Users/user/Projects/Flutter/sbp/build/ios/Debug-iphoneos/flutter_flipperkit/flutter_flipperkit.framework/Headers/flutter_flipperkit-umbrella.h:14:
/Users/user/Projects/Flutter/sbp/build/ios/Debug-iphoneos/flutter_flipperkit/flutter_flipperkit.framework/Headers/FlipperDatabaseBrowserPlugin.h:2:9: fatal error: could not build module 'FlipperKit'
#import <FlipperKit/FlipperPlugin.h>
~~~~~~~^
3 errors generated.
/Users/user/Projects/Flutter/sbp/ios/Runner/GeneratedPluginRegistrant.m:38:9: fatal error: could not build module 'flutter_flipperkit'
#import <flutter_flipperkit/FlutterFlipperkitPlugin.h>
~~~~~~~^
4 errors generated.
note: Using new build system
note: Building targets in parallel
note: Planning build
note: Constructing build description
warning: no rule to process file '/Users/user/Projects/Flutter/sbp/ios/Pods/ComponentKit/ComponentKit/ComponentKit.xcconfig' of type 'text.xcconfig' for architecture 'arm64' (in target 'ComponentKit' from project 'Pods')
warning: no rule to process file '/Users/user/Projects/Flutter/sbp/ios/Pods/Flipper-RSocket/rsocket/benchmarks/CMakeLists.txt' of type 'text' for architecture 'arm64' (in target 'Flipper-RSocket' from project 'Pods')
warning: no rule to process file '/Users/user/Projects/Flutter/sbp/ios/Pods/Flipper-RSocket/rsocket/benchmarks/README.md' of type 'net.daringfireball.markdown' for architecture 'arm64' (in target 'Flipper-RSocket' from project 'Pods')
warning: no rule to process file '/Users/user/Projects/Flutter/sbp/ios/Pods/Flipper-RSocket/rsocket/README.md' of type 'net.daringfireball.markdown' for architecture 'arm64' (in target 'Flipper-RSocket' from project 'Pods')

How to set up with new style settings.gradle file on Android?

Hello, I can't finish the installation part according to the docs. Because the settings.gradle file has changed so much on latest flutter projects.

Related Changes: flutter/flutter#54566

-plugins.each { name, path ->
-    def pluginDirectory = flutterProjectRoot.resolve(path).resolve('android').toFile()
-    include ":$name"
-    project(":$name").projectDir = pluginDirectory
-}
+def flutterSdkPath = properties.getProperty("flutter.sdk")
+assert flutterSdkPath != null, "flutter.sdk not set in local.properties"
+apply from: "$flutterSdkPath/packages/flutter_tools/gradle/app_plugin_loader.gradle"

Could you please help me? Thanks in advance.

[Flutter v1.22] Cannot build

After upgrade to Flutter v1.22, I am facing the issue when build the application:

Launching lib/main.dart on Android SDK built for x86 in debug mode...
Running Gradle task 'assembleDebug'...
../../flutter/.pub-cache/hosted/pub.dartlang.org/flutter_flipperkit-0.0.23/lib/plugins/network/flipper_http_client_request.dart:8:7: Error: The non-abstract class 'FlipperHttpClientRequest' is missing implementations for these members:
 - HttpClientRequest.abort
Try to either
 - provide an implementation,
 - inherit an implementation from a superclass or mixin,
 - mark the class as abstract, or
 - provide a 'noSuchMethod' implementation.
class FlipperHttpClientRequest implements HttpClientRequest {
      ^^^^^^^^^^^^^^^^^^^^^^^^
org-dartlang-sdk:///third_party/dart/sdk/lib/_http/http.dart:2045:8: Context: 'HttpClientRequest.abort' is defined here.
  void abort([Object? exception, StackTrace? stackTrace]);
       ^^^^^
FAILURE: Build failed with an exception.

Can you take a look and update please, thank you so much.

[iOS] Linker error: 'Undefined symbols for architecture arm64'

I followed installation procedure,
plugin version 0.0.23,
Flutter 1.12.13+hotfix.9 channel stable. Got this linker error in Xcode:

Undefined symbols for architecture arm64: "CKAnalyticsListenerHelpers::GetReusedNodes(NSObject*)", referenced from: +[SKComponentLayoutWrapper newFromRoot:parentKey:] in libFlipperKit.a(SKComponentLayoutWrapper.o) ld: symbol(s) not found for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation)

Conflict with other dependencies

I get error when following setup for IOS

The Swift podDKPhotoGallerydepends uponSDWebImage, which does not define modules. To opt into those targets generating module maps (which is necessary to import them from Swift when building as static libraries), you may set use_modular_headers!globally in your Podfile, or specify:modular_headers => true for particular dependencies

when i change it to be

target 'Runner' do
  use_modular_headers!
  flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__))
end

install pod successful but when i run project to simulator i get another error
Jepretan Layar 2021-07-22 pukul 23 19 41

Project run throws " The non-abstract class 'FlipperHttpClient' is missing implementations "

I just followed the instructions and when running my android app I get this error :

../../../snap/flutter/common/flutter/.pub-cache/git/flutter_flipperkit-1c36888f3b2c79be70cb71ed6b3c62ad6db1418d/lib/plugins/network/flipper_http_client.dart:6:7: Error: The non-abstract class 'FlipperHttpClient' is missing implementations for these members:
 - HttpClient.connectionFactory=
 - HttpClient.keyLog=
Try to either
 - provide an implementation,
 - inherit an implementation from a superclass or mixin,
 - mark the class as abstract, or
 - provide a 'noSuchMethod' implementation.

class FlipperHttpClient implements HttpClient {
      ^^^^^^^^^^^^^^^^^
org-dartlang-sdk:///third_party/dart/sdk/lib/_http/http.dart:1430:12: Context: 'HttpClient.connectionFactory=' is defined here.
  void set connectionFactory(
           ^^^^^^^^^^^^^^^^^
org-dartlang-sdk:///third_party/dart/sdk/lib/_http/http.dart:1580:12: Context: 'HttpClient.keyLog=' is defined here.
  void set keyLog(Function(String line)? callback);

I'm running flutter 3.3.8 on Dart 2.18.4

Flutter 3.3.8 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 52b3dc25f6 (2 weeks ago) • 2022-11-09 12:09:26 +0800
Engine • revision 857bd6b74c
Tools • Dart 2.18.4 • DevTools 2.15.0

Any ideas how to fix this ?

New pod format support

I wonder how could I use the library with the new pod format

# Uncomment this line to define a global platform for your project
platform :ios, '9.0'

# 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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.