I’m using a 3rd party open-source binary called “kepubify-darwin-arm64” in my SwiftUI macOS application. The macOS app builds and runs fine locally. However, when trying to upload the app to the App Store, during validation I get the following error:
Couldn't find platform family for "kepubify-darwin-arm64".
Couldn't find CFBundleSupportedPlatforms in the Info.plist, LC_VERSION_MIN, or LC_BUILD_VERSION in the Mach-O for path "/Users/nick/Library/Developer/Xcode/Archives/2024-08-08/Kepubify 8-8-24, 5.05 PM 2.xcarchive/Products/Applications/Kepubify.app/Contents/Resources/kepubify-darwin-arm64".
I’ve ensured that my info.plist has these properties. However, it appers the error is that the binary itself does not have those properties (and why would it, it’s not an Xcode/Swift application)
How can I resolve this?
Kepubify binary: https://github.com/pgaskin/kepubify