Cannot request permissions to integrate venmo #61
Comments
Any takers? |
Had to move forward with my project so used the Objective-C you guys provided with a bridging header. Could someone post a fix if they figure this error out? |
I am having the same issue. |
No I don't think so, I was hoping one of the devs had an idea |
It seems like either Cocoapods or Swift doesn't like the permissions constants that are defined in So in the case of Pull requests to fix this would be welcome! |
Thanks a ton. Tried dozens of things to do with testing. This finally works. |
Thanks! |
So I have the following code in my view controller (SWIFT)
Venmo.sharedInstance().requestPermissions([VENPermissionMakePayments,VENPermissionAccessProfile], withCompletionHandler: { (Bool success, NSError error) -> Void in
if (success) {
println(":)")
}
else {
println(":(")
}
})
This results in an 3 errors as below:
"_VENPermissionAccessProfile", referenced from: _TFC8SplitPea24VenmoLoginViewController11viewDidLoadfS0_FT_T in VenmoLoginViewController.o
"_VENPermissionMakePayments", referenced from: _TFC8SplitPea24VenmoLoginViewController11viewDidLoadfS0_FT_T in VenmoLoginViewController.o
clang: error: linker command failed with exit code 1 (use -v to see invocation)
How does one interpret these? The code only shows errors when i try to run (auto-compile is on in my xcode) and shows no errors when the snippet provided above is commented out. This view controller is connected to a blank view controller in the storyboard if that information helps.
The text was updated successfully, but these errors were encountered: