Reputation: 960
I just installed CocoaPods so I'll be able to import the Facebook SDK for Swift
When I install the pod I got this warning:
[!] The
MyAppName[Release]
target overrides theFRAMEWORK_SEARCH_PATHS
build setting defined in `Pods/Target Support Files/Pods-myappname/Pods-myappname.release.xcconfig'. This can lead to problems with the CocoaPods installation
I already did all the solution listed in this post but didn't work for me.
When I use $(inherited) the field remain white:
And my Facebook import don't work:
No such module as 'FacebookCore'
Where is the problem? I'm going mad.
Here is my Pod file:
EDIT FOR THE ANSWER:
I edited the file like that and run the command but got the same warning and my import still don't work:
Upvotes: 2
Views: 355
Reputation: 48522
EDIT
Use the `$(inherited)` flag
add $(inherited)
to each configuration
rm -rf Pods/ Podfile.lock ; pod install
If this fails, clean the configurations as well:
None
.rm -rf Pods/ Podfile.lock ; pod install
Upvotes: 1
Reputation: 960
Thanks for contributing, The only way I found that work is to re-create a new Project and start on from there.
Any work around didn't work for me.
Upvotes: 2