Tarek
Tarek

Reputation: 2392

Xcode 7 specific static framework warnings

I have a static framework that is compiling perfectly on Xcode 6, but it's producing the following warning on Xcode 7 (beta5) for each of my framework's classes:

while 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: No such file or directory

What is the source of these warnings and how do I eliminate them?

Upvotes: 4

Views: 855

Answers (2)

JDG
JDG

Reputation: 540

This is because of the default build setting change from Xcode6 to xcode7:

Xcode 6: DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";

Xcode 7: DEBUG_INFORMATION_FORMAT = "dwarf";

Change it accordingly and then warnings should go away

enter image description here

Upvotes: 4

Tarek
Tarek

Reputation: 2392

I was able to fix this by setting 'Enable Modules' to NO in the project's Build Settings.

Upvotes: 1

Related Questions