I have an iOS app with the following app structure in Xcode:
where `InternalFramework` depends on a binary, dynamic, framework integrated with SwiftPM. Let's call this binary framework Beacon (but it's the same with any binary framework).
When I build the project, `Beacon.framework` is embedded within `InternalFramework.framework` instead of being embedded in `App`.
This is incorrect because a framework shouldn't have sub-frameworks as far as I know, and more importantly in my case, because this prevents me from submitting to App Store Connect with the following error:
[20:04:42]: ERROR ITMS-90205: "Invalid Bundle. The bundle at 'App.app/Frameworks/Internal framework.framework' contains disallowed nested bundles." The attached project reproduces the problem.
This isn't fixed in Xcode 13.3: the InternalFramework doesn't have a Frameworks/ with the embedded dependencies anymore (that's correct), but the dependencies are not embedded in the target app (that's still a bug).