Repro
1. Open the attached project “PackageBub_10775.zip“
2. Open the Package Manager (Window > Package Manager)
3. Click on the plus button in the top left of the Package Manager Window
4. Click “Add package from disk…“ and select the attached “package.json“ file
5. Build And Run the project (File > Build And Run)
Expected result
Project is built
Actual result
Project isn’t built and errors appear in the Console
Workaround
Rename package by other suffix than .framework
Environment
Reproducible with: 2021.3.8f1, 2022.1.12f1, 2022.2.0b4, 2023.1.0a4
Can’t test with: 2020.3.37f1 (Errors in the Console)
Reproducible on: macOS (12.3.1)
Note
Also, errors in the Console when the selected Target platform is macOS and trying to build