Description

Unable to package a CPP project with Bitcode enabled

 

Confirmed in MAIN 4.22 @ CL 4655014 with error

 

[404/405] sh /Users/compile/UE4/Builds/RDU-WD-11740/D/Projects/AJ_421CPP_4.22/Binaries/TVOS/AJ_421CPP-TVOS-Shipping
UATHelper: Packaging (tvOS): ld: bitcode bundle could not be generated because '/Users/compile/UE4/Builds/RDU-WD-11740/D/Main/Engine/Source/ThirdParty/PhysX3/Lib/TVOS/libPhysX3.a(NpPhysics.o)' was built without full bitcode. All object files and libraries for bitcode must be generated from Xcode Archive or Install build for architecture arm64

Steps to Reproduce
  1. Create a new C++ Project
  2. Setup required iOS settings (Build info, tvos distros)
  3. In project settings - Set "Support Bitcode in Shipping" to True
  4. Set "For Distribution" to true
  5. Package for tvOS

Result:

D:\Program Files\Epic Games\UE_4.21\Engine\Intermediate\Build\TVOS\UE4\Shipping\Launch\Module.Launch.cpp.o' does not contain bitcode. You must rebuild it with bitcode enabled (Xcode setting ENABLE_BITCODE) or obtain an updated library from the vendor file '\Users\compile\UE4\Builds\RDU-WD-11740\D\Program_Files\Epic_Games
\UE_4.21\Engine\Intermediate\Build\TVOS\UE4\Shipping\Launch\Module.Launch.cpp.o' for architecture arm64

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-67529 in the post.

1
Login to Vote

Fixed
ComponentUE - Platform - Mobile
Affects Versions4.21.14.22
Target Fix4.22
Fix Commit5105842
Release Commit5105842
CreatedDec 13, 2018
ResolvedFeb 21, 2019
UpdatedSep 16, 2019
View Jira Issue