转换为ARC-LLVM编译器3.0错误 [英] Convert to ARC - LLVM compiler 3.0 Error
问题描述
我打开了我的一个较旧的项目,并从编辑/重构"菜单中选择了"Convert to Objective-C ARC
".我收到以下错误:
Apple LLVM compiler 3.0 Error
Error in format of file: /Users/myUserName/Library/Developer/Xcode/DerivedData/ProjectName-fkjvtdsoypoyrdcedtarbtypupor/Build/Intermediates/ProjectName.build/Debug-iphoneos/ProjectName.build/ProjectName-arc.migrate/remap
这是我需要在Finder中手动删除某些文件/文件夹然后再试一次的情况之一吗?我只是删除了项目"Build"文件夹中的所有内容,然后做了Product/Clean
并再次尝试,但仍然遇到相同的错误.
显然,当您转换为Objective-C ARC"时,无法将目标设置为iOS设备.
当我将目标设置为模拟器时,我能够毫无错误地转换为ARC.
I opened up an older project of mine and chose Convert to Objective-C ARC
from the Edit/Refactor menu. I am getting the following error:
Apple LLVM compiler 3.0 Error
Error in format of file: /Users/myUserName/Library/Developer/Xcode/DerivedData/ProjectName-fkjvtdsoypoyrdcedtarbtypupor/Build/Intermediates/ProjectName.build/Debug-iphoneos/ProjectName.build/ProjectName-arc.migrate/remap
Is this one of those situations where I need to manually delete some files/folders in Finder and then try it again? I just deleted everything in the "Build" folder of the project, then did Product/Clean
and tried it again, but still getting the same error.
Apparently you cannot have the target set to iOS Device when you "Convert to Objective-C ARC"
When I set the target to the simulator, I was able to convert to ARC with no errors.
这篇关于转换为ARC-LLVM编译器3.0错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!