Sketch export failed - ObjC method arrayWithObjects

Didier Ma shared this problem 1 year ago
Solved

I am new to Justinmind and is currently evaluating it. I keep getting error from the Sketch plug-in saying "ObjC method arrayWithObjects: requires 1 argument, but JavaScript passed 4 arguments". I tried multiple Sketch files and different art board and no go. I am using Sketch 46 and the latest plug-in 1.0.1. Anyone knows how to resolve this issue?

Comments (18)

photo
1

Hi there,


Thanks for reporting this. You mentioned that this happens with multiple Sketch files - are they blank Sketch files, or do they each have some common element within them that could be causing the crash?


Best,

Danielle

photo
1

They are all working files with simple to complex elements in them. Neither of them are blank.

photo
1

Dear Didier,


We will have a look into this and let you know something as soon as possible.


Best,

photo
1

Dear Didier,

We are still investigating about your issue. It seems there is something wrong with your computer when trying to compress files to create the .vp file. Which Mac and OS version are you using?

Best,

photo
1

Sorry for the late reply. I have multiple machines running the last macOS Sierra version + some using the latest High Sierra PB. All have the same error message unfortunately.

photo
1

Is there any update on this issue? I am also experiencing this.

photo
1

Dear Sal T,

Two weeks ago we launched a new version for our sketch plugin that solves this issue.

You can find the update at this link below:

https://github.com/vconesa/justinmind-sketch

Best,

photo
1

I am using the latest plugin, and the export keeps failing.'Object out of bounds' or something like that

photo
1

Dear Tommy,

Can you make sure you are using v.1.0.3 of the plugin? https://github.com/vconesa/justinmind-sketch

Also, if possible can you attach a sample of your sketch file so we can try reproducing your issue. You can attach any file here at the community in a .rar extension.


Best,


Sonia Durán

photo
1

Yes I am sure I'm using 1.0.3. (Mac OS Sierra 10.12.6)56dfd919fcbb26861c159e74328d429e

photo
1

I cant compress my file below 6MB. Sorry about that

photo
1

Could you upload it to a file sharing service such as Dropbox and attach the link here?


Best,

photo
1

Dear Tommy,

You are right. It's a bug. I will transfer this information to our development team so they can take it into account for future updates.


Sorry for any inconvenience.


Best,

photo
1

Any workaround suggestions?

photo
1

Dear Tommy,


We've been analysing your sample and we have detected that there is a component named "Phone Head White" that has a text gap. In case you add a text on it (Overrides Tab / Edit) you will be able to export without any issues.


Best,

Files: text.png
photo
2

Thanks!

photo
1

Hi Tommy,

We have just updated the Sketch plugin to fix this issue. You can find it here: https://github.com/vconesa/justinmind-sketch

photo