You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 19, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Jun 19, 2026. It is now read-only.
How to pass parameters to "dg deploy" command on MacOS Catalina M1 and make it recognize the correct workspace file? #314
The "dg deploy" command seems not to accept parameters when running on MacOS Catalina M1. How to make the CLI recognize the correct parameters passed from the command line to build and deploy the app on DeployGate?
The following two commands produce the same results: dg deploy --scheme DemoApp --configuration Release dg deploy
That always require me to select scheme, ignored the --scheme parameter I passed on CLI
I am developing a React Native app using Ruby 2.7.7 and running the "dg deploy" command under the ios folder. However, the DeployGate CLI does not recognize the specified parameters and also takes the DemoApp.xcodeproj file as default instead of the DemoApp.xcworkspace file, so it does not generate the IPA file as when I run the Xcode build command.
The build command on my machine is: /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -scheme DemoApp -configuration Release archive -archivePath ./DemoApp/Release/Archive.xcarchive -workspace DemoApp.xcworkspace
The generated deploygate cli command that does not run is: xcodebuild -resolvePackageDependencies -scheme DemoApp -project /Users/demouser/Development/demoapp/ios/DemoApp.xcodeproj
That always require me to select scheme, ignored the --scheme parameter I passed on CLI
We can't reproduce this issue and --scheme option is properly processed.
The build command on my machine is:
/Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -scheme DemoApp -configuration Release archive -archivePath ./DemoApp/Release/Archive.xcarchive -workspace DemoApp.xcworkspace
The generated deploygate cli command that does not run is:
xcodebuild -resolvePackageDependencies -scheme DemoApp -project /Users/demouser/Development/demoapp/ios/DemoApp.xcodeproj
The current implementation doesn't provide an option to select a specific workspace. We are planning to provide such option and more flexible configuration.
Activity
jmatsu commentedon Jan 18, 2024
We are very sorry for our late reply.
We can't reproduce this issue and
--schemeoption is properly processed.The current implementation doesn't provide an option to select a specific workspace. We are planning to provide such option and more flexible configuration.