After I change build system from "Legacy Build System" to "New Build System" I started to get below error when trying to upload IPA to Appstore. For both options, I can get success build. What can be the problem?
P.S: My export options plist file is for Distrubition. Therefore, there is no problem with the certificate etc.. (As I mentioned, I can successfully UPLOAD it when build with legacy build system.
What I want to learn is that what can be the reasons for the problem. I'll check all of the reasons of it (e.g naming in files).
ERROR ITMS-90035: "Invalid Signature. A sealed resource is missing or invalid. The file at path [Şans.app/Şans] is not properly signed. Make sure you have signed your application with a distribution certificate, not an ad hoc certificate or a development certificate. Verify that the code signing settings in Xcode are correct at the target level (which override any values at the project level). Additionally, make sure the bundle you are uploading was built using a Release target in Xcode, not a Simulator target. If you are certain your code signing settings are correct, choose "Clean All" in Xcode, delete the "build" directory in the Finder, and rebuild your release target. For more information, please consult https://developer.apple.com/library/ios/documentation/Security/Conceptual/CodeSigningGuide/Introduction/Introduction.html

provision profilesin iOS 1. Development 2. Production/Distribution. To publish apps on itunes you need Distribution certificate. Thats what error means. - dahiya_boy