I'm working on testing the binary support with Firebase and ran into something that I think is an issue (but looking for guidance if I'm right about that ).
We have an XCFramework built that supports iOS, the iOS simulator, and Catalyst (not native macOS). In the implementation for some reason, it checks if
macos is supported and bails out if not, even if macOS isn't listed as supported in the package manifest.
The code in question:
The relevant portion of the
<dict> <key>LibraryIdentifier</key> <string>ios-x86_64-maccatalyst</string> <key>LibraryPath</key> <string>GoogleUtilities.framework</string> <key>SupportedArchitectures</key> <array> <string>x86_64</string> </array> <key>SupportedPlatform</key> <string>ios</string> <key>SupportedPlatformVariant</key> <string>maccatalyst</string> </dict>
I was looking at testing this in an actual iOS app to see if this was an issue but ran into other integration problems with the snapshot I was working with (SwiftPM version says 5.2 so I couldn't use binary frameworks, may have to build it myself?).
Please let me know if I'm missing something or this should be addressed.