Coder Social home page Coder Social logo

iOS problem about nativescript-cardview HOT 7 CLOSED

nstudio avatar nstudio commented on May 16, 2024
iOS problem

from nativescript-cardview.

Comments (7)

bradmartin avatar bradmartin commented on May 16, 2024

@NathanWalker - can you help out here?

On Wed, Mar 2, 2016, 7:40 AM AtixD [email protected] wrote:

Problem build on iOS
[image: 2016-03-02 16 39 43]
https://cloud.githubusercontent.com/assets/17594120/13461895/7ace8fec-e095-11e5-90eb-92097afeb57e.png


Reply to this email directly or view it on GitHub
#10.

from nativescript-cardview.

NathanWalker avatar NathanWalker commented on May 16, 2024

@AtixD There's still some issues with XCode and CocoaPods and tns.
After the build fails from the command-line, go into 'platforms/ios' and open the .xcworkspace file (not the .xcodeproj).
Then set your target to the 2nd one like this for example:
screen shot 2016-02-25 at 9 46 33 pm

Then run that from XCode and it should build just fine.
Let me know.

from nativescript-cardview.

AtixD avatar AtixD commented on May 16, 2024

@NathanWalker Working. Thank you!
In the future, it will be corrected?
////////////////////////////////////////////////////////
if you add a picture from a remote source on iOS ->
2016-03-02 22 58 19
if it is adjusted locally ->
2016-03-02 23 01 30
On android I do not observe this problem

from nativescript-cardview.

NathanWalker avatar NathanWalker commented on May 16, 2024

@AtixD Great to hear. Cheers!

I believe it will be corrected in the future. I'm keeping an eye out for it!

from nativescript-cardview.

Headcult avatar Headcult commented on May 16, 2024

@NathanWalker @bradmartin Seeing this closed issue a little bit late. I faced the same issue on TNS v2.0 using Xcode 7.2.1 with CocoaPods v1.0 on my Mac OS X Yosemite 10.10.5. Read about it online and reverted my Xcode to 7.1.1 where it got deployed successfully onto the iOS 9.2 Simulator (iPhone 6s).

from nativescript-cardview.

NathanWalker avatar NathanWalker commented on May 16, 2024

@Headcult XCode 7.3 works as well, just upgrade, and then downgrade your CocoaPods to 0.39.0.

from nativescript-cardview.

NathanWalker avatar NathanWalker commented on May 16, 2024

Ensure you set the backgroundColor on your card as that is needed so:

<Card:CardView class="cardStyle" margin="10" elevation="40" radius="5" backgroundColor="#fff">
           <grid-layout rows="200, auto, auto" columns="auto, auto, *">
               <image src="~/images/batman.jpg" stretch="aspectFill" colSpan="3" row="0" />
               <label text="Batman wants to be friends?" class="info" textWrap="true" row="1" colSpan="3" />          
               <button text="DECLINE" tap="goAway" row="2" col="0" />
               <button text="ACCEPT" row="2" col="1" />
           </grid-layout>
       </Card:CardView>

from nativescript-cardview.

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.