tipsywacky tipsywacky - 4 months ago 12
iOS Question

iOS: How to fix the following warning issues?

Ever since updating to xcode 7. I received a lot of warnings that I am not familiar with and have no idea what they are.

warning: /Users/minidragon/Library/Developer/Xcode/DerivedData/ModuleCache/HJUIXHI06SFW/CoreGraphics-1YQ59ILDR3NYI.pcm: No such file or directory
while processing /Users/tipsy/Library/Developer/Xcode/DerivedData/rainbowtail-ceybamfcswlsqubjdieleicoaimx/Build/Products/Release-iphoneos/libcocos2d.a(cpRatchetJoint.o):
warning: /Users/tipsy/Library/Developer/Xcode/DerivedData/ModuleCache/HJUIXHI06SFW/CoreGraphics-1YQ59ILDR3NYI.pcm: No object file for requested architecture
while processing /Users/tipsy/Library/Developer/Xcode/DerivedData/rainbowtail-ceybamfcswlsqubjdieleicoaimx/Build/Products/Release-iphoneos/libcocos2d.a(cpRatchetJoint.o):
warning: Could not resolve external type c:@S@CGPoint


Does anyone know what they are and how to fix them?
Thanks in advance.

Answer

May be below solutions works for you.

Solution 1

Under the Project Target > Build Settings, change the “Debug Information Format” from “DWARF with dSYM File” to “DWARF”.

Solution 2

Deployment Postprocessing = Yes (DEPLOYMENT_POSTPROCESSING=YES)

Generate Debug Symbols = No (GCC_GENERATE_DEBUGGING_SYMBOLS=NO)

Symbols Hidden by Default = Yes (GCC_SYMBOLS_PRIVATE_EXTERN=YES)

See the relevant thread on Apple Developer Forums: https://forums.developer.apple.com/thread/17921

Comments