04-21-2016, 10:24 AM
Yes, the *.r file is for Mac, and the *.rc file is for Windows. Follow the examples in the sample projects to see the syntax for defining a PNGI resource.
In Illustrator 19, use of IDToFile.txt is required by Adobe, and is mostly separate from the *.r and *.rc files (though they are still required for other purposes, but PNGI resources declared therein will be ignored by Illustrator). Again, see the sample projects.
As to your error code, the underlying Rez tool gives pretty ambiguous feedback, so I can't tell you exactly what's happening. I would guess that you have not told the Xcode project where to find your resource files (this is NOT the same as simply dragging them into the project). You have to set the "Rez Search Paths" build setting to include the directory where you're storing the files.
If you want to see more information about what Rez is doing under the hood, you can expand the log for the Rez build step in the build log UI in Xcode.
In Illustrator 19, use of IDToFile.txt is required by Adobe, and is mostly separate from the *.r and *.rc files (though they are still required for other purposes, but PNGI resources declared therein will be ignored by Illustrator). Again, see the sample projects.
As to your error code, the underlying Rez tool gives pretty ambiguous feedback, so I can't tell you exactly what's happening. I would guess that you have not told the Xcode project where to find your resource files (this is NOT the same as simply dragging them into the project). You have to set the "Rez Search Paths" build setting to include the directory where you're storing the files.
If you want to see more information about what Rez is doing under the hood, you can expand the log for the Rez build step in the build log UI in Xcode.