CHARLESTON, United States: Republican presidential frontrunner Donald Trump called Friday for a boycott of Apple until the computer giant complies with US government demands to unlock the iPhone of a suspect in the San Bernardino attacks. “Apple ought to give the security for that phone, OK?” Trump told a campaign rally in Pawleys Island, South Carolina, one day before the state holds its hotly contested Republican primary. The government sought a court order Friday to force Apple to help unlock the iPhone as part of the probe into last year’s San Bernardino attacks, escalating a legal showdown over encryption. Apple had pledged this week to fight a magistrate’s order to assist in unlocking the phone used by one of the shooters. Suspect Syed Farook, who was killed in a shootout with authorities after the attack that left 14 dead, worked for the county in California where the December rampage occurred. The motion brought by the Justice Department sought to debunk Apple’s claim that cooperating with the FBI probe would undermine overall security for its devices, and laid out the legal case for technical assistance.