Bitcode Error.

iOS, iPad, iPhone, tvOS specific usage questions
paoloandrea
New Cone
New Cone
Posts: 6
Joined: 23 May 2015 16:58

Bitcode Error.

Postby paoloandrea » 04 Jan 2016 00:39

Hi Devs
I need help...

I've compiled the latest version 2.7 of libTVVLCKit with success.
Now I need to add framework to my project.
After i use "lips" to merge the build simulator lib and release lib versions.

My command (this is the better way ...i think)

Code: Select all

lipo -create Debug-appletvos/libTVVLCKit.a Debug-appletvsimulator/libTVVLCKit.a -o libTVVLCKit
.a

When Finish the code works great on simulator and on the Apple TV.

Final step is archiving my project, to upload it on Apple Store.
This process give me a Bitcode error.

How can I solve it?
There's a way to enabled it?

I've try another way without success:
Add the "MobileVLCKit.xcodeproj" to my Project, but when i compile it, Xcode don't found the libTVVLCKit.a

Please can you give me a complete example, because one month ago this process works great and I publish my app on the store without problem.
Please help me.
Thank you.
P

soullessff
Blank Cone
Blank Cone
Posts: 16
Joined: 18 Nov 2013 18:40

Re: Bitcode Error.

Postby soullessff » 26 Jan 2016 23:21

Hello Paolo,

The same here. Did you solve your problem?

Thanks

ssbmaccom
Cone that earned his stripes
Cone that earned his stripes
Posts: 184
Joined: 26 Nov 2015 15:21
Operating System: Mac OS, iOS, tvOS

Re: Bitcode Error.

Postby ssbmaccom » 28 Jan 2016 10:41

I use xcodebuild from a script to do all steps to get libTVVLCKit.a.
Works mostly fine (sometimes require a restart due to some failures during the build) but it is not possible to "archive" from command line, even using "ReleaseBuild" configuration will not include Bitcode.

To solve that open the xcodeproject in Xcode and use Project->Archive. Then check the build results (usually in "DerivedData", but depends on Xcode settings) to get hands on the stripped library including bit code.


Return to “VLC for iOS, iPadOS and Apple TV”

Who is online

Users browsing this forum: No registered users and 6 guests