I received these warnings that have haunted me for two days.
dyld: warning, LC_RPATH @executable_path/../lib in /Applications/Xcode.app/Contents/Frameworks/IDEFoundation.framework/Versions/A/../../../../Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/libclang.dylib being ignored in restricted program because of @executable_path
dyld: warning, LC_RPATH @executable_path/../Frameworks in /Applications/Xcode.app/Contents/PlugIns/Xcode3Core.ideplugin/Contents/MacOS/Xcode3Core being ignored in restricted program because of @executable_path
I was doing it with Xcode 7 beta, but then I realized it might be that CocoaPods does not support Swift2 yet. So I started to reuse Xcode 6. However, I am still receiving the same warnings. I believe that these warnings prevented me from importing frameworks into my swift files... Why would the program be restricted? Here is my thanks to anyone who have an idea about this issue.
Followup: So I shifted to Xcode 6.4 and Swift1 but the problem still bugged me. I have also tried to reinstall CocoaPods but it did not help.