简体   繁体   中英

Warnings in app.dsym in Xcode after update

Since I updated Xcode to the latest version I get a lot of warnings and I could not find clear explanation/solution, first it used to be just when I was testing on simulator but now I also get it when testing on device.

在此处输入图片说明

I tried this https://forums.developer.apple.com/thread/17921 but it did not helped me that much, I managed to get rid of the warning from the app extension but not the app itself. Anyone who encountered similar problem and managed to solve it?

For me, change the Debug Information Format to DWARF, like below, solve the problem:

Debug Information Format (DEBUG_INFORMATION_FORMAT) = DWARF

But, I wonder how it will affect the compiled app after setting this without dsym.

Any clues?!

This worked for me:

  1. Targets -> [your project] -> Build Settings
  2. Find and expand "Debug Information Format"
  3. Change "Debug" value to "DWARF"
  4. I left "Release" value unchanged as "DWARF with dSYM File"

I read that Debug builds don't need dSYM files.

This is probably due to changes in the build process across different Xcode versions, I am having this problem again with version 8.3.3 (8E3004b), so if this is happening just after an update you can fix it shutting down Xcode and deleting folder

~/Library/Developer/Xcode/DerivedData

which gets created again after the first build. About the risks of deleting that folder you can check this question

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM