-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using SupportKit (2.10.1) with Xcode 7 causes lots and lots of warnings #53
Comments
Is your app written in Swift or Objective-C? |
It uses a bit of both.
|
Same for me. |
@ekurutepe @andreaperizzato I haven't able to repro this with clean projects in both Obj-C and Swift, is there any project specific setting you are overriding that you think could help reproduce this issue? Or if either of you could create a small sample project that demonstrates the warnings, that would be super helpful! Also, do you have the latest cocoapods gem? |
Hi @mspensieri! Old projects have |
@andreaperizzato Thanks for the info, but I still couldn't repro with these settings. Here's the test project I'm using: https://www.dropbox.com/s/xbjaqk0yzt11wfx/TestWarnings.zip?dl=0 Just Is there something else I'm missing? |
You should also set |
Setting |
With the TestWarnings project I see the warnings too. (Xcode 7.0 (7A218) on OS X 10.11 (15A282b)) |
@johankool You're right about me not seeing the warnings because I built the framework. Just noticed the path in @ekurutepe 's original comment is hardcoded to a path on my machine, i.e. The warnings are certainly related to dSYM generation, as they occur only when attempting to generate the dSYM file for the integrating app. More details to come, thanks everyone |
v2.10.2 is out addressing this issue. Please try it and let me know how it goes :) |
v2.10.2 works fine for me! |
For me too. Thanks! |
@mspensieri |
Hi @mspensieri , Having the exact same issue with one of my frameworks. Would you mind pointing us in the right direction as to what you changed? |
@ShengtaoLei @eclipse-za I solved this issue by enabling full debug symbol stripping from builds with configuration "release"
|
Thanks @mspensieri, I used your settings and my framework works now. It seems the size of my framework reduces about 40% after applying the settings due to the the debug symbols were stripped, I want to know are there any downsides to use the settings? Will it affect the users of my framework? I followed Jeff Verkoeyen's https://github.com/jverkoey/iOS-Framework to build the framework and he suggested disable code stripping. Thanks, |
I was able to fix the warnings using the settings @mspensieri recommneded, but I suspected this would remove debug information from my library. To test this I intentionally threw an exception from my library, and the stacktrace was just hex addresses. I'm pretty sure that |
@MaxGabriel You're right, disabling this flag will cause your binary to not include debug symbols and thus it will not be symbolicated in crash reports. From what I've read though, enabling bitcode in general makes symbolication impossible, since Apple re-compiles your app on their side and doesn't expose the dSYM. Happy to hear alternate solutions if anyone finds one! @jameswangz the only downside I've seen is what @MaxGabriel pointed out |
Yes, today I found I was not able to debug into my Framework any more in Xcode after setting GCC_GENERATE_DEBUGGING_SYMBOLS = NO, it brings some troubles because I usually use the debugging feature to debug my Framework, not sure if there are some other ways to fix this. |
SupportKit added through CocoaPods.
Xcode 7 shows hundreds of warnings similar to the following two:
The text was updated successfully, but these errors were encountered: