Comments (11)
The error Can't find variable: MNFloatingActionButton
stands out.
Did you do a rebuild of your app after adding the plugin? If not read this: https://bradmartin.net/2016/07/20/ahhh-this-nativescript-plugin-doesnt-work/ and let me know if it continues.
from nativescript-floatingactionbutton.
Well I started a fresh project to isolate my error. But I also tried what's said in the link. No change.
from nativescript-floatingactionbutton.
I would maybe say it's a cocoapod issue, what version are you running, and did you sudo it?
from nativescript-floatingactionbutton.
I don't really know :( Sorry. I followed this guide http://docs.nativescript.org/start/ns-setup-os-x
Edit: Yes: I did sudo gem install cocoapod
Maybe this helps?
tns info
All NativeScript components versions information
┌──────────────────┬─────────────────┬────────────────┬─────────────┐
│ Component │ Current version │ Latest version │ Information │
│ nativescript │ 2.2.1 │ 2.2.1 │ Up to date │
│ tns-core-modules │ 2.2.1 │ 2.2.1 │ Up to date │
│ tns-android │ 2.2.0 │ 2.2.0 │ Up to date │
│ tns-ios │ 2.2.1 │ 2.2.1 │ Up to date │
└──────────────────┴─────────────────┴────────────────┴─────────────┘
pod --version
1.0.1
from nativescript-floatingactionbutton.
I'm just curious whether you can tell me when/how this can be fixed or if this is a bigger issue? Or what I can do to help to narrow down the issue?
from nativescript-floatingactionbutton.
Can you try cocoapods 0.39?
from nativescript-floatingactionbutton.
Sorry... I am not familiar with this stuff :/
What I tried:
sudo gem install cocoapods -v 0.39
tns platform remove ios
tns platform add ios
tns doctor
tns build ios
I uninstalled the app from the device and did tns run ios
Same error.
If I have to do something else to change the used cocoapods version can you please give me the instructions?
Thanks
from nativescript-floatingactionbutton.
I don't do much iOS either but I think he means local cocoapods. Google around and see about installing that version on your mac.
from nativescript-floatingactionbutton.
Did you ever get it to build? This issue does seem like a cocoapod issue on your system. I've seen something similar on other plugins and some said switching cocoapods fixed it.
from nativescript-floatingactionbutton.
I just tested the demo app and everything is still working on both android and iOS for me.
from nativescript-floatingactionbutton.
To check your version of cocoapods see here and the command below
http://stackoverflow.com/a/31177514/1893557
gem which cocoapods
from nativescript-floatingactionbutton.
Related Issues (20)
- Can I remove padding around icon? HOT 1
- Calling js method onCreateView failed HOT 2
- Error when adding the plugin HOT 1
- JS: topmost() is deprecated. Use Frame.topmost() instead. HOT 2
- How to use svg images HOT 2
- Fab is not showing when scroll completes HOT 1
- text is not working. HOT 6
- loadFromFontIconCode() is deprecated HOT 4
- Adapt icon to screen HOT 10
- Styles not applied on app build for production HOT 2
- FAB 2.0.1: font icons have different sizes on different screens HOT 1
- Crash in flexbox-layout.android.js - Right-hand side of 'instanceof' is not an object HOT 5
- NativeScript 7 update HOT 1
- Could not load view for: Fab.ReferenceError: NativeClass is not defined when used with {N} 7 with angular HOT 12
- FAB.TypeError: core_1.Property is not a constructor HOT 5
- Changing color to text does not work HOT 6
- Display the action items when Fab Button is clicked - Nativescript7 Angular10 HOT 3
- @nativescript/core still imported for lower version than NS7
- icon appearing bigger and cannot be resized HOT 2
- App is crashing on NS Angular
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nativescript-floatingactionbutton.