Description

ARSharedWorld fails to package at the build command for iOS with the following messages.

 Packaging (iOS):   [1/4] sh /Volumes/Storage/Workspaces/Release/Samples/AR/ARSharedWorld4.23/Binaries/IOS/ARSharedWorld
 Packaging (iOS):   Undefined symbols for architecture arm64:
 Packaging (iOS):     "_glDeleteFramebuffers", referenced from:
 Packaging (iOS):         -[FIOSView DestroyFramebuffer] in Module.ApplicationCore.cpp.o
 Packaging (iOS):     "_glDeleteRenderbuffers", referenced from:
 Packaging (iOS):         -[FIOSView DestroyFramebuffer] in Module.ApplicationCore.cpp.o
 Packaging (iOS):     "_glGenRenderbuffers", referenced from:
 Packaging (iOS):         -[FIOSView CreateFramebuffer:] in Module.ApplicationCore.cpp.o
 Packaging (iOS):     "_glBindRenderbuffer", referenced from:
 Packaging (iOS):         -[FIOSView CreateFramebuffer:] in Module.ApplicationCore.cpp.o
 Packaging (iOS):         -[FIOSView UpdateRenderWidth:andHeight:] in Module.ApplicationCore.cpp.o
 Packaging (iOS):     "_glGetRenderbufferParameteriv", referenced from:
 Packaging (iOS):         -[FIOSView CreateFramebuffer:] in Module.ApplicationCore.cpp.o
 Packaging (iOS):     "_OBJC_CLASS_$_EAGLContext", referenced from:
 Packaging (iOS):         objc-class-ref in Module.ApplicationCore.cpp.o
 Packaging (iOS):     "_glGenFramebuffers", referenced from:
 Packaging (iOS):         -[FIOSView CreateFramebuffer:] in Module.ApplicationCore.cpp.o
 Packaging (iOS):     "_kEAGLDrawablePropertyRetainedBacking", referenced from:
 Packaging (iOS):         -[FIOSView initInternal:] in Module.ApplicationCore.cpp.o
 Packaging (iOS):     "_glFramebufferRenderbuffer", referenced from:
 Packaging (iOS):         -[FIOSView CreateFramebuffer:] in Module.ApplicationCore.cpp.o
 Packaging (iOS):         -[FIOSView UpdateRenderWidth:andHeight:] in Module.ApplicationCore.cpp.o
 Packaging (iOS):     "_glGetError", referenced from:
 Packaging (iOS):         -[FIOSView CreateFramebuffer:] in Module.ApplicationCore.cpp.o
 Packaging (iOS):         -[FIOSView UpdateRenderWidth:andHeight:] in Module.ApplicationCore.cpp.o
 Packaging (iOS):     "_glCheckFramebufferStatus", referenced from:
 Packaging (iOS):         -[FIOSView CreateFramebuffer:] in Module.ApplicationCore.cpp.o
 Packaging (iOS):         -[FIOSView UpdateRenderWidth:andHeight:] in Module.ApplicationCore.cpp.o
 Packaging (iOS):     "_glBindFramebuffer", referenced from:
 Packaging (iOS):         -[FIOSView CreateFramebuffer:] in Module.ApplicationCore.cpp.o
 Packaging (iOS):         -[FIOSView UpdateRenderWidth:andHeight:] in Module.ApplicationCore.cpp.o
 Packaging (iOS):     "_kEAGLColorFormatRGBA8", referenced from:
 Packaging (iOS):         -[FIOSView initInternal:] in Module.ApplicationCore.cpp.o
 Packaging (iOS):     "_kEAGLDrawablePropertyColorFormat", referenced from:
 Packaging (iOS):         -[FIOSView initInternal:] in Module.ApplicationCore.cpp.o
 Packaging (iOS):   ld: symbol(s) not found for architecture arm64

These messages are then followed by a generic clang error:

UATHelper: Packaging (iOS):   clang: error: linker command failed with exit code 1 (use -v to see invocation)
PackagingResults: Error: linker command failed with exit code 1 (use -v to see invocation)
UATHelper: Packaging (iOS): Took 23.745284s to run mono, ExitCode=5

This issue did not occur in //UE4/Release-4.22.3 Live binary, so this appears to be a regression in 4.23.

Steps to Reproduce
  1. Open ARSharedWorld
  2. Click File > Package Project > iOS
  3. Observe Output Log

Results: Package fails at the build command with a clang error

Have Comments or More Details?

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

1
Login to Vote

Fixed
ComponentUE - Platform - Mobile
Affects Versions4.23
Target Fix4.23
Fix Commit8380768
Main Commit8497450
Release Commit8380768
CreatedJul 18, 2019
ResolvedAug 29, 2019
UpdatedFeb 26, 2020
View Jira Issue