Genom
Topic Author
Posts: 47
Joined: 04 Dec 2014, 14:47

ENABLE_BITCODE (ios)

15 Jan 2016, 12:10

Hi guys, any idea about how to solve this in ios?

thanks!
ld: '/Users/Jose/Desktop/IOS/LibrariesPlugins/iOS/libNoesis.a(libNoesis.a-arm64-master.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)
 
Genom
Topic Author
Posts: 47
Joined: 04 Dec 2014, 14:47

Re: ENABLE_BITCODE (ios)

15 Jan 2016, 12:36

Ok I found it, I just set Enable Bitcode as "no" in Xcode, but it may be interesting to have the option..

http://stackoverflow.com/questions/3072 ... in-xcode-7
 
User avatar
jsantos
Site Admin
Posts: 2906
Joined: 20 Jan 2012, 17:18
Contact:

Re: ENABLE_BITCODE (ios)

15 Jan 2016, 13:25

I tried enabling BitCode a weeks ago and the increase of the binary size was so huge that we decided to leave it disabled by now. In fact, Unity is doing the same. I think that while Apple Store does not require it, we can have it disabled (although it is mandatory in AppleTV).

So disabled for now, to be activated in the future.
 
JaredThirsk
Posts: 25
Joined: 04 Feb 2015, 23:20

Re: ENABLE_BITCODE (ios)

06 Feb 2016, 01:24

I ran into this too. Might be nice to put in the Unity/iOS docs section.
 
User avatar
jsantos
Site Admin
Posts: 2906
Joined: 20 Jan 2012, 17:18
Contact:

Re: ENABLE_BITCODE (ios)

08 Feb 2016, 15:26

In fact, in the last version of Unity, BitCode is enabled by default. I have added a task in Trello for it. Let's see if we can have it for 1.2.6.

We will also document it properly.

Thanks for the feedback!
 
User avatar
Scherub
Posts: 141
Joined: 06 May 2014, 20:53
Contact:

Re: ENABLE_BITCODE (ios)

05 Jun 2016, 16:08

Now that we're also aiming at AppleTV, is there a rough estimate when you will have it ready? :)
 
User avatar
jsantos
Site Admin
Posts: 2906
Joined: 20 Jan 2012, 17:18
Contact:

Re: ENABLE_BITCODE (ios)

08 Jun 2016, 17:15

Please, file a ticket about it. We will try to provide an unofficial build there. Although no promises about when. : )

Who is online

Users browsing this forum: No registered users and 1 guest