I am trying to move around 80 classes and visualforce pages from sandbox to production by using change set but i got an error
One or more components failed Version Compatibility Check. This change set contains components that require the "30.0" or higher platform version. Please select an organization with a platform version of "30.0" or higher, or remove all incompatible components.
I tried below from developer console,
List<ApexClass> apex = [select name,apiversion from ApexClass where apiversion=30]; for(ApexClass a:apex) a.apiversion = 29.0; update apex;
Let me know if there is any other solution except changing the version manually by going to each class/page.