NSBundle pathForResource is NULL
So here’s the solution for this problem after I got the source: I didn’t really pay attention to the posted screenshot, but the target is of type “Command-line Tool“… and since those don’t have a bundle [NSBundle mainBundle] of course returns nil. It’s pretty misleading that Xcode doesn’t complain that it can’t execute the “Copy … Read more