rebuild core ios in release mode