You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have problems to get the pyatv working under iOS (arm64).
Error log
PythonKit/Python.swift:707: Fatal error: 'try!' expression unexpectedly raised an error: Python exception: dlopen(/Users/kevin/Library/Developer/CoreSimulator/Devices/5D10560B-E4C2-4367-A773-1E8EB170E278/data/Containers/Bundle/Application/CA01303A-7E6E-45A5-81FA-21834A8936AC/pythontest.app/PythonScripts/cryptography/hazmat/bindings/_rust.abi3.so, 0x0002): tried: '/Users/kevin/Library/Developer/Xcode/DerivedData/pythontest-burgqkwtysmeqqddacdjyferjzai/Build/Products/Debug-iphonesimulator/_rust.abi3.so' (no such file), '/Library/Developer/CoreSimulator/Volumes/iOS_21F79/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.5.simruntime/Contents/Resources/RuntimeRoot/usr/lib/system/introspection/_rust.abi3.so' (no such file), '/Library/Developer/CoreSimulator/Volumes/iOS_21F79/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.5.simruntime/Contents/Resources/RuntimeRoot/Users/kevin/Library/Developer/CoreSimulator/Devices/5D10560B-E4C2-4367-A773-1E8EB170E278/data/Containers/Bundle/Application/CA01303A-7E6E-45A5-81FA-21834A8936AC/pythontest.app/PythonScripts/cryptography/hazmat/bindings/_rust.abi3.so' (no such file), '/Users/kevin/Library/Developer/CoreSimulator/Devices/5D10560B-E4C2-4367-A773-1E8EB170E278/data/Containers/Bundle/Application/CA01303A-7E6E-45A5-81FA-21834A8936AC/pythontest.app/PythonScripts/cryptography/hazmat/bindings/_rust.abi3.so' (mach-o file (/Users/kevin/Library/Developer/CoreSimulator/Devices/5D10560B-E4C2-4367-A773-1E8EB170E278/data/Containers/Bundle/Application/CA01303A-7E6E-45A5-81FA-21834A8936AC/pythontest.app/PythonScripts/cryptography/hazmat/bindings/_rust.abi3.so), but incompatible platform (have 'macOS', need 'iOS-sim'))
Traceback:
File "/Users/kevin/Library/Developer/CoreSimulator/Devices/5D10560B-E4C2-4367-A773-1E8EB170E278/data/Containers/Bundle/Application/CA01303A-7E6E-45A5-81FA-21834A8936AC/pythontest.app/PythonScripts/pyatvScript.py", line 2, in <module>
from pyatv import scan
File "/Users/kevin/Library/Developer/CoreSimulator/Devices/5D10560B-E4C2-4367-A773-1E8EB170E278/data/Containers/Bundle/Application/CA01303A-7E6E-45A5-81FA-21834A8936AC/pythontest.app/PythonScripts/pyatv/__init__.py", line 26, in <module>
from pyatv.protocols import PROTOCOLS
File "/Users/kevin/Library/Developer/CoreSimulator/Devices/5D10560B-E4C2-4367-A773-1E8EB170E278/data/Containers/Bundle/Application/CA01303A-7E6E-45A5-81FA-21834A8936AC/pythontest.app/PythonScripts/pyatv/protocols/__init__.py", line 10, in <module>
from pyatv.protocols import airplay as airplay_proto
File "/Users/kevin/Library/Developer/CoreSimulator/Devices/5D10560B-E4C2-4367-A773-1E8EB170E278/data/Containers/Bundle/Application/CA01303A-7E6E-45A5-81FA-21834A8936AC/pythontest.app/PythonScripts/pyatv/protocols/airplay/__init__.py", line 28, in <module>
from pyatv.protocols import mrp
File
How to reproduce the bug?
This is my function:
from pyatv import scan
async def find_devices():
loop = asyncio.get_event_loop()
devices = await scan(loop, protocol=Protocol.MRP)
for device in devices:
print(f"Name: {device.name}, Address: {device.address}")
asyncio.run(find_devices())
What is expected behavior?
Working on the iOS with PythonKit and Python.framework
Operating System
iOS
Python
3.12
pyatv
0.15.0
Device
Apple iPhone 15 iOS 17.5
Additional context
Is there a workaround?
The text was updated successfully, but these errors were encountered:
Describe the bug
I have problems to get the pyatv working under iOS (arm64).
Error log
How to reproduce the bug?
This is my function:
What is expected behavior?
Working on the iOS with PythonKit and Python.framework
Operating System
iOS
Python
3.12
pyatv
0.15.0
Device
Apple iPhone 15 iOS 17.5
Additional context
Is there a workaround?
The text was updated successfully, but these errors were encountered: