The Contact Provider Extension template code has errors

If using Xcode beta 16 beta 4, a target type of Contact Provider Extension is created, then the auto-generated template code has errors right off the bat.

Compiler be like what in the dickens is this?:

class ContactProviderExtension: ContactProviderExtension 
Answered by DTS Engineer in 797306022

Did you name your target ContactProviderExtension?

I named my target CPE and I got this

class CPE: ContactProviderExtension {
    …
}

which compiles just fine.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

Accepted Answer

Did you name your target ContactProviderExtension?

I named my target CPE and I got this

class CPE: ContactProviderExtension {
    …
}

which compiles just fine.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

The Contact Provider Extension template code has errors
 
 
Q