Iam adding a today widget in my Mobile first Project. I am able to run the app in device and simulator. But while performaing a build to distribute it, it's creating a problem. I am able however to make build and distribute before adding an extension.
The error is
ld: file not found:
"Iphone/BuildProductsPath/Release-iphoneos/libCordova.a clang: error: linker command failed with exit code 1 (use -v to see invocation)
I have shared the valid architecture and other linker flags in the screenshot below. I am using xcode 8.1, cordova 6.0.