> On 31 Aug 2015, at 09:53, Alex Hall <[email protected]> wrote:
> 
> Hello list,
> I promise, I'm not trying to use UIKit on OS X this time. :)
> I have a Mac project in which I want to use the SwifterMac framework:
> https://github.com/mattdonnelly/Swifter
> 
> The Readme states that I just add the Swifter.xcodeproj file to my project, 
> add SwifteriOS or SwifterMac to the frameworks section of my project's build 
> phases, and that's it. I've done both, but no matter what I try, as soon as I 
> create a new instance of Swifter, I see "use of unresolved identifier 
> Swifter" appear and the project fails to build. The really weird part is 
> that, if I go to the line causing the error and press cmd-ctrl-j, the 
> relevant class in Swifter opens right up; clearly, Xcode can see the 
> framework, or it couldn't jump to the source like that. I'm on OS X 10.11, 
> Xcode 7 beta 6. Here's what I've already tried:
> 
> * clean, using cmd-shift-k
> * folder clean, using cmd-shift-option-k
> * removing the Derived Data folder from the project
> * adding "import Swifter" or "import SwifterMac" to the top of the file in 
> which I create the Swifter instance (both error out, saying there is no such 
> thing as Swifter or SwifterMac)
> * removing and re-adding the framework
> * adding the whole folder of source code, not just the .xcodeproj file, to my 
> project
> * adding the SwifterMac framework to my tests and UI tests, even though 
> neither of them use it (I've not done anything with tests yet, so both are 
> untouched)
> * Adding Swifter to the copy phase of my project, because at that point I was 
> out of ideas.
> * creating a whole new project, adding the framework to the build phases, and 
> creating a Swifter object in AppDelegate.swift (same error). Aside from that, 
> I've made no other changes to this fresh project, yet it gives me the exact 
> same error the first project did.
> 

Tried adding SwifterMac to the Target Dependencies of the project using it in 
the Build Phases tab? 


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/xcode-users/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to