Coder Social home page Coder Social logo

Comments (6)

bradmartin avatar bradmartin commented on July 21, 2024

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.

NathanWalker avatar NathanWalker commented on July 21, 2024

You likely need to pin the pod to the old version in meantime:

pod 'MNFloatingActionButton', '0.1'

from nativescript-floatingactionbutton.

NathanWalker avatar NathanWalker commented on July 21, 2024

@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.

chanmyaethu-mn avatar chanmyaethu-mn commented on July 21, 2024

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.

dondragon2 avatar dondragon2 commented on July 21, 2024

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.

tscislo avatar tscislo commented on July 21, 2024

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)

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.