I just generated new cert/profile (old ones expired) but now I cannot upload the app file using - Application Loader
I get the following error. What could be wrong? I am using RubyMotion.
ERROR ITMS-90163: "Invalid Code Signing Entitlements. The entitlements in your app bundle signature do not match the ones that are contained in the provisioning profile. The bundle contains a key that is not included in the provisioning profile: 'aps-environment' in 'Payload/MyApp.app/MyApp'."