更改mac后Xcode无法在Windows共享上构建?

时间:2023-01-18 07:39:40

After moving to a other mac (fresh installed OSX 10.5.7 with iphone sdk 2.2.1) i now have several problems.

在转移到另一个mac(新安装的OSX 10.5.7与iphone sdk 2.2.1)后,我现在有几个问题。

Often copying files to my mac from the windows vista64 share failes with error -41.

经常将文件从windows vista64共享文件复制到我的mac,错误-41。

When building an .xproject directly on the windows share it fails with hundreds of errors like the following: "error : Cannot allocate memory"

当直接在Windows共享上构建.xproject时,它会失败并出现如下错误:“错误:无法分配内存”

I later configured Xcode to build locally.. this didn't really help.

我后来配置Xcode在本地构建..这没有真正的帮助。

This did work on my previous machine why not on the fresh installed?

这确实对我以前的机器有效,为什么不在新安装?

Do I have to install a inoffical OSX patch? Do I have to install some windows patch?

我是否必须安装一个非官方的OSX补丁?我必须安装一些Windows补丁吗?

Where do you guys store your projects and did problems occured?

你们在哪里存储你的项目并发生了问题?

1 个解决方案

#1


According to Apple's Mac OS System Error Codes documentation, -41 is a file system error that means "Memory full (open) or file won't fit (load)". Note that this is distinct from error -34 "Disk full" and appears to be referring to your system memory (RAM + virtual RAM).

根据Apple的Mac OS系统错误代码文档,-41是文件系统错误,表示“内存已满(打开)或文件不适合(加载)”。请注意,这与错误-34“磁盘已满”不同,并且似乎是指您的系统内存(RAM +虚拟RAM)。

Are you running out of memory? Try using Activity Monitor to see what your resources (especially memory usage) look like when you try to open your project.

你的内存不足吗?尝试使用Activity Monitor查看尝试打开项目时的资源(特别是内存使用情况)。

Update: I did some more digging and found this Apple Support thread where someone else had the same problem. The solution to their problem was to change a registry setting as suggested by this article. Apparently, Windows is sending a "not enough memory" error to your Mac and OS X is simply reporting that error as error code -41.

更新:我做了一些挖掘,发现这个Apple支持线程,其他人有同样的问题。他们的问题的解决方案是根据本文的建议更改注册表设置。显然,Windows正在向Mac发送“内存不足”错误,OS X只是将该错误报告为错误代码-41。

#1


According to Apple's Mac OS System Error Codes documentation, -41 is a file system error that means "Memory full (open) or file won't fit (load)". Note that this is distinct from error -34 "Disk full" and appears to be referring to your system memory (RAM + virtual RAM).

根据Apple的Mac OS系统错误代码文档,-41是文件系统错误,表示“内存已满(打开)或文件不适合(加载)”。请注意,这与错误-34“磁盘已满”不同,并且似乎是指您的系统内存(RAM +虚拟RAM)。

Are you running out of memory? Try using Activity Monitor to see what your resources (especially memory usage) look like when you try to open your project.

你的内存不足吗?尝试使用Activity Monitor查看尝试打开项目时的资源(特别是内存使用情况)。

Update: I did some more digging and found this Apple Support thread where someone else had the same problem. The solution to their problem was to change a registry setting as suggested by this article. Apparently, Windows is sending a "not enough memory" error to your Mac and OS X is simply reporting that error as error code -41.

更新:我做了一些挖掘,发现这个Apple支持线程,其他人有同样的问题。他们的问题的解决方案是根据本文的建议更改注册表设置。显然,Windows正在向Mac发送“内存不足”错误,OS X只是将该错误报告为错误代码-41。