且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

fopen 不适用于 XCode

更新时间:2023-09-25 10:26:28

那么通过 xcode 运行时的工作目录是什么?
默认情况下 IIRC 未设置,这可能是 IDE 和终端之间的区别.

well what's the working directory when run via xcode?
by default IIRC it isnt set and that might be the difference between IDE and terminal.

-- 设置工作目录:

前往:产品 > 方案 > 编辑方案...

go to: product > scheme > edit scheme...

那里去:
选项选项卡并选择一个工作目录

there go to:
options tab and choose a working directory