"locheck discoverlproj" - Build failed Command PhaseScriptExecution failed with a nonzero exit code #6296
Labels
O-Frequent
Affects or can be seen by most users regularly or impacts most users' first experience
S-Minor
Impairs non-critical functionality or suitable workarounds exist
T-Defect
Something isn't working: bugs, crashes, hangs and other reported problems
Steps to reproduce
I find out that with the addition of locheck library, the project build will failed during PhaseScriptExecution if the project path contain space.
Outcome
What did you expect?
Project built successfully
What happened instead?
Received "Uncategorized" error with message "Command PhaseScriptExecution failed with a nonzero exit code"
Did you resolved it?
If I move the project to different directory without space in its name, the project builds correctly.
Alternatively,
I modify the Riot/target.yml:61
from
xcrun --sdk macosx mint run Asana/[email protected] discoverlproj --treat-warnings-as-errors --ignore-missing --ignore lproj_file_missing_from_translation $PROJECT_DIR/Riot/Assets
into
xcrun --sdk macosx mint run Asana/[email protected] discoverlproj --treat-warnings-as-errors --ignore-missing --ignore lproj_file_missing_from_translation "$PROJECT_DIR/Riot/Assets"
delete
Riot.xcodeproj
redo the
xcodegen
and reopen
Riot.xcworkspace
then the project will build normally.
Your phone model
Macbook Pro Intel
Operating system version
Monterey 12.3, XCode 13.4.1
Application version
element-ios branch master #2cb650b
Homeserver
matrix.org
Will you send logs?
Yes
The text was updated successfully, but these errors were encountered: