Steps to reproduce:
1. Open the attached "Plugins.zip" project
2. Go to File > Build Profiles and make sure that iOS Platform is active
3. Build Xcode project
4. After the build is complete go to Xcode project folder
5. Go to Libraries > Plugins > iOS
6. Notice that in the iOS folder, there are two plugins: "Plugin1.dylib" and "Plugin2.m"
7. Open the project in Xcode and go to the same directory as in step 5
8. Observe the folder
Actual results: Only "Plugin2.m" is added
Expected results: Both "Plugin1.dylib" and "Plugin2.m" are in the folder
Reproducible with versions: 2021.3.39f1, 2022.3.30f1, 6000.0.4f1
Tested on (OS):MacBook Pro, Apple M1 Max, OS: Sonoma 14.4.1
Notes:
- Reproducible both with iOS and AppleTV
- If the "Add to Embedded Binaries" option is enabled on the .dylib plugin, it's also not added to Embedded Frameworks in the Xcode