My first guess is that something is wrong with the framework dependencies installed by Carthage (YYCache is one of those).
For some reason, when you install Appium on MacOS, the WebDriverAgent/Carthage directory - where the project dependencies are stored - is actually a file, not a directory.
You can confirm if this is the case by looking at the Carthage file’s properties in your WebDriverAgent folder.
First, go to the folder where the WebDriverAgent code is installed. Probably in your case:
In XCode, when you set the “Automatically manage signing” for WebDriverAgentLib, do you see any errors on that screen (anything in red?) Can you check the same thing for WebDriverAgentRunner? You should also choose “Automatically manage signing” for WebDriverAgentRunner. Do you see anything in red when you do that?
I’m not that concerned about the red in the file navigator at this point (usually that means that the file isn’t where the Xcode project thinks it is, but I don’t think it should affect code signing).
Could you please click the dropdown for “WebDriverAgentLib” near the top of the screen (in the same row as General, Resource Tags, etc.)?
Choose “WebDriverAgentRunner” and see if there are any red errors near the middle of the screen in the “Signing” section.
You’ll want to do the same thing you did before to set “Automatically manage signing” and select your Team and Signing Certificate.
If you’re still seeing errors then, please include a screenshot of that WebDriverAgentRunner page, too.
i already talked to my iOS developer about this problem, maybe from the certificate or not. After discussion and track the error it’s not from certificate.
That is interesting. So can you set the WebDriverAgentLib signing to “None” and the WebDriverAgentRunner signing to “Automatically manage signing”? The Runner is supposed to build, copy, and sign the Lib anyway when it builds, so I don’t think you need to build the WebDriverAgentLib alone, just the WebDriverAgentRunner.
Yes, i can build with WebDriverAgentLib set “None” and WebDriverAgentRunner “Automatically” but always error when open record mobile or spy mobile. Then i try find solution by googling it, i try every steps but never success. I came to this forum find solution. Maybe should i uninstall katalon and clean all data then install and set up new one?
Ah, so if you’re getting an error when trying to record mobile or spy, that might be something different. Can you share the error is when trying to do the spy mobile?
1. When build WebDriverAgent, already automatically signing and set Team both WebDriverAgentLib and WebDriverAgentRunner were failed with error **Command /usr/bin/codesign failed with exit code 1
**
2. It can build WebDriverAgentLib with select Team “None” and WebDriverAgentRunner automatically signing.
both of them when open Katalon studio and spy mobile show this error:
I’ve had problems running Katalon tests with an .ipa file in a simulator, and I believe it’s because most of the time, an .ipa file is created for the real device architectures (arm7 arm64) and not the simulator architectures (i386 x86_64).
To check what your .ipa is built for, you can do the following:
- Change the .ipa extension to .zip (allow when prompted)
- Extract the .zip
- In a Terminal, navigate to the extracted Payload directory
- In the Terminal, enter:
lipo -info MyApp.app/MyApp
Where “MyApp” is the name of your app. You should see a list of the architectures in the file.
If the architectures are arm7 and arm64, you won’t be able to use that .ipa in a simulator, including Mobile Spy or Test Recorder.
To get around this, I have been using the .app built by Xcode instead. This is an unsigned application and works much better on simulators. You can find the .app file in your “DerivedData/MyApp/Build/Products/Development-iphonesimulator” directory.
Could you please here. Having too much hope from you.
I am not able to spy my attached iOS device in Katalon.Everything is configured properly but at last step when I try to spy the elements on screen i couldn’t it just highlighting main screen.I couldn’t locate any of the component on the screen.
Does the it work on a simulator (is it only a real device that has the issue)?
Could you please share a screenshot or video of what you’re seeing? Specifically, I’m looking for what you’re seeing in the Spy Mobile preview window and what’s showing in the “All Objects” window.