China Yurun Food Group recorded a net loss in 2012 as the company battled with a poor macro-economic environment, fluctuating hog prices and increasing costs.