After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 797200 - GStreamer iOS packages fail to build with Xcode 10.0 update
GStreamer iOS packages fail to build with Xcode 10.0 update
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: dont know
1.4.3
Other Mac OS
: Normal blocker
: 1.14.5
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2018-09-25 17:56 UTC by David Manpearl
Modified: 2018-11-03 16:13 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description David Manpearl 2018-09-25 17:56:33 UTC
This bug affects our current Xcode projects and GStreamer’s example template projects such as "GStreamer Single View Application.xctemplate".

Build error: gst_ios_init.h: #include <gst/gst.h>: 'gst/gst.h' file not found.

Severity: This is a critical Blocker for all of our iOS builds.

Versions affected:
  - Xcode: 10.0
  - Gstreamer: 1.14.3 (also tested with 1.14.2)

GStreamer installed on Mac OS X 10.13.6 from here: https://gstreamer.freedesktop.org/data/pkg/ios/1.14.3/

Verified:
  - Targets > Linked Frameworks and Libraries > Gstreamer.framework
  - Header search path includes: "~/Library/Developer/GStreamer/iPhone.sdk/GStreamer.framework/Headers"
  - Headers directory exists.
  - Headers directory contains gst, gst/gst.h

Unsuccessful attempts to fix:
  - GStreamer/gst/gst.h
  - File > Project Settings… > Build System: > New Build System (Default) => Legacy Build System
Comment 2 Alann 2018-10-08 08:53:54 UTC
Dear Sebastian,
I've managed to make this work by using the lecagy compiler :
File -> project settings -> Build System : "Legacy Build System" instead of new one.

Alann Sapone
Comment 3 n.didonna 2018-10-15 07:58:11 UTC
Hi all, i not able to resove this problem.
If i set legacy build system the xcode blocks in generating DSYM process and after 20 minutes the mac consume a lot of ram and i restart Computer.
In xcode 11 the lagacy build system is removed so can we works in the future with GStreamer in IOS?
Please help me.
Comment 4 Muhammet Ilendemli 2018-10-15 10:31:06 UTC
I have the same issue. I created a local development pod to fix the file not found error (using legacy build system seem to work too). But when i try to create a production build my whole system freezrs within 5 minutes while generating dSYM files.
Comment 5 n.didonna 2018-10-17 07:08:14 UTC
I'm try these two solution:
1) compile with legacy build system -> No DSYM ok, Yes DSYM freeze
2) copy the framework in local directory and use new build system -> No DSYM ok, Yes DSYM freeze

But these freeze is only with Gstreamer Library, because if i try to compile other library with DSYM enabled works well.
Comment 6 David Manpearl 2018-10-17 07:15:19 UTC
FYI: For those still experiencing build issues who can use compiled binaries, in my particular situation iOS build problems are 100% resolved by the release earlier this week of GStreamer v1.14.4 Framework: https://gstreamer.freedesktop.org/data/pkg/ios/1.14.4/
 - David
Comment 7 n.didonna 2018-10-17 07:26:49 UTC
I just use these version, downloaded 12/10/2018 and not works, please help me because i need dsym enabled, or if it possible to enable dsym only in my project and not in gstreamer framework
Comment 8 David Manpearl 2018-10-17 07:48:20 UTC
What is "these version"? Did you test with 1.14.4? This version fixed my iOS build issue, and I did not have to use legacy build system. Unfortunately, I have not tried with dsym. I was under the impression that 1.14.4 was not released until Oct 11, one day after you downloaded.
 - David
Comment 9 Muhammet Ilendemli 2018-10-17 08:06:22 UTC
I have 1.14.4 installed and still have the freezes when building with dSYM enabled.
Comment 10 n.didonna 2018-10-17 08:21:25 UTC
I have 1.14.4 installed and still have the freezes when building with dSYM enabled. (same issues)
Comment 11 n.didonna 2018-10-17 08:26:40 UTC
David but you copy the framework in local directory of project or you can simply build a tutorial without do nothing (leave the parameter not modified like the tutorial 1) ?
Comment 12 n.didonna 2018-10-18 10:28:01 UTC
Hi all, i'm try another test:

Tutorial 1 combiled in legacy and new build system with DSYM enabled -> works well
Tutorial 3 combiled in legacy and new build system with DSYM disabled->  works well

Tutorial 3 combiled in legacy and new build system with DSYM enabled->  freeze

So i'm detect that the problem is the gst/video.h if i comment this import and all reference to this file the Tutorial 3 compile with DSYM.

I hope that this can help someone to resolve this problem.
Comment 13 sotiris 2018-10-20 16:36:13 UTC
Hi all, i am also using 1.14.4 and Xcode 10. I have copied the framework in the local directory of my project and Xcode 10 hangs/freezes when trying to generate the dsym due to lack of memory . I have 16gb of memory. I am using the legacy build system.
Comment 14 GStreamer system administrator 2018-11-03 16:13:53 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/gstreamer/gstreamer-project/issues/20.