我最近在info.plist部分处理我的应用程序乱码,因为我的应用程序不能在我的测试设备上运行:
自编译预编译头文件以来,文件'project.pch'已被修改
需要注意的是,应用程序在模拟器中运行良好.
编辑:现在我收到此错误而不是另一个错误:
没有这样的文件或目录(/Users/Me/Library/Developer/Xcode/DerivedData/MyProject-abcdefghijklmnopqrstuvwxyz/Build/Products/Debug-iphoneos/MyApp./MyApp)

如何重新生成info.plist文件?
所以我不小心修改了一个标题(CBCentralManager.h)并在我构建时导致上面的错误显示.我搜索了堆栈溢出的解决方案,并发现了这一点.即使在删除派生数据后,我仍然得到相同的错误.我也试过删除ModuleCache/FUW5IOHP9BIS文件夹但没有成功.
这是我看到的具体错误:
file /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.0.sdk/System/Library/Frameworks/CoreBluetooth.framework/Headers/CBCentralManager.h' has been modified since the precompiled header '/var/folders/pj/hslm53_51xxd_npfqym5r6z00000gn/C/com.apple.DeveloperTools/5.0-5A1412/Xcode/5.0-5A1412/Xcode/ModuleCache/FUW5IOHP9BIS/CoreBluetooth.pcm was built
任何帮助是极大的赞赏.
我刚刚通过App Store更新了Xcode 4.5,这是我之前从Apple开发者帐户获得的版本.由于更新,我无法将任何应用程序编译到模拟器中.我可以编译到设备上,例如我的iPhone.
我收到的错误是
fatal error: file
'/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/
Developer/SDKs/iPhoneSimulator6.0.sdk/usr/include/Availability.h'
has been modified since the precompiled header was built
1 error generated.
Run Code Online (Sandbox Code Playgroud)