Don't mix different problems. In initial post the error was
error: Building for iOS Simulator, but the linked framework 'KSCrash.framework' was built for iOS. (in target 'B4iProject' from project 'B4iProject')
In new post
#import <WebP/decode.h>
^~~~~~~~~~~~~~~
1 error generated.
This is a Google's framework, which is not included in Libs.
You can find current release at
https://developers.google.com/speed/webp/download
Precompiled WebP framework for iOS. Build details are contained in the README in the archive.
Download
There are some frameworks inside, including WebP.