Tim Nuwin
Tim Nuwin

Reputation: 2887

Can't create a new file under the project w/ XCode 6.4 beta under El Capitan

I'll create a new file while the group is selected, but the file gets created outside the project hierarchy.

What gives?

Upvotes: 3

Views: 913

Answers (2)

Joe
Joe

Reputation: 33

I was able to get it done with this workaround:

  • Create the Cocoa class
  • ⌘-drag it into the project/folder I want (unchecking 'Copy items if needed' and selecting 'Create folder references')
  • Delete the files that are outside the project by Right-Clicking, selecting 'Delete' and then 'Remove References'

Upvotes: 2

zhubofei
zhubofei

Reputation: 112

You can create a Swift File instead of cocoa class file.

Upvotes: 1

Related Questions