Skip to content
This repository has been archived by the owner on Nov 28, 2023. It is now read-only.

Could not build Objective-C module 'Venmo-iOS-SDK' #95

Open
lukenewman opened this issue Sep 29, 2015 · 7 comments
Open

Could not build Objective-C module 'Venmo-iOS-SDK' #95

lukenewman opened this issue Sep 29, 2015 · 7 comments

Comments

@lukenewman
Copy link

I'm using Swift for my project, and I get the above error on the import statement in AppDelegate. Xcode recognizes the module name

screen shot 2015-09-29 at 11 45 49 am

but gives the error once it's actually there.

screen shot 2015-09-29 at 11 46 01 am

I have the correct line in my Podfile and the use_frameworks! flag. I've linked the CMDQueryStringSerialization, SSKeychain, VENCore, and Venmo-iOS-SDK frameworks as well. I am not using any sort of prefix header.

Any ideas?

@lukenewman
Copy link
Author

I also had the error Could not find file "VENUser.h" at the import statement in VENUser+VenmoSDK.h. I changed it to #import "VENCore/VENUser.h" and both errors were resolved. Maybe this is something that should be changed in the source?

@ammoqq
Copy link

ammoqq commented Oct 4, 2015

Could you post your Podfile and perhaps Bridging header if you have any(Yeah I did try without the bridging header but it didnt work )?

How are you importing the SSKeychain, I have it only downloaded with pods but didnt do anything with them
I have same issue but your solution doesnt help unfortunately :(

@joeycarmello
Copy link

Same issue here.

@hyperspacemark
Copy link

Thanks for reporting this issue. This was indeed a case of bad header importing on our end that worked when the SDK was compiled as a static library via Cocoapods. Unfortunately this falls down when a dynamic library is created. This will be fixed in an upcoming release.

@shadibarhoumi
Copy link

has this been fixed?

@chtrinh
Copy link

chtrinh commented Jan 29, 2016

Any traction on this or a possible work around to get this pod working?

@bsmith11
Copy link

@hyperspacemark Any update on this issue? Still getting it and @lukenewman's fix via #import "VENCore/VENUser.h" works.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants