iOS build errors (SyntaxWarning: "is" with a literal. Did you mean "==")

33 views
Skip to first unread message

Eleanor Paul

unread,
Jan 26, 2021, 2:10:50 PM1/26/21
to Kivy users support
Hi,

I'm trying to build an app for iOS using Kivy but have run into an error that has stumped me.

I am able to install all required packages, and create the Xcode project, but when I try to build it in Xcode, I get the following error messages:

Users/eleanorpaul/Documents/kivy-ios/photogens-ios/YourApp/build/hostpython3/x86_64/Python-3.8.2/Lib/lib2to3/tests/data/py3_test_grammar.py:652: SyntaxWarning: "is" with a literal. Did you mean "=="?

  if 1 is 1: pass

/Users/eleanorpaul/Documents/kivy-ios/photogens-ios/YourApp/build/hostpython3/x86_64/Python-3.8.2/Lib/lib2to3/tests/data/py3_test_grammar.py:653: SyntaxWarning: "is not" with a literal. Did you mean "!="?

  if 1 is not 1: pass

/Users/eleanorpaul/Documents/kivy-ios/photogens-ios/YourApp/build/hostpython3/x86_64/Python-3.8.2/Lib/lib2to3/tests/data/py3_test_grammar.py:656: SyntaxWarning: "is" with a literal. Did you mean "=="?

  if 1 < 1 > 1 == 1 >= 1 <= 1 != 1 in 1 not in 1 is 1 is not 1: pass

/Users/eleanorpaul/Documents/kivy-ios/photogens-ios/YourApp/build/python3/arm64/Python-3.8.2/Lib/lib2to3/tests/data/py3_test_grammar.py:652: SyntaxWarning: "is" with a literal. Did you mean "=="?

  if 1 is 1: pass

/Users/eleanorpaul/Documents/kivy-ios/photogens-ios/YourApp/build/python3/arm64/Python-3.8.2/Lib/lib2to3/tests/data/py3_test_grammar.py:653: SyntaxWarning: "is not" with a literal. Did you mean "!="?

  if 1 is not 1: pass

/Users/eleanorpaul/Documents/kivy-ios/photogens-ios/YourApp/build/python3/arm64/Python-3.8.2/Lib/lib2to3/tests/data/py3_test_grammar.py:656: SyntaxWarning: "is" with a literal. Did you mean "=="?

  if 1 < 1 > 1 == 1 >= 1 <= 1 != 1 in 1 not in 1 is 1 is not 1: pass

/Users/eleanorpaul/Documents/kivy-ios/photogens-ios/YourApp/build/python3/x86_64/Python-3.8.2/Lib/lib2to3/tests/data/py3_test_grammar.py:652: SyntaxWarning: "is" with a literal. Did you mean "=="?

  if 1 is 1: pass

/Users/eleanorpaul/Documents/kivy-ios/photogens-ios/YourApp/build/python3/x86_64/Python-3.8.2/Lib/lib2to3/tests/data/py3_test_grammar.py:653: SyntaxWarning: "is not" with a literal. Did you mean "!="?

  if 1 is not 1: pass

/Users/eleanorpaul/Documents/kivy-ios/photogens-ios/YourApp/build/python3/x86_64/Python-3.8.2/Lib/lib2to3/tests/data/py3_test_grammar.py:656: SyntaxWarning: "is" with a literal. Did you mean "=="?

  if 1 < 1 > 1 == 1 >= 1 <= 1 != 1 in 1 not in 1 is 1 is not 1: pass

Command PhaseScriptExecution failed with a nonzero exit code

When I go and edit the file triggering the error and run the program again, the file reverts back to its original state. I also cannot add or remove items from the directory, as it reverts back to its original state. Has anyone encountered this, and how did you fix it? Thanks!
Reply all
Reply to author
Forward
0 new messages