-
Notifications
You must be signed in to change notification settings - Fork 47
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
autoclass('NSString', ... ) => 'TypeError: expected bytes, str found' #76
Comments
We should update the examples (or the code), so please keep the issue open. Meanwhile, you should be able to get it working by using:
|
Yes! Thank you! That works! I don't have any experience with suggesting changes to code here on github. But here comes my updated - and working - version of https://github.com/kivy/pyobjus/blob/master/examples/using_autoclass.py :
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
After converting the Print() statements in https://github.com/kivy/pyobjus/blob/master/examples/using_autoclass.py from Python2 to Python3 I deployed it on the iPhone 7 simulator in Xcode ver. 12.4 on MacOS Catalina ver. 10.15.7. The first few statements work fine, but line 17:
results in this error:
The text was updated successfully, but these errors were encountered: