Im trying to import contacts framework to my xcode7 , I have added the contacts framework from the build phases and I have declared
import UIKit
import Contacts
but it shows error saying /Users/anonymous/Desktop/Contacts/Contacts/ViewController.swift:10:8: Cannot import module being compiled
Yes try giving some different project name say"MyContactsDemo". it should work.
Note:posted in answer block as suggested by the person who questioned.