flet==0.25.0.dev3673 matplotlib error on iphone #4319
Labels
bug
Something isn't working
packaging
Related to app packaging
platform: ios
Specific related to iOS
Duplicate Check
Describe the bug
Error displayed on iphone after running basic test:
matplotlib: test_basic - error: dlopen(/Users/inesa/Library/Developer/CoreSimulator/Devices/D3463E8E-AC7A-45B1-82A6-B0E989B29132/data/Containers/Bundle/Application/9648609F-2B5A-4494-9196-1A12FB5EE5FC/Runner.app/Frameworks/PIL._imaging.framework/PIL._imaging, 0x0002): Library not loaded: @rpath/libjpeg.62.dylib
Referenced from: /Users/inesa/Library/Developer/CoreSimulator/Devices/D3463E8E-AC7A-45B1-82A6-B0E989B29132/data/Containers/Bundle/Application/9648609F-2B5A-4494-9196-1A12FB5EE5FC/Runner.app/Frameworks/PIL._imaging.framework/PIL._imaging
Reason: tried: '/Users/inesa/Library/Developer/CoreSimulator/Devices/D3463E8E-AC7A-45B1-82A6-B0E989B29132/data/Containers/Bundle/Application/9648609F-2B5A-4494-9196-1A12FB5EE5FC/Runner.app/libjpeg.62.dylib' (no such file), '/Library/Developer/CoreSimulator/Volumes/iOS_22A3351/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 18.0.simruntime/Contents/Resources/RuntimeRoot/usr/lib/swift/libjpeg.62.dylib' (no such file), '/usr/lib/swift/libjpeg.62.dylib' (no such file, not in dyld cache), '/Users/inesa/Library/Developer/CoreSimulator/Devices/D3463E8E-AC7A-45B1-82A6-B0E989B29132/data/Containers/Bundle/Application/9648609F-2B5A-4494-9196-1A12FB5EE5FC/Runner.app/Frameworks/libjpeg.62.dylib' (no such file), '/Users/inesa/Library/Developer/CoreSimulator/Devices/D3463E8E-AC7A-45B1-82A6-B0E989B29132/data/Containers/Bundle/Application/9648609F-2B5A-4494-9196-1A12FB5EE5FC/
Code sample
Code
pyproject.toml:
To reproduce
flet build ipa
export SERIOUS_PYTHON_SITE_PACKAGES=[Path-to-site-packages]
flutter run
, choose iphone device -> app opens on iphoneExpected behavior
Expected to see matplotlib chart and basic test - OK message
Screenshots / Videos
Captures
[Upload media here]
Operating System
macOS
Operating system details
15
Flet version
flet==0.25.0.dev3673
Regression
No, it isn't
Suggestions
No response
Logs
Logs
[Paste your logs here]
Additional details
No response
The text was updated successfully, but these errors were encountered: