-1

When I compile my app I get a long list of errors all connected to

UIKit/UICloudSharingController.h

as you may see in the attached screenshot.

What does it mean and how to fix it?

enter image description here

Fabrizio Bartolomucci
  • 4,948
  • 8
  • 43
  • 75

1 Answers1

0

The issue was due to a very weird problem Apple helped me to find out. In practice I used flag share in #if clauses to shield piece of code in the appropriate target. What I found was that this flag is also used somewhere by Apple itself and so I shielded even some parts of its code with the errors I reported. Once renamed to sharespare, the name of the app, the problem all but disappeared.

Fabrizio Bartolomucci
  • 4,948
  • 8
  • 43
  • 75