这是当我尝试使用Xcode v3.1.4编译我的iPhone应用程序时发生的情况
这到底是什么意思? (以及如何解决?)
Processing /Users/carol/Documents/MyApp/build/Release-iphonesimulator/MyApp.app/Info.plist TabBarDemo2-Info.plist
cd /Users/carol/Documents/MyApp
setenv PATH
"/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
<com.apple.tools.info-plist-utility> TabBarDemo2-Info.plist -genpkginfo
/Users/carol/Documents/MyApp/build/Release-iphonesimulator/MyApp.app/PkgInfo -expandbuildsettings -format binary -o /Users/carol/Documents/MyApp/build/Release-iphonesimulator/MyApp.app/Info.plist
error: The file “TabBarDemo2-Info.plist” does not exist.
最佳答案
这意味着您的“TabBarDemo2-info.plist”不再可用。您需要使用名称“TabBarDemo2-info.plist”创建另一个具有相同名称的.plist,然后为其提供先前拥有的属性,然后一切正常。同样,在创建新的plist时,请执行以下操作:
添加一个新文件。然后转到Mac OS X>资源>属性列表。
关于iphone - Xcode编译错误: Can't find an (old) file I used to have,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2894408/