Skip to content

Commit 2eb991b

Browse files
authored
Modified arguments passed to xcodebuild when building iOS apps. (#2102)
1 parent c83c495 commit 2eb991b

File tree

3 files changed

+1
-8
lines changed

3 files changed

+1
-8
lines changed

changes/2102.bugfix.rst

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
The arguments passed to xcodebuild when compiling an iOS app have been modified to avoid a warning about an ignored argument.

src/briefcase/platforms/iOS/xcode.py

-2
Original file line numberDiff line numberDiff line change
@@ -404,8 +404,6 @@ def build_app(self, app: AppConfig, test_mode: bool = False, **kwargs):
404404
"build",
405405
"-project",
406406
self.project_path(app),
407-
"-destination",
408-
'platform="iOS Simulator"',
409407
"-configuration",
410408
"Debug",
411409
"-arch",

tests/platforms/iOS/xcode/test_build.py

-6
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,6 @@ def test_build_app(build_command, first_app_generated, tool_debug_mode, tmp_path
4646
/ "ios"
4747
/ "xcode"
4848
/ "First App.xcodeproj",
49-
"-destination",
50-
'platform="iOS Simulator"',
5149
"-configuration",
5250
"Debug",
5351
"-arch",
@@ -87,8 +85,6 @@ def test_build_app_test_mode(build_command, first_app_generated, tmp_path):
8785
/ "ios"
8886
/ "xcode"
8987
/ "First App.xcodeproj",
90-
"-destination",
91-
'platform="iOS Simulator"',
9288
"-configuration",
9389
"Debug",
9490
"-arch",
@@ -133,8 +129,6 @@ def test_build_app_failed(build_command, first_app_generated, tmp_path):
133129
/ "ios"
134130
/ "xcode"
135131
/ "First App.xcodeproj",
136-
"-destination",
137-
'platform="iOS Simulator"',
138132
"-configuration",
139133
"Debug",
140134
"-arch",

0 commit comments

Comments
 (0)