diff --git a/src/Commands/BuildIosAppCommand.php b/src/Commands/BuildIosAppCommand.php index dffc641..89a2b01 100644 --- a/src/Commands/BuildIosAppCommand.php +++ b/src/Commands/BuildIosAppCommand.php @@ -1004,7 +1004,7 @@ private function build(): bool // Add verbose output to help debug build failures '-verbose', ...($this->target ? [ - '-destination', 'id='.$this->target.($simulated ? '' : ',platform=iOS'), + '-destination', ($simulated ? 'platform=iOS Simulator,id=' : 'platform=iOS,id=').$this->target, 'build', ] : [ '-archivePath', $this->basePath.'/build/NativePHP.xcarchive',