Comments (7)
Hmm... I'm curious if this is an issue with your CocoaPods integration.
- Which versions of Xcode, Braintree-iOS and CocoaPods are you using?
- Can you paste your Podfile?
- Can you run through some of these troubleshooting tips and see if they help?
from braintree_ios.
Xcode- 5.1.1
In PodFile:
pod 'Braintree'.
Pods.xcconfig:
GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
GCC_TREAT_WARNINGS_AS_ERRORS = YES YES YES
HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers" "${PODS_ROOT}/Headers/Braintree"
LIBRARY_SEARCH_PATHS = "$(PODS_ROOT)/Braintree/Braintree/Data/Braintree-Data" "$(PODS_ROOT)/Braintree/Braintree/PayPal/Braintree-PayPal/PayPalMobileSDK"
OTHER_CFLAGS =
OTHER_LDFLAGS = -ObjC -ObjC -lDeviceCollectorLibrary -lPayPalMobile -lc++ -framework AVFoundation -framework CoreLocation -framework MessageUI -framework SystemConfiguration -framework UIKit
PODS_ROOT = ${SRCROOT}/Pods
Thanks for the troubleshooting steps. Will try that.
from braintree_ios.
I used : pod 'Braintree', '~> 3.0.0'
I created a simple project and checked the Link with libraries and changed with my actual project.
Followed the troubleshooting steps above and
From the project-target i removed the libpods.a or libpods-braintree.a.
Pods-target under the Pod project - libpods-braintree.a i have and not the libpods.a
Pods-Braintree target i removed both libpods-braintree.a and libpods.a.
This seems to work. Though it works now , i hope my settings are correct.
from braintree_ios.
Removing the libpods.a or libpods-braintree.a only made the errors hide. When i try to compile with braintree in my viewcontroller i get those errors again. Is there a Braintree service to support this ?
libpods.a or libpods-braintree.a are in red under frameworks.
Undefined symbols for architecture armv7:
"OBJC_CLASS$_PayPalConfiguration", referenced from:
objc-class-ref in libPods.a(BTClientToken+BTPayPal.o)
"_PayPalEnvironmentSandbox", referenced from:
-[BTClient(BTPayPal) btPayPal_applicationCorrelationId] in libPods.a(BTClient+BTPayPal.o)
"OBJC_CLASS$_PayPalFuturePaymentViewController", referenced from:
objc-class-ref in libPods.a(BTClient+BTPayPal.o)
"_PayPalEnvironmentProduction", referenced from:
-[BTClient(BTPayPal) btPayPal_preparePayPalMobileWithError:] in libPods.a(BTClient+BTPayPal.o)
-[BTClient(BTPayPal) btPayPal_applicationCorrelationId] in libPods.a(BTClient+BTPayPal.o)
"_PayPalEnvironmentNoNetwork", referenced from:
-[BTClient(BTPayPal) btPayPal_preparePayPalMobileWithError:] in libPods.a(BTClient+BTPayPal.o)
"OBJC_CLASS$_PayPalMobile", referenced from:
objc-class-ref in libPods.a(BTClient+BTPayPal.o)
"OBJC_CLASS$_DeviceCollectorSDK", referenced from:
objc-class-ref in libPods.a(BTData.o)
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
from braintree_ios.
@Ankish I think this is sounding more like a specific issue with your app and integration. Can you please call or email our support team for more help?
If it turns out that there is a generally applicable problem with the SDK, please do to re-open this issue and post your findings here 😀
from braintree_ios.
i updated the pod gem:
Had problems in LD_FLAG headers , this fixed:
Go to your taget Build Settings -> Other linker flags -> double click . Add $(inherited) to a new line .
thanks a lot mickey
from braintree_ios.
Ahh yes...that is definitely a CocoaPods gotcha. Glad it worked out 🚀
from braintree_ios.
Related Issues (20)
- Make errors public HOT 4
- Apple Review Rejection for saving the payment method for future transaction HOT 1
- BTVenmoClient `tokenize` async method leaks memory and does not return/throw an error when the user cancels the authorisation. HOT 5
- PayPalDataCollector.h HOT 4
- fetchPaymentMethodNonces in BTAPIClient return wrong nonce types HOT 4
- Staging URLs present in production code - Security Issue - For our Customer HOT 18
- Error on pod install after the release of Braintree version 6.8.0 HOT 5
- Unable to Publish Build to App Store with Xcode 15.0 HOT 7
- Unable to Use The Package HOT 5
- policy required: Xcode15 requires Privacy Manifest HOT 22
- V6 Migration guide has incorrect system requirement HOT 2
- Production Access HOT 1
- Better Error Handling HOT 3
- BTThreeDSecureClient.initializeChallenge never completes HOT 3
- Expose SDK struct definitions to consumer apps to enable overridability exclusively for writing unit tests. HOT 4
- ErrorCode 2 and ErrorMessage is 無法完成作業。forbidden HOT 3
- Archiving using Xcode 15.3 Fails Due when Including PPRiskMagnes.framework (minimum OS Version specified in the Info.plist) HOT 17
- Command SwiftCompile failed with a nonzero exit code HOT 2
- 📣 Upgrade your integration to continue accepting Braintree payments HOT 2
- Expose `prefersEphemeralWebBrowserSession` HOT 1
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 braintree_ios.