Here's the thing..
Scenario:
I got a ipa file which I get as a result of an Archive + Share process using XCode. The ipa file is signed using ad hoc distribution certificates and it can be installed without any problems.
The application saves some information in the keychain which is accessed without any problems using the build I just made.
After that, I re-sign the application using the codesign command with Enterprise distribution certificate after making some changes in the applicaction.app package. This changes includes changing the name of the application and bundle id from the info.plist file, and of course, replace the embedded mobile provisioning profile with the one that matches the new certificate.
The Problem:
After resigning every seems to be all right, installation and functionality seems to work ok.... BUT! when I enter the information that is saved in the keychain, the data seems not to load or be wiped from the keychain every time I close the app.
Ideas of why is this happening?