Couldn't resolve framework symlink for '/Applications/Xcode.app/Contents/Developer/Library/Frameworks/opencv2.framework/Versions/Current': readlink(/Applications/Xcode.app/Contents/Developer/Library/Frameworks/opencv2.framework/Versions/Current): Invalid argument (22) (in target '' from project '')
framework symlink
Downloaded opncv2 framework with correct links and replaced it in the project folder of Xcode.