I have a static structure that compiles fine on Xcode 6 , but it generates the following warning in Xcode 7 (beta5) for each of my framework classes:
Xcode 6
Xcode 7 (beta5)
during processing / Path -to-MyFramework / MyFramework.framework / MyFramework (MyFrameworkClass.o): warning:/var/folders/_j/hqhnz9xd2qv_39dd1vdmw1nc0000gn/C/org.llvm.clang.MY-USERNAME/ModuleCache/2YCOBXU93NY4O/Foundation-K7W1BMS6PHG4.pcm: There is no such file or directory
during processing / Path -to-MyFramework / MyFramework.framework / MyFramework (MyFrameworkClass.o): warning:
/var/folders/_j/hqhnz9xd2qv_39dd1vdmw1nc0000gn/C/org.llvm.clang.MY-USERNAME/ModuleCache/2YCOBXU93NY4O/Foundation-K7W1BMS6PHG4.pcm: There is no such file or directory
What is the source of these warnings and how do I resolve them?
I was able to fix this by setting the Enable Modules parameter to NO in the project settings for the Project.
This is due to changing the default build settings from Xcode6 to xcode7:
Xcode 6: DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
Xcode 7: DEBUG_INFORMATION_FORMAT = "dwarf";
Change it accordingly and then the warnings should go away