Skip to content
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

Xcode Executable not found #667

Closed
NicFolk opened this issue Dec 18, 2021 · 17 comments
Closed

Xcode Executable not found #667

NicFolk opened this issue Dec 18, 2021 · 17 comments
Labels

Comments

@NicFolk
Copy link

NicFolk commented Dec 18, 2021

I made an app using Kivy, packaged it to iOS, and then eventually got it running. I left for 20 minutes, got the error "Library not found -lkivy" and then fidgeted with a bunch of the libraries. Eventually, I got the error
"Executable not found:
/Users/nicolasfolk/Library/Developer/Xcode/DerivedData/workout-euyidjjsbttahwenjkjcbmvyxiwk/Build/Products/Debug-iphonesimulator/workout.app is not a valid path to an executable file. Please rebuild the project to ensure that all required executables are created. Check your project settings to ensure that a valid executable will be built."
Does anyone know how to help me with this?
Screen Shot 2021-12-17 at 9 27 16 PM

@muffinny
Copy link

I have the same problem. Did you manage to fix it?

@NicFolk
Copy link
Author

NicFolk commented Jan 13, 2022

Yeah, i think the error was the path to which I linked my Xcode project. I ended the path with my main.py file, but what I should’ve done was ended it with the folder in which my main.py was stored. I re-packaged and corrected this error then the “Executable not found” issue disappeared

@NicFolk
Copy link
Author

NicFolk commented Jan 14, 2022

Let me know if that makes sense/works

@muffinny
Copy link

Thank you very much for your reply. Unfortunately we haven't been able to fix it with this fix. We've tried everything. Pretty much all the different options and techniques we saw on google, and no luck. It's mind boggling. I also downgraded to earlier IOS and no luck. Something might have gone terribly wrong. My programmer will try more things tomorrow, but it's so frustrating.

Thank you so much for asking.

@aasann1
Copy link

aasann1 commented Jan 19, 2022

i solved this issue by removing the arm64 and add x86_64 in excluded Architectures .

@KesleyDavid
Copy link

eu resolvi esse problema removendo o arm64 e adicionando x86_64 em arquiteturas excluídas.

my friend, how did you do it? can you help me please?

@yendiscart
Copy link

i solved this issue by removing the arm64 and add x86_64 in excluded Architectures .

This did not work for me. How do you solve this?

@NicFolk
Copy link
Author

NicFolk commented Feb 23, 2022

Again, for me, I just had to re-build and link the project to the folder where my main.py was, not to the main.py file itself. This seemingly did not work for others though, so I am not sure

@NicFolk
Copy link
Author

NicFolk commented Mar 9, 2022

Got back to this issue, re-building did not work this time. Not sure what to do...

@NicFolk
Copy link
Author

NicFolk commented Mar 9, 2022

i solved this issue by removing the arm64 and add x86_64 in excluded Architectures .

This worked, but then I needed to remove a bunch of libraries, and then that opened up nine other errors

@bigzlyn
Copy link

bigzlyn commented Mar 21, 2022

pod install can solve my problem.

@NicFolk
Copy link
Author

NicFolk commented Mar 30, 2022

That's it? Just install cocoapods through terminal?

@NicFolk
Copy link
Author

NicFolk commented Mar 30, 2022

If that is all that I need to do, it didn't work. Maybe I need to link pods to Xcode?

@NicFolk
Copy link
Author

NicFolk commented Apr 9, 2022

More (possibly) reliable solution: update xcode project (see kivy docs) and potentially change Exlcuded Architecture to arm64 (do not include -x86_64)

@ShubhranshGupta
Copy link

Do pod install and then in Pod.xcproj add arm64 inside excluded architecture, This will do the job

@NicFolk
Copy link
Author

NicFolk commented Apr 29, 2022

pod install gives me the error: [!] No `Podfile' found in the project directory.

@misl6 misl6 added the support label Jun 28, 2022
@github-actions
Copy link

👋 We use the issue tracker exclusively for bug reports and feature requests. However, this issue appears to be a support request. Please use our support channels to get help with the project.

If you're having trouble installing or using kivy-ios, maybe you could be interested to installation and requirements.

Let us know if this comment was made in error, and we'll be happy to reopen the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

8 participants