periphery
periphery copied to clipboard
wrong handling of project path with blank
Please take a look at the following Terminal output:
jakob@mkwnh Pix % periphery version
1.6.0
jakob@mkwnh Pix % periphery scan
Welcome to Periphery!
This guided setup will help you select the appropriate configuration for your project.
* Inspecting project configuration...
Select build targets to analyze:
? Delimit choices with a single space, e.g: 1 2 3
1 Pix
> 1
Select the schemes necessary to build your chosen targets:
? Delimit choices with a single space, e.g: 1 2 3
1 AppUtilLib
2 Pix
> 2
Assume all 'public' declarations are in use?
? You should choose Y here if your public interfaces are not used by any selected build target, such as may be the case for a framework project.
(Y)es/(N)o > N
* Executing command:
periphery scan \
--project "/Users/jakob/Library/Mobile Documents/com~apple~CloudDocs/backed-up/Development/Pix/Pix.xcodeproj/" \
--schemes "Pix" \
--targets "Pix" \
--no-retain-public
* Inspecting project configuration...
* Building Pix...
error: Shell command '/bin/sh -c xcodebuild -project /Users/jakob/Library/Mobile Documents/com~apple~CloudDocs/backed-up/Development/Pix/Pix.xcodeproj -scheme Pix -parallelizeTargets -derivedDataPath '/Users/jakob/Library/Caches/com.peripheryapp.periphery/DerivedData-e8c9438f854bfc3851d7b4b90c034b9261dcd50e' build CODE_SIGNING_ALLOWED="NO" ENABLE_BITCODE="NO" SWIFT_COMPILATION_MODE="wholemodule" DEBUG_INFORMATION_FORMAT="dwarf"' returned exit status '65':
Command line invocation:
/Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -project /Users/jakob/Library/Mobile "Documents/com~apple~CloudDocs/backed-up/Development/Pix/Pix.xcodeproj" -scheme Pix -parallelizeTargets -derivedDataPath /Users/jakob/Library/Caches/com.peripheryapp.periphery/DerivedData-e8c9438f854bfc3851d7b4b90c034b9261dcd50e build
User defaults from command line:
IDEDerivedDataPathOverride = /Users/jakob/Library/Caches/com.peripheryapp.periphery/DerivedData-e8c9438f854bfc3851d7b4b90c034b9261dcd50e
xcodebuild: error: Unknown build action 'Documents/com~apple~CloudDocs/backed-up/Development/Pix/Pix.xcodeproj'.
It looks pretty much as if the blank (' ') in the name of the folder "Mobile Documents" (which I cannot change) causes the error. Maybe the whole path "/Users/jakob/Library/Mobile Documents/com~apple~CloudDocs/backed-up/Development/Pix/Pix.xcodeproj" should be put between quote signs in the shell command.