diff --git a/changes/2102.bugfix.rst b/changes/2102.bugfix.rst new file mode 100644 index 000000000..166261a93 --- /dev/null +++ b/changes/2102.bugfix.rst @@ -0,0 +1 @@ +The arguments passed to xcodebuild when compiling an iOS app have been modified to avoid a warning about an ignored argument. diff --git a/src/briefcase/platforms/iOS/xcode.py b/src/briefcase/platforms/iOS/xcode.py index d74f3f4e9..63e778f1d 100644 --- a/src/briefcase/platforms/iOS/xcode.py +++ b/src/briefcase/platforms/iOS/xcode.py @@ -402,8 +402,6 @@ def build_app(self, app: AppConfig, test_mode: bool = False, **kwargs): "build", "-project", self.project_path(app), - "-destination", - 'platform="iOS Simulator"', "-configuration", "Debug", "-arch", diff --git a/tests/platforms/iOS/xcode/test_build.py b/tests/platforms/iOS/xcode/test_build.py index f1c5e876f..6cbe2dadb 100644 --- a/tests/platforms/iOS/xcode/test_build.py +++ b/tests/platforms/iOS/xcode/test_build.py @@ -46,8 +46,6 @@ def test_build_app(build_command, first_app_generated, tool_debug_mode, tmp_path / "ios" / "xcode" / "First App.xcodeproj", - "-destination", - 'platform="iOS Simulator"', "-configuration", "Debug", "-arch", @@ -87,8 +85,6 @@ def test_build_app_test_mode(build_command, first_app_generated, tmp_path): / "ios" / "xcode" / "First App.xcodeproj", - "-destination", - 'platform="iOS Simulator"', "-configuration", "Debug", "-arch", @@ -133,8 +129,6 @@ def test_build_app_failed(build_command, first_app_generated, tmp_path): / "ios" / "xcode" / "First App.xcodeproj", - "-destination", - 'platform="iOS Simulator"', "-configuration", "Debug", "-arch",