The file has been modified since the assembly of the precompiled header.

Thus, I accidentally changed the header ( CBCentralManager.h) and caused the above error while creating. I was looking for a stack overflow for a solution and found this . Even after deleting the received data, I still get the same error. I also tried to delete the ModuleCache/FUW5IOHP9BIS without success.

Here is the specific error I see:

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

Any help is greatly appreciated.

+29
ios objective-c iphone xcode
Oct. 15 '13 at 21:51
source share
13 answers

Removing ~ / Library / Developer / Xcode and restarting Xcode fixed this for me (Xcode 6 B7). Suspect an aggressive caching error.

Failed to clear wipe / build folders / retrieve data.

+42
Sep 04 '14 at 11:30
source share

I ran into this problem on OS10.10 with Xcode 6. I solved the problem by deleting the .pcm files.

To delete, press "shift + command + g" and delete all .pcm files or go to ~ / Library / Developer / Xcode / DerivedData / ModuleCache / and delete all .pcm files.

Perform a deep cleanup by pressing shift + alt + command + k.

Hope this works for you.

+80
Aug 07 '14 at 12:44 on
source share

Delete the pcm file

gt "/var/folders/pj/hslm53_51xxd_npfqym5r6z00000gn/C/com.apple.DeveloperTools/5.0-5A1412/Xcode/5.0-5A1412/Xcode/ModuleCache/FUW5IOHP9BIS/CoreBluetooth.pcm"

then

Clear project (Cmd + Shift + K)

Problem solved

+23
Jan 13 '14 at 8:51
source share

Just select clean from the project menu. This should lead to a complete overhaul and resolution of the problem.

+5
Oct. 16 '13 at 23:48
source share

Try going to your Organizer → Projects, and you will see a path for where your derived data is saved. Mine looks something like this: ~ ~ / Library / Developer / Xcode / DerivedData / [Project Name] - [mumbo jump] "

Delete the folder "[Project name] - [mumbo jump]", and everything should be fine.

+4
Oct 16 '13 at 17:40
source share

Deep cleanup (Cmd + Opt + Shft + K), DerivedData cleanup folder, cleanup simulator, restart Xcode and mac do not work for me.

The problem was fixed only after changing the pch file (adding a space or comment / uncommenting some code). The file was not cached properly during the build phase of Xcode. Change the problem with the file.

+3
Aug 14 '14 at 9:50
source share

So, the only way to fix this problem is to remove Xcode and download it again. This fixed my problem.

+2
Oct. 16 '13 at 18:22
source share

exit xcode and reopen it. This fixed my problem.

+2
Oct 31 '13 at 12:45
source share

In manually deleting the DerivedData folder, this is fixed for me.

+2
Sep 22 '14 at 13:04 on
source share

You can also try them, clean them, and then build them again.

 find /var/folders 2>&1 | grep -v 'Permission denied' | grep '\.pcm' | xargs rm find ~/Library/Developer/Xcode/DerivedData 2>&1 | grep -v 'Permission denied' | grep '\.pcm' | xargs rm 
0
Nov 25 '14 at 9:14
source share

Nothing works for me, even uninstalling Xcode. Finally, I tried to copy the modified file from another project to my current project, it worked.

0
Jan 14 '16 at 15:55
source share

I ran into this problem. Removing the Cache module and restarting Xcode and Mac did not help me solve the problem.

The solution that worked for me: I copied the path "/private/var/folders/5s/1q3qz48j6zxc028txvdyqhwr000btt/C/org.llvm.clang/ModuleCache" in Finder-> Go to Folder, deleted all folders from this ModuleCache.

Now I can successfully build.

0
Apr 27 '16 at 6:17
source share

I tried deleting the precompiled ~ / Library / Developer / Xcode file and restarting Xcode, as well as some other ideas presented here, nothing worked. Since this seems like a problem with several goals, I found that after changing the goal to another goal, successfully creating / loading another goal, changing it (after doing other things) to the goal I was looking for to create / load initially, I finally was successful.

0
Feb 08 '17 at 3:25
source share



All Articles