After upgrading Xcoder to version 9.4, my apple TV project build fails with the following error when deploying to an Apple TV (tvOS 11.4.1)
Apple Mach-O Linker (Id) Error
Linker command failed with exit code 1 (user -v to see invocation)
ld: in '/System/Library/PrivateFrameworks/UIFoundation.framework/UIFoundation', missing required architecture arm64 in file /System/Library/PrivateFrameworks/UIFoundation.framework/UIFoundation (2 slices) for architecture arm64
Nothing in the code was changed. The build was successful prior to the upgrade. The build is also successful when deploying to Apple TV Simulator. The project has no linked library.
How can we fix this build error?
Any help is appreciated!