Core header not found
Hi!
I created an Objective-C bridge header, imported the APAddressBook Pod and now I got the error message at the line #import "APAddressBook.h" in the APAddressBook-Bridging.h file: 'APAddressBook.h' file not found.
Afterwards I added the pod 'APAddressBook/Core' dependency to my Podfile but that didn't solve the problem either.
Any suggestions? Thanks
Hi, You should use 'APAddressBook/Swift' for 'swift'-projects
Best regards, Alexey Belkevich
23 июля 2016 г., 14:21 +0300, Druux [email protected], писал:
Hi!
I created an Objective-C bridge header, imported the APAddressBook Pod and now I got the error message #import "APAddressBook.h" 'APAddressBook.h' file not found. After that I added the pod 'APAddressBook/Core' dependency to my Podfile but that didn't solved the problem either.
Any suggestions? Thanks
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub (https://github.com/Alterplay/APAddressBook/issues/130), or mute the thread (https://github.com/notifications/unsubscribe-auth/ABObNZhGj7rC7Y6TIGOOO6RMpOpWkoyfks5qYflCgaJpZM4JTVvm).
It doesn't work, even using ''APAddressBook/Swift', still getting "file not found" for APAddressbook.h in APAddressBook-Bridging.h. Please update your sample project to use APAddressbook through cocoapods to verify that it work.
using cocoapod version 1.0.1 xcode 7.3.1
Please, checkout podtest branch and check example in Examlpe/Swift folder.
P.S. You should use <> instead of "" when import from framework.
Any answer on this? Im having the same issue.
@redi-wassere
- Do you try build example app in
podtestbranch? (see comment above) - Do you use
<>instead of""?
@belkevich Hi, I have a similar-ish issues. I have a brand new project, Podfile that uses pod 'APAddressBook/Swift' and a bridging header that imports #import <APAddressBook/APAddressBook-Bridging.h>. With that, I get undeclared use of APAddressBook`.
EDIT: I removed the use_frameworks! in the Podfile and it is working now. Is anyone else experiencing this issue of using it as a framework?
I've started to use it through Carthage and it works perfectly now.