braintree / braintree_ios

Braintree SDK for iOS
https://developer.paypal.com/braintree/docs/start/hello-client/ios/v5
MIT License
560 stars 294 forks source link

No such module 'Braintree' #363

Closed kiran-yasala closed 7 years ago

kiran-yasala commented 7 years ago

General information

Issue description

Steps we followed : 1) Install pod " pod 'Braintree' " 2) We checked in pods folder 3) Register a URL type as "com.Abhibus.abhibus1.payments"

after the integration, we got the below errors when we are trying to run the app

4) No such module 'Braintree' 5) framework not found

Current Issues:

We are unable to integrate PayPal SDK in iOS because of the above issues mentioned, please find the screenshots attached.

1 pod installaion terminal 2 framework_not_showing_pods_folder 3 register a url type 4 error_no_such_ module 5 error_framework_not_found

Could you please mention the process of integrating PayPal SDK Via Braintree using GitHub without any issue

demerino commented 7 years ago

Can you share your Podfile? I would recommend deleting your /Pods directory and doing a pod update to get the latest version of Braintree.

Then you can follow these directions to get setup: https://developers.braintreepayments.com/guides/client-sdk/setup/ios/v4

kiran-yasala commented 7 years ago

Hi,

Thank you for your reply.

Please find the attached pod file. We followed the steps from mentioned link setup: https://developers.braintreepayments.com/guides/ client-sdk/setup/ios/v4 and we are unable to run the app after integration due to getting errors. Could you please mention the steps to integrate PayPal SDK Via Braintree.

On Tue, Oct 3, 2017 at 11:26 PM, David Merino notifications@github.com wrote:

Can you share your Podfile? I would recommend deleting your /Pods directory and doing a pod update to get the latest version of Braintree.

Then you can follow these directions to get setup: https://developers. braintreepayments.com/guides/client-sdk/setup/ios/v4

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/braintree/braintree_ios/issues/363#issuecomment-333926393, or mute the thread https://github.com/notifications/unsubscribe-auth/Ae-sXNTEPRVPn1A1oYALx5OyWKMh9Hstks5sonUxgaJpZM4PsFNA .

demerino commented 7 years ago

Have you solved your problem? Those directions are correct. Ensure you're using the latest version of Xcode and Cocoapods.

kiran-yasala commented 7 years ago

Hi,

Thank you for your reply. Now the problem is solved after pod update

On Thu, Oct 19, 2017 at 10:49 PM, David Merino notifications@github.com wrote:

Have you solved your problem? Those directions are correct. Ensure you're using the latest version of Xcode and Cocoapods.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/braintree/braintree_ios/issues/363#issuecomment-337977081, or mute the thread https://github.com/notifications/unsubscribe-auth/Ae-sXAH7RcbXXP3IMsownED_WtSIH2Bcks5st4S6gaJpZM4PsFNA .

demerino commented 7 years ago

Great, closing the issue.

aodhol commented 6 years ago

Same problem here. BT 4.9.6, iOS 11. Min deployment target 10.3.x. Deleted Pods/ resinstalled. Same error: Cannot call value of non-function type 'module'

RomeHein commented 6 years ago

Not sure if it's the same issue. But when installing via cocoapod, the module can't be found. Even after deletion of pods, reinstall/update. Braintree version 4.11.0 Xcode 9.2

Edit: Ok, fixed it by clearing the build. Braintree.framework was not containing any headers.

waris117 commented 5 years ago

Facing same issue, any one solved this? ld: framework not found Braintree clang: error: linker command failed with exit code 1 (use -v to see invocation)

NiteshSrivastav commented 5 years ago

Hi can you please suggest me for Braintree integration without using pod in ios

scannillo commented 5 years ago

You can use either CocoaPods or Carthage to integrate the Braintree SDK into your app. Check out the resources under "Installation" here https://github.com/braintree/braintree_ios

prasenraj commented 4 years ago

Includes Cards and PayPal

pod 'Braintree'

Xcode version 11.2 error : ../Build/Products/Debug-iphoneos/Braintree.framework: No such file or directory

how to resolve this error

Stewie-19 commented 3 years ago

pod 'Braintree' Xcode : 11.5 Unable to Compile error: Build input file cannot be found: '.../Xcode/DerivedData/PayPalWithBrainTree-hiqukgqrgvyotkamtzdilsfvxtex/Build/Products/Debug-iphonesimulator/PayPalWithBrainTree.app/PayPalWithBrainTree' (in target 'PayPalWithBrainTree' from project 'PayPalWithBrainTree')

sestevens commented 3 years ago

@Stewie-19 This error sounds like an issue with your project not being able to find certain files, rather than an issue with the Braintree SDK. If you think this is a problem with the SDK, please open a new GitHub issue with more details (including steps to reproduce, if possible).