I have an iOS application that embeds a framework containing core business logic. Everything works great in iOS and for the Catalyst app in Xcode. When I export to an archive though the framework bundle has a nil identifier. The following code will print "Unknown" for the framework bundle from "exported from archive" Catalyst version of the app. In Xcode it prints out the name of the app bundle and framework bundle.
Has anyone else seen this issue? Is there a known solution?
Code Block var bundles = "" for bundle in Bundle.allFrameworks { if !(bundle.bundleIdentifier?.hasPrefix("com.apple") ?? false) { bundles += " \(bundle.bundleIdentifier ?? "Unknown")" } } print(bundles)
Has anyone else seen this issue? Is there a known solution?