China warned France on Wednesday not to sell arms to neighbouring self-ruled Taiwan which is planning to buy weapons as part of an upgrade to a French-made warship fleet bought 30 years ago.