 
     return ps
   }
+    
 }
 
 let types: [String: PBXObject.Type] = [

    for file in current.fileRefs {
      switch file.sourceTree {
      case .Group:
        ps[file.id] = .RelativeTo(.SourceRoot, prefix + "/" + file.path!)
      case .Absolute:
        ps[file.id] = .Absolute(file.path!)
      case let .RelativeTo(sourceTreeFolder):


    for group in current.subGroups {
      if let path = group.path {
        
        let str : String
        switch group.sourceTree {
        case .Absolute:
            str = path
        case .Group:
            str = prefix + "/" + path
        case .RelativeTo(.SourceRoot):
            str = "/" + path
        default:
            str = prefix + "/" + path //use old strategy
        }
        ps += paths(group, prefix: str)
      }
      else {
        ps += paths(group, prefix: prefix)
