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

Failed to execute PocoUnity() on iOS device at AirTestIDE 1.2.7 #862

Closed
Naruto opened this issue Feb 19, 2021 · 1 comment
Closed

Failed to execute PocoUnity() on iOS device at AirTestIDE 1.2.7 #862

Naruto opened this issue Feb 19, 2021 · 1 comment

Comments

@Naruto
Copy link

Naruto commented Feb 19, 2021

At AirTestIDE 1.2.7, PocoUnity() throws those error backtrace.

[Start running..]
save log in '/var/folders/nz/90rq3n7932j4w8blqb_2qbgmqx432w/T/AirtestIDE/scripts/900f23cd294407c773b37801e59daada'
  File "airtest/cli/runner.py", line 70, in runTest
  File "/path/to/xxx.air/xxx.py", line 27, in <module>
    poco = UnityPoco()
  File "/Applications/AirtestIDE.app/Contents/MacOS/poco/drivers/unity3d/unity3d_poco.py", line 80, in __init__
    super(UnityPoco, self).__init__(addr[1], dev, **options)
  File "/Applications/AirtestIDE.app/Contents/MacOS/poco/drivers/std/__init__.py", line 94, in __init__
    local_port, _ = self.device.instruct_helper.setup_proxy(port)
AttributeError: 'IOS' object has no attribute 'instruct_helper'

To Reproduce
To Reproduce executes below code.

# -*- encoding=utf8 -*-

from airtest.core.api import *
from poco.drivers.unity3d import UnityPoco
from poco.drivers.ios import iosPoco

init_device(platform="IOS")
poco = UnityPoco()
pocoios = iosPoco()

** AirTest IDE version:** 1.2.7

@Naruto
Copy link
Author

Naruto commented Aug 18, 2022

It's already fixed, thanks.

@Naruto Naruto closed this as completed Aug 18, 2022
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

1 participant