Skip to content

Commit 4f1e557

Browse files
Maxim-Filimonovfotos
authored andcommitted
Allow to use scheme with spaces and special characters
If scheme name has - build fails with the following error: ``` xcodebuild: error: Unknown build action '-'. ``` This should prevent this error from happeping. Xcode allows to use those characters in scheme name. It's only bash issue.
1 parent 5be96d7 commit 4f1e557

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/commands/ios_build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ steps:
4040

4141
- run:
4242
name: Build iOS App
43-
command: "export RCT_NO_LAUNCH_PACKAGER=true && xcodebuild -<<parameters.project_type>> <<parameters.project_path>> -destination 'platform=iOS Simulator,name=<<parameters.device>>' -scheme <<parameters.scheme>> -parallelizeTargets -configuration <<parameters.build_configuration>> -derivedDataPath <<parameters.derived_data_path>> -UseModernBuildSystem=YES | xcpretty -k"
43+
command: "export RCT_NO_LAUNCH_PACKAGER=true && xcodebuild -<<parameters.project_type>> <<parameters.project_path>> -destination 'platform=iOS Simulator,name=<<parameters.device>>' -scheme '<<parameters.scheme>>' -parallelizeTargets -configuration <<parameters.build_configuration>> -derivedDataPath <<parameters.derived_data_path>> -UseModernBuildSystem=YES | xcpretty -k"
4444

4545
- when:
4646
condition: <<parameters.cache>>

0 commit comments

Comments
 (0)