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.


    Problem with Xcode template

    Pythonista
    4
    7
    6892
    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.
    • Webmaster4o
      Webmaster4o last edited by

      When I build my app for the iPad 2 simulator, everything works fine. When I build for my iPad mini, I get

      ld: -no_compact_unwind and -bitcode_bundle (Xcode setting ENABLE_BITCODE=YES) cannot be used together
      clang: error: linker command failed with exit code 1 (use -v to see invocation)
      

      What causes this, and how can I fix it? I'm using the newer 1.6 project template.

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

        Had to go into build settings and set "enable bitcode" to "no"

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

          just wanted to +1 this. Same issue, same fix.

          Another issue with regards to the template/xcode.

          When running my App from within Pythonista on iOS, everything works wonderfully, including outbound "web browser" commands to open other apps.

          After loading the app onto my device using Xcode and the pythonista template, these same outbound web browser url schemes for external apps seem to hang the app and not launch the apps it. Anybody have any idea why this is?

          And of course its much harder to debug in a standalone app without the pythonista debugger views since Xcode doesn't show much with regards to python..unless there's something I'm missing?

          1 Reply Last reply Reply Quote 1
          • Webmaster4o
            Webmaster4o last edited by

            I feel like more development effort should go into the project template, making sure everything works. I still have crashes after the splash screen when I open an app on iOS 9.

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

              @omz Can you open source the template - it would make debugging these issues much easier....(obviously unless that entails open sourcing the entire Pythonista!)

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

                @Webmaster4o can you run the Xcode template on the device through Xcode. (ie connect the device to the computer via USB and the in Xcode select you iOS device as the build traget and then press run (or CMD-R)) as that is meant to send log output back to Xcode (At least it does for apps I have made in it.) provided you are using the 1.6 beta project you would then need to use NSLog or printf statements to see the result in the Xcode output

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

                  Will try. Haven't tried super hard yet. I suspect it's because of my upgrade to iOS 9, but I don't know enough about how all that stuff works, didn't think it would matter, but that's my guess

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