I am getting No such module 'PFFacebookUtils' error on below line in my AppDelegate:
import PFFacebookUtils
I have checked and both ParseFacebookUtils.framework
and Parse FacebookUtilsV4.framework
are properly installed.
I believe my briding header is also working fine because I have
#import <ParseFacebookUtilsV4/PFFacebookUtils.h>
in it and there are no error there. I have other Parse frameworks installed and they are all functioning fine and their import statement have no errors.
What could I be doing wrong?
I was able to resolve this issue by removing the line import PFFacebookUtils
from swift file but leave the import in bridging header. Unless someone has a better answer?
Do you have any spaces in the name of your project? If that's the case you should head over to your Build Settings and find "Framework Search Paths". If you double-click on the tab with the name of your project (in my case "Project With Spaces"), you will see that Xcode has separated the project name to separate entries. You should remove the bottom entries that Xcode added (in my case "With" and "Spaces"), and change the actual entry (the one starting with "$(PROJECT_DIR)") to the project name - and here's the crucial part - but include a '\' before each space. That way, Xcode will keep the path as a single entry.
Before I made the changes:
After I made the changes:
If your using any Libraries, you should do the same thing but to "Library Search Paths" instead.
Hope this helps!