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

VENUser.h file not found? #92

Closed
morganwildermuth opened this issue Aug 5, 2015 · 2 comments
Closed

VENUser.h file not found? #92

morganwildermuth opened this issue Aug 5, 2015 · 2 comments

Comments

@morganwildermuth
Copy link

I'm trying to integrate this in a Swift application. I'm using Xcode 6.4 and CocoaPods 0.38.2.

My podfile looks like this:

platform :ios, '8.0'
use_frameworks!

target 'my_app_name' do
    pod 'Venmo-iOS-SDK', '~>1.3'
end

With no import in my bridge header, the app runs. With #import <Venmo_iOS_SDK/Venmo.h> however, I get the following error:

..Pods/Venmo-iOS-SDK/venmo-sdk/Categories/VENUser+VenmoSDK.h:1:9: 'VENUser.h' file not found
.../my_app_name-Bridging-Header.h:6:9: Could not build module 'Venmo_iOS_SDK' 
Failed to import bridging header '../my_app_name/my_app_name-Bridging-Header.h'

I tried adding another pod just to make sure it was an issue specifically with my integration with venmo-ios-sdk and ended up adding #import <VENCore/VENcore.h> with zero problems. I'm pretty new to iOS, so I don't really know if I'm missing something extra obvious which is why I included so many details.

Any ideas?

@morganwildermuth
Copy link
Author

Actually, this is the relevant line I guess:


#import "VENUser.h"

@interface VENUser (VenmoSDK) <NSCoding>

@end

in File VENUser+VenmoSDK.h as referenced before

@morganwildermuth
Copy link
Author

Okaay, fixed that issue myself by just adding VENCore before that line.

#import "VENCore/VENUser.h"

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

1 participant