SDWebImage / libwebp-Xcode

A wrapper for libwebp + Xcode project. Support Carthage && CocoaPods && SwiftPM.
56 stars 36 forks source link

A building error about inttypes.h. #6

Closed SuperY closed 4 years ago

SuperY commented 4 years ago

If someone gets a building error about 'inttypes.h', replace 'inttypes.h' with 'xlocale/_inttypes.h' maybe make it works.

Error Messages: ...../Carthage/Build/iOS/libwebp.framework/Headers/types.h:20:10: Include of non-modular header inside framework module 'libwebp.types': '/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/clang/include/inttypes.h'

dreampiggy commented 3 years ago

The CocoaPods version already fix this issue. This is actually a clang toolchain bug (<inttypes.h> is not a system clang module. Only <stdint.h> is. Suck)