GithubHelp home page GithubHelp logo

Comments (7)

tommaso1 avatar tommaso1 commented on June 29, 2024 2

I found and easier solution, just
cd ios
pod install
cd ..
flutter run

from flutter_blue.

danfleck avatar danfleck commented on June 29, 2024 2

Any ideas on what to do for this? I fixed the protoc problem and I'm still getting errors. Running using Flutter Run in Android Studio:
/flutter_blue/ios/Classes/FlutterBluePlugin.h' is located outside of the allowed root paths.

Using XCode:
'flutter_blue/FlutterBluePlugin.h' file not found'

Any ideas on debugging or what to try to get ios working?

from flutter_blue.

pauldemarco avatar pauldemarco commented on June 29, 2024

Solution consisted of the following:

  1. Install cocoapods 1.2.1
    sudo gem uninstall cocoapods
    sudo gem uninstall cocoapods-core
    sudo gem uninstall cocoapods-deintegrate
    sudo gem uninstall cocoapods-downloader
    sudo gem uninstall -aIx
    sudo gem install -n /usr/local/bin cocoapods -v 1.2.1

  2. Reinstall pods
    cd ./flutter_blue/example/ios
    rm -rf ./Podfile.lock
    export FLUTTER_FRAMEWORK_DIR=/Users/pauldemarco/flutter/bin/cache/artifacts/engine/ios
    pod install

Now, flutter run should run successfully.

from flutter_blue.

Albinzr avatar Albinzr commented on June 29, 2024

screen shot 2018-04-03 at 7 18 18 am

@pauldemarco This is the error I'm getting, Can you tell me whats happening?

from flutter_blue.

Albinzr avatar Albinzr commented on June 29, 2024

@pauldemarco After I did the fix you said, I'm getting new set of errors
screen shot 2018-04-03 at 12 33 34 pm

from flutter_blue.

psycura avatar psycura commented on June 29, 2024

Did all the steps from above - but still receive error:

Error output from CocoaPods:

/bin/bash: line 3: /Users/eugenealitz/projects/ble_test/Pods/!ProtoCompiler/protoc: No such file or directory

[!] Automatically assigning platform ios with version 8.0 on target Runner because no platform was specified. Please specify a platform for this target in your Podfile. See `https://guides.cocoapods.org/syntax/podfile.html#platform`.

from flutter_blue.

TheWalkingDead1024 avatar TheWalkingDead1024 commented on June 29, 2024

still stuck in this issue. still have no idea.

from flutter_blue.

Related Issues (20)

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.