Not able to archive Swift app and upload to the app store without "Your app can't contain standalone executables or libraries" error

After trying to investigate this, I've seen this in a few other places, namely the Flurry Analytics framework, but their solutions don't seem to apply to my issue.

The error is referencing a file with my app's name and a .o extensionenter image description here

My build log shows it twice under two "CompileSwift normal arm64" sections:

"/Users/Admin/Library/Developer/Xcode/DerivedData/App_Name-fglhmhjmskcjuedbcbpinrnjxaey/Build/Intermediates.noindex/ArchiveIntermediates/App Name/IntermediateBuildFilesPath/App Name.build/Release-iphoneos/App Name.build/Objects-normal/arm64/AppNamePrefs.o" -o

Searching for anything .o in Xcode turns up nothing, but maybe I could navigate to what it shows in the build log, but I don't know how that would solve my issue, aside from attempting to delete it, but I'm not sure if it's the right approach because I have no idea what this file is for.