Giter VIP home page Giter VIP logo

Comments (6)

mickeyreiss avatar mickeyreiss commented on May 26, 2024

This is unexpected. We are definitely intending to compile the PayPal SDK such that it includes armv7.

$ xcrun otool -f Pods/Braintree/Braintree/PayPal/Braintree-PayPal/PayPalMobileSDK/libPayPalMobile.a
Fat headers
fat_magic 0xcafebabe
nfat_arch 5
architecture 0
    cputype 12
    cpusubtype 9
    capabilities 0x0
    offset 108
    size 5832520
    align 2^2 (4)
architecture 1
    cputype 12
    cpusubtype 11
    capabilities 0x0
    offset 5832628
    size 5835072
    align 2^2 (4)
architecture 2
    cputype 7
    cpusubtype 3
    capabilities 0x0
    offset 11667700
    size 3206960
    align 2^2 (4)
architecture 3
    cputype 16777223
    cpusubtype 3
    capabilities 0x0
    offset 14874660
    size 3257208
    align 2^2 (4)
architecture 4
    cputype 16777228
    cpusubtype 0
    capabilities 0x0
    offset 18131868
    size 7055528
    align 2^2 (4)
Archive : Pods/Braintree/Braintree/PayPal/Braintree-PayPal/PayPalMobileSDK/libPayPalMobile.a

Can you try recreating this? On my end, the included static library seems to include an armv7 slice.

from braintree_ios.

gileze33 avatar gileze33 commented on May 26, 2024

Got the exact same output as you... I think this might have something to do with a bug in CocoaPods - I've recently had to add the Google Analytics .a lib directly to my app's targets despite installing via a Pod.

To fix this, all I did was go into the Pods-Braintree target, Build Phases and then manually add the libPayPalMobile.a under Link Binary With Libraries

from braintree_ios.

mickeyreiss avatar mickeyreiss commented on May 26, 2024

I'm glad you have a temporary fix. In case you aren't already, I'd recommend committing the Pods directory into source control to preserve the "hacks".

Do you have any sense of what the CocoaPods bug might be? I'd love to submit a fix to the @CocoaPods folks.

On Sep 1, 2014, at 11:22, gileze33 [email protected] wrote:

Got the exact same output as you... I think this might have something to do with a bug in CocoaPods - I've recently had to add the Google Analytics .a lib directly to my app's targets despite installing via a Pod.

To fix this, all I did was go into the Pods-Braintree target, Build Phases and then manually add the libPayPalMobile.a under Link Binary With Libraries


Reply to this email directly or view it on GitHub.

from braintree_ios.

mickeyreiss avatar mickeyreiss commented on May 26, 2024

To try recreating this, I ran pod try Braintree and ran the Braintree Demo scheme on an iPhone Retina (4-inch 64-bit) (Xcode 5). It ran successfully for me.

Do you also see Undefined symbols for architecture armv7 when you try this on your box? I'm guessing this issue was caused by a build setting in your project.

from braintree_ios.

mcfadden avatar mcfadden commented on May 26, 2024

@gileze33 Your fix worked for me.

from braintree_ios.

rob5408 avatar rob5408 commented on May 26, 2024

Same issue, @gileze33 solution worked for me. Strange.

from braintree_ios.

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.