After creating a new project, then importing a CocoaPod I ran into a mysterious problem; the target for the project was changed from iOS to Mac.
I've experienced this one before several months ago but could not remember the solution. After some googling goodness I found the soution. I'm documenting it here to help my future self to solve this problem should I once agian forget.
- Click on the scheme then select 'Edit Scheme...' from the popdown menu
- In the pane that slides down, click on 'Run' in the left hand column
- Click on the 'Info' tab in the main pane
- You should see that the Executable popdown menu is currently set to 'None'. Click on it and select your app name.
- Click on the Close button
Boom, done! You can now select your desired device or simulator from the popdown.