Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

iTunes Connect "Address Sanitizer Detected" email after uploading

I am having issues uploading my app to iTunes Connect for Testflight testing. I don't receive any errors when uploading the build through Xcode 7.0, but after my build attempts to processes on iTunes Connect I get the following automated email from Apple:

Dear developer,

We have discovered one or more issues with your recent delivery for "MY_APP". To process your delivery, the following issues must be corrected:

Address Sanitizer Detected - The executable ${executablePath} links in the Address Sanitizer. Please remove Address Sanitizer usage before submitting to the App Store.

Once these issues have been corrected, you can then redeliver the corrected binary.

Regards,

The App Store team

I've ensured that "Enable Address Sanitizer" is unchecked for all of my build schemes. I cleaned the build folder and attempted to upload a clean build, but am still having the same issue. I don't see anything in the build settings related to Address Sanitizer.

Is there something else I need to do to remove Address Sanitizer?

like image 724
Jay Hickey Avatar asked Sep 24 '15 01:09

Jay Hickey


1 Answers

we hit this same problem and our team spent the last 48 hours trying to isolate it. Turns out that it was a naming conflict in one of the bundles that we were including. Since the bundle is part of our standard SDK stack that we include in every game submission and we never had any issues with it before, I am assuming that something was upgraded on Apple's back-end to include checks for a lots of the new xCode features which caused the naming conflict during the post submission auto-code checks.

it took us over 20 submissions to isolate the offending bundles and renaming them fixed the problem. If you're hitting this issue, I suggest going through your plist to see if any of the bundle names have used keywords that are reserved for Address Sanitizer usage. It was one of our engineers that identified the problem and he's away on vacation for the next week but apparently, he replaced the hyphens in the bundle name with underscores and the problem disappeared.

Wanted to share this one quickly and hope it helps folks that are stuck on this issue as it was an absolute nightmare for us to pin down.

like image 185
Henry Fong Avatar answered Oct 20 '22 05:10

Henry Fong