The two companies are also ordered to provide Apple with information about the pending acquisition of Motorola by Google.
U.S. Circuit Judge Richard A. Posner in Chicago made the ruling as part of a patent lawsuit filed in 2010 by Apple against Motorola.
"Motorola shall be expected to obtain full and immediate compliance by Google with Apple's liability discovery demands," the judge said
Motorola argued that "Google's employees and documents are not within the 'possession, custody, or control' of Motorola, and Motorola cannot force Google to produce documents or witnesses over Google's objections." However, Apple maintained that "the Android/Motorola acquisition discovery is highly relevant to Apple's claims and defenses."