最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

How to resolve Error installing nanopb Flutter - Stack Overflow

programmeradmin5浏览0评论

Title: Error installing nanopb during pod install – Repository not found

Description: I am working on a Flutter project with Firebase dependencies. When I run pod install, I get an error related to nanopb:

  pod install
    Downloading dependencies
    Installing BoringSSL-GRPC (0.0.36)
    Installing Firebase (11.8.0)
    Installing FirebaseAppCheckInterop (11.9.0)
    Installing FirebaseAuth (11.8.1)
    Installing FirebaseAuthInterop (11.9.0)
    Installing FirebaseCore (11.8.1)
    Installing FirebaseCoreExtension (11.8.0)
    Installing FirebaseCoreInternal (11.8.0)
    Installing FirebaseCrashlytics (11.8.0)
    Installing FirebaseFirestore (11.8.0)
    Installing FirebaseFirestoreInternal (11.8.0)
    Installing FirebaseInstallations (11.8.0)
    Installing FirebaseMessaging (11.8.0)
    Installing FirebaseRemoteConfigInterop (11.9.0)
    Installing FirebaseSessions (11.8.0)
    Installing FirebaseSharedSwift (11.9.0)
    Installing Flutter (1.0.0)
    Installing GTMSessionFetcher (4.4.0)
    Installing GoogleDataTransport (10.1.0)
    Installing GoogleUtilities (8.0.2)
    Installing Mixpanel-swift (4.3.0)
    Installing PromisesObjC (2.4.0)
    Installing PromisesSwift (2.4.0)
    Installing RecaptchaInterop (100.0.0)
    Installing abseil (1.20240116.2)
    Installing cloud_firestore (5.6.5)
    Installing connectivity_plus (0.0.1)
    Installing firebase_auth (5.5.1)
    Installing firebase_core (3.12.1)
    Installing firebase_crashlytics (4.3.4)
    Installing firebase_messaging (15.2.4)
    Installing flutter_local_notifications (0.0.1)
    Installing flutter_native_splash (2.4.3)
    Installing fluttertoast (0.0.2)
    Installing gRPC-C++ (1.65.5)
    Installing gRPC-Core (1.65.5)
    Installing geocoding_ios (1.0.5)
    Installing geolocator_apple (1.2.0)
    Installing image_picker_ios (0.0.1)
    Installing leveldb-library (1.22.6)
    Installing location (0.0.1)
    Installing mixpanel_flutter (2.3.4)
    
        Installing nanopb (3.30910.0)
        
        [!] Error installing nanopb
        [!] /usr/bin/git clone .git /var/folders/vz/bl11wq817p79hkmy14__vg7w0000gp/T/d20250317-29208-9vu8ts --template= --single-branch --depth 1 --branch 0.3.9.10
        
        Cloning into '/var/folders/vz/bl11wq817p79hkmy14__vg7w0000gp/T/d20250317-29208-9vu8ts'...
        ERROR: Repository not found.
        fatal: Could not read from remote repository.
    
    Please make sure you have the correct access rights
    and the repository exists

What I Have Tried: Running pod repo update and pod cache clean --all. Running rm -rf Pods Podfile.lock && pod install. Ensuring I have the latest version of CocoaPods (sudo gem install cocoapods and pod setup). My Environment: Flutter version: 3.29.0 Xcode version: 16.2 CocoaPods version: 1.16.2

发布评论

评论列表(0)

  1. 暂无评论