GNOME Bugzilla – Bug 723805
Xcode 5 / iOS: _locale_charset usage in libiconv is apparently non-public API
Last modified: 2014-11-08 14:23:58 UTC
This one I don't fully understand unfortunately... Submitting to Apple's app store will fail with a non-public API error for _locale_charset which I tracked down in libiconv: libiconv.a(localcharset.o) (for architecture armv7): 00000718 b _charset_aliases 00000000 T _locale_charset U _nl_langinfo U _strcmp U _strlen I don't know if this is because Apple has its own version of libiconv you can link against in Xcode? It doesn't seem like a non-public API -- but there it is. This is building GStreamer 1.2.1 using the 1.2.1 version of cerbero.
This seems like a false positive on Apple's side... *we* ship that API, we're not using theirs.
We should probably rename this symbol for iOS. It's also in libcharset.a and libintl.a
Created attachment 268389 [details] [review] 0001-ios-workaround-false-positive-with-Apple-s-private-A.patch
commit 88fb5669bce1405488c128c8512cac77efd338a3 Author: Andoni Morales Alastruey <ylatuya@gmail.com> Date: Fri Feb 7 10:30:49 2014 +0100 ios: workaround false positive with Apple's private API locale_charset is considered private API even though where are providing it. The symbol is renamed to avoid conflicts https://bugzilla.gnome.org/show_bug.cgi?id=723805
I can report that with this patch uploads to Apple are in fact passing. Thanks very much.
Hello, Thanks for the new patch. Do you have a Gstreamer binary for iOS, built with this new patch.
The releases since 1.2.2 should all have this, including the latest 1.4.0 release.