I found the solution, better late than never I guess? Select your main app target, under the General tab scroll down to Frameworks, Libraries and Embedded Content. Next to your extension, modify the "Filters" and uncheck MacOS. It should build now.
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: