Comments (6)
I'm checking on this. That seems to be the version specified on cocoapods. I recently updated it.
For now you could go into the node_modules/nativescript-floatingactionbutton/platforms/ios/PodFile file and change the line to the old version:
pod 'MNFloatingActionButton', '~> 0.1'
which should resolve during the build. If I can't get any help on the iOS updated pod issue I'll roll back to the working version above and publish an update to the package.
from nativescript-floatingactionbutton.
You likely need to pin the pod to the old version in meantime:
pod 'MNFloatingActionButton', '0.1'
from nativescript-floatingactionbutton.
@chanmyaethu-mn Your error suggests an incompatible Cocoapods version though, do this:
pod --version
What do you have?
Then also do this:
sudo gem list cocoapods
Please let us know your output.
Ideally you need this output:
cocoapods (0.39.0)
cocoapods-core (0.39.0)
If you have a higher version, you may want to uninstall all cocoapod listings and just instal 0.39.0
using this guide:
http://diego.org/2015/09/24/downgrading-cocoapods/
from nativescript-floatingactionbutton.
Thank bradmartin and NathanWalker for your answering.
I have tested like this which is your mentioned.
I solved the problem by downgrading cocoapods and cocoapods-core 1.0.1 to 0.39.0.
But I face the broblem UI build error which is shown below
file:///app/tns_modules/ui/builder/builder.js:162:56: JS ERROR Error: Building UI from XML. @file:///app/views/login/login-page.xml:41:13
↳Module '/Users/techfunmmr/Library/Developer/CoreSimulator/Devices/9385A15F-7052-4E6F-AB26-17972205750D/data/Containers/Bundle/Application/F274E59A-0E78-42DC-9CAA-293E18C58E83/typescripthelloworld.app/app/tns_modules/nativescript-floatingactionbutton' not found for element 'nativescript-floatingactionbutton:Fab'.
↳Can't find variable: MNFloatingActionButton
Oct 5 11:37:22 Techfunmmrs-Mac-mini com.apple.CoreSimulator.SimDevice.9385A15F-7052-4E6F-AB26-17972205750D.launchd_sim1030: Service exited due to Segmentation fault: 11
tns 2.3.0
xcproj 0.1
cocoapods 0.39.0
xcodeproj 1.3.1
X code 8
OS X EI Capitan Version 10.11.6
from nativescript-floatingactionbutton.
after making the changes i am getting these errors
[!] Unable to satisfy the following requirements:
- `MNFloatingActionButton (~> 0.1.5)` required by `Podfile`
- `MNFloatingActionButton (~> 0.1)` required by `Podfile`
- `MNFloatingActionButton (= 0.1)` required by `Podfile`
- `MNFloatingActionButton (= 0.1.5)` required by `Podfile.lock`
Specs satisfying the `MNFloatingActionButton (~> 0.1.5), MNFloatingActionButton (~> 0.1), MNFloatingActionButton (= 0.1), MNFloatingActionButton (= 0.1.5)` dependency were found, but they required a higher minimum deployment target.
Processing node_modules failed. Error: Command sandbox-pod failed with exit code 1 Error output:
[!] There are duplicate dependencies on `MNFloatingActionButton` in `Podfile`:
- MNFloatingActionButton (~> 0.1.5)
- MNFloatingActionButton (~> 0.1)
- MNFloatingActionButton (= 0.1)
from nativescript-floatingactionbutton.
Hi,
Unfortunately with version 3.0.0 I still get this issue.
Is there any permanent solution, not a workaround?
I cannot downgrade cocoapods to version 0.39 because its very obsolete.
Thx!
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.