---
-- xcode/xcode.lua
-- Common support code for the Apple Xcode exporters.
-- Copyright (c) 2009-2015 Jason Perkins and the Premake project
---

	local p = premake

	p.modules.xcode = {}

	local m = p.modules.xcode
	m._VERSION = p._VERSION
	m.elements = {}

	include("_preload.lua")
	include("xcode_common.lua")
	include("xcode4_workspace.lua")
	include("xcode_project.lua")

	return m

---
-- xcode/xcode.lua
-- Common support code for the Apple Xcode exporters.
-- Copyright (c) 2009-2015 Jason Perkins and the Premake project
---

	local p = premake

	p.modules.xcode = {}

	local m = p.modules.xcode
	m._VERSION = p._VERSION
	m.elements = {}

	include("xcode_common.lua")
	include("xcode4_workspace.lua")
	include("xcode_project.lua")

	return m

Fix "name in use" errors from module preload script
Fix "name in use" errors from module preload script

The module preloaded now uses `loadfile()` rather than `include()` in order to report script errors. As a result, the `_preload.lua` file is no longer marked as included, so subsequent calls to `include("_preload.lua")` will result in duplicated symbols.
