Apple Inc. will in the coming week debut tools to let two iPhone users share augmented reality while limiting the personal data sent to its servers, two people familiar with the matter said.

Augmented reality (AR) allows viewers to see virtual structures superimposed on their surroundings via their smartphones or other devices. It is the technology used in mobile game Pokemon Go, and by industry, such as factories seeking to map new assembly lines. Apple and rival Google are racing to release AR tools to attract software developers to their platforms.

Both are seeking to allow two people to share data so they can see the same virtual object in the same space via their individual devices. But that has sparked privacy concerns — if AR apps become commonplace, people will be scanning their homes and other personal spaces routinely, developers say.