periphery icon indicating copy to clipboard operation
periphery copied to clipboard

Scanning project containing local packages

Open PiotrPawlus opened this issue 1 year ago • 2 comments

Description

I'm currently working on a project that contains one target but multiple schemes that represent my Local packages. CLI generates the YML file detecting all targets and schemes.

Steps to Reproduce

index_store_path:
- build/DerivedData/My_Project/Index.noindex/DataStore
retain_public: true
retain_objc_accessible: true
retain_objc_annotated: true
retain_assign_only_properties: true
retain_assign_only_property_types: true
retain_swift_ui_previews: true                        
retain_codable_properties: true
verbose: false
schemes:
- Ads
- MyFoundation
- MyProject
- Design
# And many many more 
skip_build: true
targets:
- MyProject
workspace: MyProject.xcworkspace

Actual Behavior

The "main" project is scanned correctly. The local packages are not scanned.

Environment

  • periphery version 2.21.0
  • Xcode 15.4

Additionally

  • I tried to build the project with xcodebuild for each of the targets but periphery won't allow me to provide dd for each of it for each of the schemes we have

PiotrPawlus avatar Aug 14 '24 07:08 PiotrPawlus