The iOS development project using cocoapods cannot be archieve. how can I solve it?

  ios, question

The problem I am facing now
The project wants to submit to the AppStore, but there was a problem when packaging, so it cannot be packaged as shown in the figure.图片描述

Signed as follows


Now I am very anxious to solve this problem. Please give me some advice. Thank you very much

1. ensure that the Skip Install option in the main Project is No

2. set the Skip Install option of Project (each requires corresponding operation) to Yes

3. Sub-Project → Build Phases → Copy Headers, drag all files in Public and Private to Project

After completing the above operations, we will release the application. When we click the Distribute button, the following menu options will appear. You can see that the “Submit to the iOS App Store” option is already in the menu: