Problems in generating UIKit/UICloudSharingController.h

101 views Asked by At

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

1

There are 1 answers

0
Fabrizio Bartolomucci On

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.