Hi,
Fuse version = 0.25.0
Operating system = OS X
In a JS I have an observable array. The array’s items have each one several fields. One of the fields is the path to an image.
This array is used by a ScrollView + Each to display some circles with the right color.
Also, the JS contains an Observable currentItem, which contains the last array’s item that has been clicked by the user:
Ex:
var myArray = Observable(
{
id: 0,
color: "Blue",
path: "Assets/image1.jpg"
},
{
id: 1,
color: "Red",
path: "Assets/image2.jpg"
}
);
var selectedItem = Observable();
And I export both variables.
My Assets folder is in
- Tree
|
| MainView.ux
| Assets
| Folder
- The JS
- UX file importing the JS and using myArray in ScrollView + Each
- UX file importing the JS and using selectedItem as follows:
<Image File="{selectedItem.path}" Width="50" Height="80" />
In my unoproj I added :
-
"Assets/*.jpg:Bundle"
When I launch the local preview, the project gets built, the simulator is launched but Fuse crashes some seconds after starting the Loading project step.
Below the console message.
On my Android device there is no crash and the images are correctly displayed every time I select a new item in the ScrollView.
Crash message:
- frame #7: 0x96227f7a libsystem_pthread.dylib`thread_start + 34
(lldb) detach
=================================================================
Got a SIGABRT while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.
=================================================================
(lldb) quit
Process 39141 detached
/usr/local/bin/fuse: line 2: 39141 Abort trap: 6 /Applications/Fuse.app/Contents/MacOS/Fuse "$@"
Thanks for your support,