-
-
Notifications
You must be signed in to change notification settings - Fork 369
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
Using Matplotlib with IOS #480
Comments
Ok - so the icon warnings are just that - warnings; it's telling you that your app will, at present, have the default 'grey bee' icon. The warning about signing permissions also isn't anything to worry about; it's something you'll need to address before you can publish an app to a physical device or the App Store, but that's a way off yet. However: There is a problem - Matplotlib isn't a pure python library (for some reason I thought it was...). That's going to be a problem - Briefcase can't currently package python libraries that have binary components. This is a limitation of PyPI - it doesn't currently have any representation for iOS/Android modules. To absolutely confirm this, you can open the Xcode project that Briefcase has generated, and run the app inside Xcode. From there, you'll be able to view the logs for the running app, which should show that the app starts, but then throws an error when the code tries to import one of the matplotlib directories. |
This was the xcode error it appears to be a numpy related C library -looks difficult to sort out? IMPORTANT: PLEASE READ THIS FOR ADVICE ON HOW TO SOLVE THIS ISSUE! |
Right - that's confirming exactly what I thought. It's looking for a numpy binary module (_multiarray_umath), which won't exist because it's a C-module. That means this is a duplicate of #471 - on that basis, I'm going to close this ticket. |
I have a small app based on toga_chart which runs and installs perfectly on my Mac OS 10.14.6 using briefcase.
However when I tried to create an IOS version I found theses issues - which may not be fatal? but the app doesn't run on the simulator just shows a beeware splash screen then just exit?s Here are the messages I got sorry its a long paste. Any insight much appreciated. Thanks!
The text was updated successfully, but these errors were encountered: