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

Got dlopen error on Foundation #896

Closed
EvDev7 opened this issue Mar 6, 2024 · 2 comments
Closed

Got dlopen error on Foundation #896

EvDev7 opened this issue Mar 6, 2024 · 2 comments
Labels

Comments

@EvDev7
Copy link

EvDev7 commented Mar 6, 2024

Versions

  • Python : 3.12.2
  • MacOS version : 14.2.1
  • XCode Version : 15.1
  • Cython version : 3.0.0

Describe the bug
My App was able to run on both the simulator and my own iOS device until I added Images to my .kv file. Now I am getting this error within Xcode. Is there a reason Foundation would not be included in the Frameworks when building with toolchain?

To Reproduce
Create a new project using toochain create projectname /path/to/project.
Set up main.py and AppName.kv file to show a single image on the screen.
Open Xcode project and run with either the simulator or build to a local device.

Expected behavior
I expect that when building the Foundation framework would be included by toolchain be default if needed.

Logs

Got dlopen error on Foundation: dlopen(/System/Library/Frameworks/Foundation.framework/Versions/Current/Foundation, 0x0001): tried: '/Users/_redacted_/Library/Developer/Xcode/DerivedData/testproj-cxgmtbdxuvtcqwfrfxvdqrfvdjvy/Build/Products/Debug-iphonesimulator/Foundation.framework/Versions/Current/Foundation' (no such file), '/Library/Developer/CoreSimulator/Volumes/iOS_21C62/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.2.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/Foundation.framework/Versions/Current/Foundation' (no such file),
@EvDev7 EvDev7 changed the title GotGot dlopen error on Foundation Got dlopen error on Foundation Mar 6, 2024
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.
For troubleshooting advice and other frequently asked questions, consult the latest Kivy for iOS FAQ.
Let us know if this comment was made in error, and we'll be happy to reopen the issue.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Apr 14, 2024
@sumanthanumolu
Copy link

did this resolved, I am having exact same issue:

Got dlopen error on Foundation: dlopen(/System/Library/Frameworks/Foundation.framework/Versions/Current/Foundation, 0x0001): tried: '/Users/jahna/Library/Developer/Xcode/DerivedData/villagers_goods-bmgxikubanqmwuhetawxtarwzhzu/Build/Products/Debug-iphonesimulator/Foundation.framework/Versions/Current/Foundation' (no such file),

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

3 participants