lijy91-archives-repos / flutter_flipperkit

Flipper (Extensible mobile app debugger) for flutter.
https://pub.dev/packages/flutter_flipperkit
MIT License
363 stars 58 forks source link

ios 启动报错 #46

Open mdddj opened 3 years ago

mdddj commented 3 years ago
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!
jehhxuxu commented 1 year ago

Same error here, but the project has the file image

romreed commented 1 year ago

flutter_flipperkit-main/example/ios/Pods/FlipperKit/iOS/FlipperKit/SKMacros.h:11:9: 'FBDefines/FBDefines.h' file not found

i got same error then use in podfile

target 'Runner' do
  use_frameworks!:linkage => :static
  use_modular_headers!
  flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__))
end
romreed commented 1 year ago

@jehhxuxu did you find some fix?