Unable to embed XCFramework dependency from a workspace child framework

Number:rdar://FB7567350 Date Originated:7/2/2020
Status:Resolved Resolved:23/6/2020
Product:Xcode Product Version:11.3
Classification: Reproducible:
When integrating an xcframework Framework into an Xcode workspace with a framework target which is dependent on the xcframework and then an application target which is dependent on the workspace framework, the application fails to build with a No such module error in the workspace framework.

Project Structure:

- MyApp (iOS App Target)
- MyFramework
    - OtherFramework.xcframework

The frameworks are linked as follows:

- MyApp
     - MyFramework (Embed & Sign)
     - OtherFramework.xcframework (Embed & Sign)
- MyFramework
     - OtherFramework.xcframework (Do Not Embed)

MyApp target fails to build due to MyFramework build failing ((Note - MyFramework builds correctly in isolation using the MyFramework scheme).


Resolved in Xcode 12.0.

Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!