Unity Xcode projet builds fails due to Apple Mach-0 Linker (id) error

I have tried many suggestios that I have seen on the forums about this issue. I still have not managed to find a work around after weeks of trying. It apparently can not find the auto linked library of swiftObjectiveC and many other swift libarys.

As an example I used the latest XCode 11 from the app store and decided to update to the XCode 12 Beta in hopes that this would fix it, yet the issue is still accuring. Unity is also on the latest stable release.

I have also tried the Bitcode fix as well as the adding an empty swift code file in addition to the $(TOOLCHAINDIR)/usr/lib/swift-5.0/$(PLATFORMNAME) suggested fix.

I do not fully understand how to use XCode since before running into this issue it was as simple as pressing Archive and I could upload my Unity Game to the app store. Really hoping you guys can help.
Answered by Camkyle in 621116022
If anyone else fases this issue, please ensure to add the swift file to each of the tickable boxes. This fixed the whole issue for me and I have suscefully built the game.
Accepted Answer
If anyone else fases this issue, please ensure to add the swift file to each of the tickable boxes. This fixed the whole issue for me and I have suscefully built the game.
Unity Xcode projet builds fails due to Apple Mach-0 Linker (id) error
 
 
Q