Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

It does not work in xcode14.3, so please update deviceagent and iosmanager to the latest version. #791

Open
DragonClub opened this issue Jun 15, 2023 · 3 comments

Comments

@DragonClub
Copy link

It does not work in xcode14.3, so please update deviceagent and iosmanager to the latest version.

@NlsMyFox
Copy link

Hi,

We faced the same issue on our side, the W/A we found consists in recompile APPS and device_agent using CommandLineTool XCode 14.2 with Xcode 14.3.

Also interesting in a fix for XCode 14.3 and later iOS17...

Kind regards

@NlsMyFox
Copy link

Hi all,

Still not working with iOS17/Xcode15 !
Please help.

Kind regards

@NlsMyFox
Copy link

NlsMyFox commented Oct 10, 2023

All,

Found and fix the issue...
It is located on https://github.com/calabash/DeviceAgent.iOS but I have no rights to push my dev branch !

Here is my proposal patch to be applied on "DeviceAgent.iOS", then a new run_loop release must be done with updated Device_Agent:

From 2615d4f955edb672353025890260d83efc09131e Mon Sep 17 00:00:00 2001
From: Nicolas LOUIS <[email protected]>
Date: Tue, 10 Oct 2023 16:50:12 +0200
Subject: [PATCH] Fix DeviceAgent running on iOS17/Xcode15

Signed-off-by: Nicolas LOUIS <[email protected]>
---
 DeviceAgent/DeviceAgent-device.xctestrun | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/DeviceAgent/DeviceAgent-device.xctestrun b/DeviceAgent/DeviceAgent-device.xctestrun
index aa84b007..74197b40 100644
--- a/DeviceAgent/DeviceAgent-device.xctestrun
+++ b/DeviceAgent/DeviceAgent-device.xctestrun
@@ -6,8 +6,12 @@
 	<dict>
 		<key>IsUITestBundle</key>
 		<true/>
-		<key>TestBundleDestinationRelativePath</key>
-		<string>__TESTHOST__/PlugIns/DeviceAgent.xctest</string>
+		<key>TestBundlePath</key>
+		<string>__TESTHOST__/Plugins/DeviceAgent.xctest</string>
+		<key>TestHostPath</key>
+		<string>__TESTROOT__/../../../DeviceAgent-Runner.app</string>
+		<key>UITargetAppPath</key>
+		<string>__TESTROOT__/../../../DeviceAgent-Runner.app</string>
 		<key>TestHostBundleIdentifier</key>
 		<string>sh.calaba.DeviceAgent.xctrunner</string>
 		<key>TestingEnvironmentVariables</key>
@@ -21,8 +25,6 @@
 		</dict>
 		<key>UITargetAppBundleIdentifier</key>
 		<string>com.example.AUT</string>
-		<key>UseDestinationArtifacts</key>
-		<true/>
 		<key>UseUITargetAppProvidedByTests</key>
 		<true/>
 	</dict>
-- 
2.42.0 

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants