Comments (3)
Use
#import <libwebp/decode.h>
from libwebp-xcode.
None of the following worked, all gave the error in Xcode, Preprocessor error file not found
#import <libwebp/decode.h>
#import <libwebp/webp/decode.h>
#import <webp/decode.h> // this the recommendation from the readme
The Package.swift
implies that the 3rd option, readme documentation, makes the most sense:
sources: ["libwebp/src"],
publicHeadersPath: "include",
https://github.com/SDWebImage/libwebp-Xcode/blob/master/Package.swift#L24,L30
from libwebp-xcode.
Maybe we should use the @import libwebp
. Or custom the Swift Include Path for this..
from libwebp-xcode.
Related Issues (12)
- Can we put the original libwebp.podspec (not json format) here for maintain ? HOT 6
- When I using SPM on Xcode 12, I see a warning about IPHONEOS_DEPLOYMENT_TARGET
- iOS 15 / Xcode 13 - min target conflict HOT 4
- Variable 'xx' may be unitialized when used here HOT 1
- call gif2webp from swift file HOT 2
- Xcode
- Support libweb 1.3.1 version HOT 6
- Apple Privacy Manifest HOT 2
- A building error about inttypes.h. HOT 1
- podspec error. HOT 1
- 用新版 Carthage 编译出的 xcframework 无法使用 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from libwebp-xcode.