minshikshin / google-cast-sdk

Automatically exported from code.google.com/p/google-cast-sdk
0 stars 0 forks source link

GoogleCast 2.7.1 for iOS can not be used with Xcode 7 (does not contain bitcode) #637

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Description:
Version 2.7.1 (and earlier versions I assume ... ) of the GoogleCast library 
for iOS can not be used as-is with Xcode 7 because it expects the library to be 
built with Apple's new bitcode enabled. The library needs to be built with the 
Xcode setting ENABLE_BITCODE.

Version:
GoogleCast 2.71 with Xcode 7 beta 6 on Mac OS X 10.11 beta (build 15A263e) El 
Capitan.

Original issue reported on code.google.com by e...@tjernlund.net on 28 Aug 2015 at 3:39

GoogleCodeExporter commented 8 years ago
Forgot to include error message from the linker:

ld: 'GoogleCast.framework/GoogleCast(CastProtos.o)' does not contain bitcode. 
You must rebuild it with bitcode enabled (Xcode setting ENABLE_BITCODE), obtain 
an updated library from the vendor, or disable bitcode for this target. for 
architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Original comment by e...@tjernlund.net on 28 Aug 2015 at 3:42

GoogleCodeExporter commented 8 years ago
Thank you for reporting the issue. Please be patient while we investigate it. 

Original comment by na...@google.com on 28 Aug 2015 at 11:26

GoogleCodeExporter commented 8 years ago
Is there an ETA on this issue? I'm not seeing an option to disable bitcode in 
xcode 7 beta 6

Original comment by p...@slatestudio.com on 1 Sep 2015 at 6:46

GoogleCodeExporter commented 8 years ago
#3: You can disable the bitcode requirement by going to your build target, 
build settings and then search for "bitcode".

Original comment by e...@tjernlund.net on 1 Sep 2015 at 9:48

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Same happens on XCode 7.0 when running on a device.

Original comment by bhagyasi...@gmail.com on 27 Sep 2015 at 8:58