         [
           /\/\* End PBXFileReference section \*\//
           "\t\t#{uuid1} /* out */ = {isa = PBXFileReference; lastKnownFileType
-           = folder; name = out; path = ../../../target/out;
+           = folder; name = out; path = ../../target/out;
            sourceTree = \"<group>\"; };\n/* End PBXFileReference section */"
         ]
         [

cli        = require 'commander'
chalk      = require 'chalk'
semver     = require 'semver'
reactInit  = require 'react-native/local-cli/init'
pkgJson    = require __dirname + '/package.json'

nodeVersion     = pkgJson.engines.node
rnVersion       = pkgJson.dependencies['react-native']
resources       = __dirname + '/resources/'
camelRx         = /([a-z])([A-Z])/g
projNameRx      = /\$PROJECT_NAME\$/g
projNameHyphRx  = /\$PROJECT_NAME_HYPHENATED\$/g
projNameUnderRx = /\$PROJECT_NAME_UNDERSCORED\$/g
podMinVersion   = '0.38.2'
process.title   = 'natal'



getBundleId = (name) ->
  try
    if line = readFile("native/ios/#{name}.xcodeproj/project.pbxproj").match /PRODUCT_BUNDLE_IDENTIFIER = (.+);/
      line[1]
    else if line = readFile("native/ios/#{name}/Info.plist").match /\<key\>CFBundleIdentifier\<\/key\>\n?\s*\<string\>(.+)\<\/string\>/
      rfcIdRx = /\$\(PRODUCT_NAME\:rfc1034identifier\)/

      if line[1].match rfcIdRx
