GStreamer Xcode 10.1 gst/gst.h not found

2019-07-31 04:38发布

GStreamer gst.h file is not found error is coming in Xcode 10.1. Has anyone been able to find a solution for it???

This error even comes if I use Objective-C as primary language for iOS Project.

1条回答
我命由我不由天
2楼-- · 2019-07-31 05:06

It looks like the Xcode changed the path setting mechanism. Home dir ~/ not working now, use $(HOME) indeed. Just change the project settings (Project ->TARGETS ->Build Settings)

Change both Framework Search Paths & Header Search Paths prefix ~/ to $(HOME), after that, it now will be:

Framework Search Paths: "$(HOME)/Library/Developer/GStreamer/iPhone.sdk"

Header Search Paths: "$(HOME)/Library/Developer/GStreamer/iPhone.sdk/GStreamer.framework/Headers"

Face the same issue just now, after this, all works fine.

查看更多
登录 后发表回答