rudderlabs / rudder-sdk-flutter

Flutter SDK for RudderStack - the Customer Data Platform for Developers. Now supports Android, iOS and Web tracking!
https://www.rudderstack.com
Other
6 stars 25 forks source link

BUG : The 'Pods-Runner' target has transitive dependencies that include statically linked binaries: (Rudder-Firebase) #115

Closed BetaPundit closed 1 year ago

BetaPundit commented 1 year ago

Bug description Getting The 'Pods-Runner' target has transitive dependencies that include statically linked binaries: (Rudder-Firebase) when running pod install.

Which platform is the issue occurring on Is the error occurring on:

To Reproduce Steps to reproduce the behaviour:

  1. Add the package rudder_integration_firebase_flutter: ^2.0.6 to pubspec.yaml & run flutter pub get
  2. run: pod install in the ios directory
  3. See the error:
Analyzing dependencies
cloud_firestore: Using Firebase SDK version '10.10.0' defined in 'firebase_core'
firebase_core: Using Firebase SDK version '10.10.0' defined in 'firebase_core'
Ignoring ffi-1.15.5 because its extensions are not built. Try: gem pristine ffi --version 1.15.5
Warning: firebase_app_id_file.json file does not exist. This may cause issues in upload-symbols. If this error is unexpected, try running flutterfire configure again.
firebase_crashlytics: Using Firebase SDK version '10.10.0' defined in 'firebase_core'
firebase_messaging: Using Firebase SDK version '10.10.0' defined in 'firebase_core'
firebase_performance: Using Firebase SDK version '10.10.0' defined in 'firebase_core'
firebase_remote_config: Using Firebase SDK version '10.10.0' defined in 'firebase_core'
Downloading dependencies
Installing AppAuth (1.6.2)
Installing AppsFlyerFramework (6.10.1)
Installing BoringSSL-GRPC (0.0.24)
Installing FMDB (2.7.5)
Installing Firebase (10.10.0)
Installing FirebaseABTesting (10.13.0)
Installing FirebaseAnalytics (10.3.0)
Installing FirebaseCore (10.10.0)
Installing FirebaseCoreExtension (10.13.0)
Installing FirebaseCoreInternal (10.13.0)
Installing FirebaseCrashlytics (10.10.0)
Installing FirebaseFirestore (10.10.0)
Installing FirebaseInstallations (10.13.0)
Installing FirebaseMessaging (10.10.0)
Installing FirebasePerformance (10.10.0)
Installing FirebaseRemoteConfig (10.10.0)
Installing FirebaseSessions (10.13.0)
Installing Flutter (1.0.0)
Installing GTMAppAuth (1.3.1)
Installing GTMSessionFetcher (2.3.0)
Installing GoogleAppMeasurement (10.3.0)
Installing GoogleDataTransport (9.2.5)
Installing GoogleSignIn (6.2.4)
Installing GoogleUtilities (7.11.5)
Installing MetricsReporter (1.0.0)
Installing OrderedSet (5.0.0)
Installing PromisesObjC (2.3.1)
Installing PromisesSwift (2.3.1)
Installing ReachabilitySwift (5.0.0)
Installing Rudder (1.18.0)
Installing Rudder-Firebase (3.0.0)
Installing RudderKit (1.4.0)
Installing SAMKeychain (1.5.3)
Installing Toast (4.0.0)
Installing abseil (1.20220623.0)
Installing appsflyer_sdk (6.8.0)
Installing assets_audio_player (0.0.1)
Installing assets_audio_player_web (0.0.1)
Installing better_open_file (0.0.1)
Installing biometric_storage (0.0.1)
Installing cloud_firestore (4.8.2)
Installing connectivity_plus (0.0.1)
Installing device_info_plus (0.0.1)
Installing firebase_core (2.14.0)
Installing firebase_crashlytics (3.3.3)
Installing firebase_messaging (14.6.3)
Installing firebase_performance (0.9.2-3)
Installing firebase_remote_config (4.2.3)
Installing flutter_custom_tabs (0.0.1)
Installing flutter_fgbg (0.0.1)
Installing flutter_inappwebview (0.0.1)
Installing flutter_local_notifications (0.0.1)
Installing flutter_secure_storage (6.0.0)
Installing flutter_udid (0.0.1)
Installing fluttertoast (0.0.2)
Installing gRPC-C++ (1.50.1)
Installing gRPC-Core (1.50.1)
Installing google_sign_in_ios (0.0.1)
Installing in_app_review (0.2.0)
Installing leveldb-library (1.22.2)
Installing local_auth_ios (0.0.1)
Installing nanopb (2.30909.0)
Installing otp_autofill (0.0.1)
Installing package_info_plus (0.4.5)
Installing path_provider_foundation (0.0.1)
Installing razorpay-pod (1.3.3)
Installing razorpay_flutter (1.1.10)
Installing rudder_integration_firebase_flutter (2.0.0)
Installing rudder_plugin_ios (0.0.1)
Installing share_plus (0.0.1)
Installing shared_preferences_foundation (0.0.1)
Installing sqflite (0.0.3)
Installing store_redirect (0.0.1)
Installing uni_links (0.0.1)
Installing url_launcher_ios (0.0.1)
Installing video_player_avfoundation (0.0.1)
Installing webview_flutter_wkwebview (0.0.1)
[!] The 'Pods-Runner' target has transitive dependencies that include statically linked binaries: (Rudder-Firebase)

Version of the Flutter SDK

  1. The version of the Rudder Flutter SDK you are using: rudder_sdk_flutter: 2.4.1
  2. If you are utilizing Flutter device mode integration, kindly provide:
    • The name and version of the device mode integration: rudder_integration_firebase_flutter: ^2.0.6

Flutter Doctor

Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.10.6, on macOS 13.0 22A380 darwin-arm64, locale en-IN)
[✓] Android toolchain - develop for Android devices (Android SDK version 32.1.0-rc1)
[✓] Xcode - develop for iOS and macOS (Xcode 14.3)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2021.1)
[✓] VS Code (version 1.81.0)
[✓] Connected device (3 available)
[✓] Network resources

• No issues found!
desusai7 commented 1 year ago

Hey @BetaPundit,

Can you please try commenting the use_frameworks! in the Podfile of your iOS app and check if this resolves the issue ?

BetaPundit commented 1 year ago

Commenting the use_frameworks! in the Podfile resolves the issue when doing pod install but gives this error when I run it:

Failed to build iOS app
Error (Xcode): module map file '/Users/work/MyApp/ios/Pods/Headers/Private/openssl_grpc/BoringSSL-GRPC.modulemap' not found
desusai7 commented 1 year ago

@BetaPundit, the error you are running into isn't related to Rudderstack, but another package openssl_grpc

desusai7 commented 1 year ago

@BetaPundit, closing this issue for now, as the error you are facing right now is not due to Rudderstack SDK.