Created
September 28, 2015 20:10
-
-
Save wtsnz/a7db502a6c8e713e93cf to your computer and use it in GitHub Desktop.
Add -fembed-bitcode to MobileVLCKit
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From 968ff57dd5830d9962d429e5757737274305e12f Mon Sep 17 00:00:00 2001 | |
From: =?UTF-8?q?W=20T=20K=C3=BChne?= <[email protected]> | |
Date: Fri, 29 Sep 2015 18:34:26 +0200 | |
Subject: [PATCH 13/13] add -fembed-bitcode | |
diff --git a/extras/package/ios/build.sh b/extras/package/ios/build.sh | |
index f514732..4917973 100755 | |
--- a/extras/package/ios/build.sh | |
+++ b/extras/package/ios/build.sh | |
@@ -183,6 +183,8 @@ else | |
export CFLAGS="${CFLAGS} -${OSVERSIONMINCFLAG}=${SIXTYFOURBIT_SDK_MIN}" | |
fi | |
+export CFLAGS="${CFLAGS}" | |
+ | |
export CXXFLAGS="${CFLAGS}" | |
export CPPFLAGS="${CFLAGS}" | |
@@ -216,6 +218,7 @@ else | |
export LDFLAGS="${LDFLAGS} -v -Wl,-${OSVERSIONMINLDFLAG},${SIXTYFOURBIT_SDK_MIN}" | |
fi | |
+CFLAGS="${CFLAGS} -fembed-bitcode" | |
info "LD FLAGS SELECTED = '${LDFLAGS}'" | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello,
I'm trying to compile MobileVLCKit to build tvOS framework. I got it without bitcode. tvOS needs bitcode and I can't archive the project. I've found that gist and this one (https://gist.github.com/wtsnz/ade50e67ae6b006c1db3). Did you compile libTVVLCKit.a with bitcode? Could you tell me the steps to do it?
Thanks!