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

images -> apply from folder not working #175

Open
greendost opened this issue Dec 28, 2017 · 2 comments
Open

images -> apply from folder not working #175

greendost opened this issue Dec 28, 2017 · 2 comments

Comments

@greendost
Copy link

Hi @timuric

Maybe I am not using this feature correctly, but I am unable to get "images -> apply from folder" to work. I am trying to populate a set of thumbnails, and I selected four of them (four rectangles), and then ran the plugin, but nothing happened. I would expect to see a file dialog box to pop up where I could select a directory.

When I run the console, I see this message:

default 18:58:46.217625 -0500 Sketch Exception: ObjC method arrayWithObjects: requires 1 argument, but JavaScript passed 5 arguments
default 18:58:46.217758 -0500 Sketch ObjC method arrayWithObjects: requires 1 argument, but JavaScript passed 5 arguments

Thanks

  • Harteg
@peiledoir
Copy link

Same here. Apply from folder and applying Instagram photos do not work for me.

Running Sketch 48.2 with v1.2 of Content Generator

@zolotykh
Copy link

zolotykh commented Mar 9, 2018

Same problem with Instagram.

clemensmol added a commit to clemensmol/Content-generator-sketch-plugin that referenced this issue Mar 27, 2018
[NSArray arrayWithObjects] stopped working on 10.13. This is a bug caused by CocoaScript itself. Reference on: ccgus/CocoaScript#48 . Workaround this bug by using [NSArray arrayWithArray] instead.

Fixes timuric#175
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants