omz:forum

    • Register
    • Login
    • Search
    • Recent
    • Popular

    Welcome!

    This is the community forum for my apps Pythonista and Editorial.

    For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.


    Including External Libraries / Multiple Python Files in XCODE Export

    Pythonista
    1
    2
    1518
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • montedavis
      montedavis last edited by

      I have the following challenge.

      I have built an application in pythonista. It depends on some additional code that I have written, Jinja2, and BeautifulSoup4. It works in pythonista perfectly. (My first line on the main web-form adds a library directory to the sys.path where all of this code sits.)

      When I select to export XCODE project, I get the project but when I hit run and the iOS simulator opens, I get an import error for the associated libraries.

      Is there a specific way to export so that all the dependencies are also exported?

      Is there a way to add these dependencies to the Xcode project manually?

      Thanks,
      Monte

      1 Reply Last reply Reply Quote 0
      • montedavis
        montedavis last edited by

        It looks like I got this working by adding files into Support Files / pylib in the Xcode project. I still have another problem. But that's another post.

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Powered by NodeBB Forums | Contributors