pathForResource returns null

前端 未结 5 1343
清酒与你
清酒与你 2021-02-02 06:50

I\'m trying to load some .applescript files in my project.

Copied them into the \"Supporting Files\" directory like this:

5条回答
  •  再見小時候
    2021-02-02 07:21

    For all those who are still getting a nil path and the file is added in "Copy Bundle Resources" just remove the file from Copy Bundle Resources and than add again.

提交回复
热议问题