The project doesn't contain a .pbxproj file
Referring to issue #55, I'd like to raise a subsequent one with the same problem.
My folder structure is this one:
MyProject
- MyProject.xcworkspace
- Package1
- PackageN
- MyProject
-- MyProject.xcodeproj Executing a "periphery scan" from the command line in the top folder is working fine. However, I cannot succeed in creating the build phase so that periphery is executed, getting always that "doesn't contain a .pbxproj".
This occurs even if a provide a fully qualified path, no matter if to the .xcodeproj, or to the .pbxproj, or to the .xcworkspace..
Periphery version: 3.0.1 Xcode version: 16.2
I'm also getting this error when following the instructions to integrate with Xcode. If I run the very same command in terminal, it works fine
The project doesn't contain a .pbxproj file at path: ...
Try: #!/bin/bash
/opt/homebrew/bin/periphery scan --project "${PROJECT_DIR}/${PROJECT_NAME}.xcodeproj" --schemes "${PROJECT_NAME}" --format xcode --verbose
and disable sanbox mode in Build Settings -> User Script Sanboxing