question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

toolchain.py create app > Xcode Project not compiling [Newbie]

See original GitHub issue

Hello,

I am trying to create my very first app with Kivy. So far, I explored how Kivy works but before moving into new packages such as KivyMaps, I tried to compile what I have so far…

I used the follogin line to create a Xcode project…

./toolchain.py create AppName ~/Users/MyUser/Documents/AppName/

… and a new project was created in the folder ~/Users/MyUser/Documents/AppName/appname-ios

Well done!!!

Therefore I opened Xcode and launched the project but the following error appears:

`building file list ... rsync: link_stat "/Users/MyUser/Documents/AppName/." failed: No such file or directory (2)
done


sent 29 bytes  received 20 bytes  98.00 bytes/sec
total size is 0  speedup is 0.00
rsync error: some files could not be transferred (code 23) at /BuildRoot/Library/Caches/com.apple.xbs/Sources/rsync/rsync-52.200.1/rsync/main.c(996) [sender=2.6.9]
Command PhaseScriptExecution failed with a nonzero exit code` 

`

What did I do wrong?

I went through several posts and tried different folders but same result. Did I miss something?

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:12 (6 by maintainers)

github_iconTop GitHub Comments

2reactions
Zen-CODEcommented, Oct 23, 2019

@dyspop So, the first thing to do is confirm that the path you are specifying actually contains the touchtracer code. Here, you only paste the output of the command, not the command itself. Please double check that the path your entered for <app_directory> below is valid:

    $ python3 toolchain.py create <title> <app_directory>

You can do this via:

    $ ls <app_directory>

If you still have problems, please create a new ticket with the output of the above, and a link back to this ticket, so we don’t lose history.

Thanks

1reaction
Zen-CODEcommented, Nov 18, 2019

@Trtdcz You probably should be using python3, which is not the default on Mac. Please follow the instructions exactly as they appear here: https://github.com/kivy/kivy-ios

If you still have issues, please post the full error log

Read more comments on GitHub >

github_iconTop Results From Across the Web

Ask Question - Stack Overflow
I'm currently following the same tutorial. In newer versions of macOS/Xcode, you can just use $ toolchain rather than the full $ ....
Read more >
kivy-ios toolchain giving build errors - Google Groups
1. Build project using the kivy-ios toolchain: · 2. Set "Enable Bitcode" build pref to 'No' · 3. Delete entry in 'Code Signing...
Read more >
Connecting Python 3.8 with Xcode 11 | Apple Developer Forums
First, open the Xcode and create the new Project. Add product name 'pythons', and fill other blank below. On Build Tool, I pasted....
Read more >
Kivy iOS: Toolchain for building & packaging Kivy applications ...
Kivy for iOS. This toolchain is designed to compile the necessary libraries for iOS to run your application and manage the creation of...
Read more >
buildozer - PyPI
[ERROR]: Build failed: Requested API target 27 is not available, install it with the SDK android tool. #1404; buildozer requirements for firebase-admin Python?...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found