- Added ability to generate empty directories via
options.generateEmptyDirectories#480 @Beniamiiin - Added support for the
instrumentsPackageproduct type #482 @ksulliva - Added support for
inputFileListsandoutputFileListswithin project build scripts #500 @lukewakeford - Added support for a
$target_namereplacement string within target templates #504 @yonaskolb - Added
createIntermediateGroupsto individual Target Sources which overrides the top level option #505 @yonaskolb
- BREAKING: All the paths within
includefiles are now relative to that file and not the root spec. This can be disabled with arelativePaths: falseon the include. See the documentation for more details #489 @ellneal - Updated the Xcode compatibility version from 3.2 to 9.3 #497 @yonaskolb
- Exact matches to config names in build settings won't partial apply to other configs #503 @yonaskolb
- UUIDs in the project are standard and don't contain any type prefixes anymore
- Fixed
--projectargument not taking effect #487 @monowerker - Fixed Sticker Packs from generating an empty Source file phase which caused in error in the new build system #492 @rpassis
- Fixed generated schemes for tool targets not setting the executable #496 @yonaskolb
- Fixed resolving Carthage dependencies for iOS app with watchOS target. 465 @raptorxcz
- Added an experiment new caching feature. Pass
--use-cacheto opt in. This will read and write from a cache file to prevent unnecessarily generating the project. Give it a try as it may become the default in a future release #412 @yonaskolb
- Changed spelling of build phases to preBuildPhase and postBuildPhase. The older names are deprecated but still work 402 @brentleyjones
- Moved generation to a specific subcommand
xcodegen generate. Simplexcodegenwill continue to work for now #437 @yonaskolb - If
INFOPLIST_FILEhas been set on a target, then aninfopath won't ovewrite it #443 @feischl97
- Fixed XPC Service package type in generated
Info.plist#435 @alvarhansen - Fixed phase ordering for modulemap and static libary header Copy File phases. 402 @brentleyjones
- Fixed intermittent errors when running multiple
xcodegens concurrently #450 @bryansum - Fixed
--projectargument not working #437 @yonaskolb - Fixed unit tests not hooking up to host applications properly by default. They now generate a
TEST_HOSTand aTestTargetID#452 @yonaskolb - Fixed static libraries not including external frameworks in their search paths #454 @brentleyjones
- Add
.intentdefinitionfiles to sources build phase instead of resources #442 @yonaskolb - Add
mlmodelfiles to sources build phase instead of resources #457 @dwb357
- Added
weaklinking setting for dependencies #411 @alvarhansen - Added
infoto targets for generating anInfo.plist#415 @yonaskolb - Added
entitlementsto targets for generating an.entitlementfile #415 @yonaskolb - Added
sdkdependency type for linking system frameworks and libs #430 @yonaskolb - Added
parallelizableandrandomExecutionOrdertoSchemetest targets in an expanded form #434 @yonaskolb - Validate incorrect config setting definitions #431 @yonaskolb
- Automatically set project
SDKROOTif there is only a single platform within the project #433 @yonaskolb
- Performance improvements for large projects #388 #417 #416 @yonaskolb @kastiglione
- Upgraded to xcodeproj 6 #388 @yonaskolb
- Upgraded to Swift 4.2 #388 @yonaskolb
- Remove iOS codesigning sdk restriction in setting preset #414 @yonaskolb
- Changed default project version to Xcode 10.0 and default Swift version to 4.2 #423 @yonaskolb
- Added ability to not link Carthage frameworks #432 @yonaskolb
- Fixed code signing issues #414 @yonaskolb
- Fixed
TargetSource.headerVisibilitynot being set in initializer #419 @jerrymarino - Fixed crash when using Xcode Legacy targets as dependencies #427 @dflems
If XcodeGen is compiled with Swift 4.2, then UUID's in the generated project will not be deterministic. This will be fixed in an upcoming release with an update to xcodeproj 6.0
- Fixed release builds in Swift 4.2 #404 @pepibumur
- Fixed default settings for macOS unit-tests #387 @frankdilo
- Fixed Copy Headers phase ordering for Xcode 10 #401 @brentleyjones
- Fixed generated schemes on aggregate targets #394 @vgorloff
- Added
enas default value for knownRegions #390 @Saik0s - Update
PathKit,Spectre,Yamsandxcodeprojdependencies
- Fixed
FRAMEWORK_SEARCH_PATHSforframeworkdependency paths with spaces #382 @brentleyjones - Fixed aggregate targets not being found with
transitivelyLinkDependencies#383 @brentleyjones
- Added
showEnvVarsto build scripts to disable printing the environment #351 @keith - Added
requiresObjCLinkingtotarget#354 @brentleyjones - Added
targetTemplates#355 @yonaskolb - Added
aggregateTargets#353 #381 @yonaskolb - Added
options.groupSortPosition#356 @yonaskolb - Added ability to specify
copyFilesbuild phase for sources #345 @brentleyjones - Added ability to specify a
minimumXcodeGenVersion#349 @brentleyjones - Added
customArchiveNameandrevealArchiveInOrganizertoarchive#367 @sxua
- Sort files using localizedStandardCompare #341 @rohitpal440
- Use the latest
xcdatamodelwhen sorted by version #341 @rohitpal440 - Fixed compiler flags being set on non source files in mixed build phase target sources #347 @brentleyjones
- Fixed
options.xcodeVersionnot being parsed #348 @brentleyjones - Fixed non-application targets using
carthage copy-frameworks#361 @brentleyjones - Set
xcdatamodelbased onxccurrentversionif available #364 @rpassis - XPC Services are now correctly copied #368 @brentley
- Fixed
.metalfiles being added to resources #380 @vgorloff
- Improved linking for
static.librarytargets #352 @brentleyjones - Changed default group sorting to be after files #356 @yonaskolb
- Moved
FrameworksandProductstop level groups to bottom #356 @yonaskolb modulemapfiles are automatically copied to the products directory for static library targets #346 @brentleyjones- Public header files are automatically copied to the products directory for static library targets #365 @brentleyjones
- Swift Objective-C Interface Header files are automatically copied to the products directory for static library targets #366 @brentleyjones
FRAMEWORK_SEARCH_PATHSare adjusted forframeworkdependencies #373 @brentleylibrary.statictargets haveSKIP_INSTALLset toYES#358 @brentley- Copy files phases have descriptive names #360 @brentley
- Moved brew formula to homebrew core
- Added
CONTRIBUTING.md
- Fixed Mint installations finding
SettingPresets#338 @yonaskolb
- Set
transitivelyLinkDependenciesto false by default
- Fixed
transitivelyLinkDependenciestypo #332 @brentleyjones - Fixed framework target dependencies not being code signed by default #332 @yonaskolb
- Code sign all dependencies by default except target executables #332 @yonaskolb
- Added build rule support #306 @yonaskolb
- Added support for frameworks in sources #308 @keith
- Added ability to automatically embed transient dependencies. Controlled with
transitivelyLinkDependencies#327 @brentleyjones
- Upgraded to Swift 4.1
- Improved Carthage dependency lookup performance with many targets #298 @keith
- By default don't CodeSignOnCopy
targetdependencies. This can still be controlled withDependency.codeSign#324 @yonaskolb
- Fixed PBXBuildFile and PBXFileReference being incorrectly generated for Legacy targets #296 @sascha
- Fixed required sources build phase not being generated if there are no sources #307 @yonaskolb
- Fixed install script in binary release #303 @alvarhansen
- Removed
ENABLE_TESTABILITYfrom framework setting presets #299 @allu22 - Fixed homebrew installation #297 @vhbit
ccfiles are now automatically recognized as source files #317 @maicki- Fixed
commandLineArgumentsnot parsing when they had dots in them #323 @yonaskolb - Fixed excluding directories that only have sub directories #326 @brentleyjones
- Made
PBXContainerItemProxyID more deterministic - Fixed generated framework schemes from being executable #328 @brentleyjones
- Scheme pre and post actions can now be added to
target.scheme#280 @yonaskolb - Individual files can now be added to
fileGroups#293 @yonaskolb
- Updated to
xcproj4.3.0 for Xcode 9.3 updates - Update default Xcode version to 9.3 including new settings #284 @LinusU
- Breaking for ProjectSpec library users Changed
ProjectSpectoProjectandProjectSpec.OptionstoSpecOptions#281 @jerrymarino
- Fixed manual build phase of
nonenot being applied to folders #288 @yonaskolb - Quoted values now correctly get parsed as strings #282 @yonaskolb
- Fixed adding a root source folder when
createIntermediateGroupsis on #291 @yonaskolb - Fixed Homebrew installations issues on some machines #289 @vhbit
- Fixed files that are added as root sources from having invalid parent groups outside the project directory #293 @yonaskolb
- Added Project
defaultConfig#269 @keith - Added Target
attributes#276 @yonaskolb - Automatically set
DevelopmentTeamandProvisioningStylewithinTargetAttributesif relevant build settings are defined #277 @yonaskolb
- Fixed default
LD_RUNPATH_SEARCH_PATHSfor app extensions #272 @LinusU
- Make
LegacyTargetinit public #264 @jerrymarino - Upgrade to xcproj to 4.2.0, Yams to 0.6.0 and PathKit to 0.9.1 @yonaskolb
- Added support for scheme environment variables #239 #254 #259 @turekj @toshi0383
- Added
carthageExecutablePathoption #244 @akkyie - Added
parallelizeBuildandbuildImplicitDependenciesto Schemes #241 @rahul-malik @yonaskolb - Added support for Core Data
xcdatamodeldfiles #249 @yonaskolb - Projects are now generated atomically by writing to a temporary directory first #250 @yonaskolb
- Added script for adding precompiled binary to releases #246 @toshi0383
- Added optional
headerVisibiltyto target source. This still defaults to public #252 @yonaskolb - Releases now include a pre-compiled binary and setting presets, including an install script
- Fixed Mint installation from reading setting presets #248 @yonaskolb
- Fixed setting
buildPhaseon afoldersource. This allows for a folder of header files #254 @toshi0383 - Carthage dependencies are not automatically embedded into test targets #256 @yonaskolb
- Carthage dependencies now respect the
embedproperty #256 @yonaskolb - iMessage extensions now have proper setting presets in regards to app icon and runtime search paths #255 @yonaskolb
- Excluded files are not added within .lproj directories #238 @toshi0383
- Added scheme pre-actions and post-actions #231 @kastiglione
- Added
options.disabledValidationsincludingmissingConfigsto disable project validation errors #220 @keith - Generate UI Test Target Attributes #221 @anreitersimon
- Filter out duplicate source files #217 @allu22
- Fixed how
lastKnownFileTypeandexplicitFileTypewere generated across platforms #115 @toshi0383 - Removed a few cases of project diffs when opening the project in Xcode @yonaskolb
- Fixed Swift not being embedded by default in watch apps @yonaskolb
- added support for
gatherCoverageDataflag in target schemes #170 @alexruperez - added support for
commandLineOptionsin target schemes #172 @rahul-malik - added Project spec as a SwiftPM library for reuse in other projects #164 @soffes
- added
implicitoption for framework dependencies #166 @sbarow - added
--quiteoption to CLI #167 @soffes - can now print version with
-vin addition to--version#174 @kastiglione - added support for legacy targets #175 @bkase
- added support for indentation options #190 @bkase
- added source excludes #135 #161 #190 @peymankh @
- added
options.xcodeVersion#197 @yonaskolb @peymankh - add test targets to Scheme #195 @vhbit
- add option to make a source file optional incase it will be generated later #200 @vhbit
- finalize Scheme spec #201 @yonaskolb
- added
buildPhasesetting to target source for overriding the guessed build phase of files #206 @yonaskolb - added
deploymentTargetsetting to project and target #205 @yonaskolb
- huge performance improvements when writing the project file due to changes in xcproj
- updated dependencies
- minor logging changes
- updated Project Spec documentation
- scan for
Info.plistlazely #194 @kastiglione - change setting presets so that icon settings only get applied to application targets #204 @yonaskolb
- changed scheme build targets format #203 @yonaskolb
- when specifying a
--specargument, the default for the--projectpath is now the directory containing the spec #211 @yonaskolb
- fixed shell scripts escaping quotes twice #186 @allu22
- fixed
createIntermediateGroupswhen using a relative spec path #184 @kastiglione - fixed command line arguments for test and profile from being overridden #199 @vhbit
- fixed files deep within a hierarchy having the path for a name
- fixed source files from being duplicated if referenced with different casing #212 @yonaskolb
- fixed target product name not being written. Fixes integration with R.swift #213 @yonaskolb
- added
--versionflag #112 @mironal - added support for adding individual file sources #106 #133 #142 #139 @bkase
- added source compiler flag support #121 @bkase
- added
ProjectSpec.options.createIntermediateGroups#108 @bkase - added better json loading support #127 @rahul-malik
- added source
namefor customizing names of source directories and file #146 @yonaskolb - added folder reference source support via a new
typeproperty #151 @yonaskolb - added
ProjectSpec.options.developmentLanguage#155 @yonaskolb
- updated to xcproj 1.2.0 #113 @yonaskolb
- build settings from presets will be removed if they are provided in
xcconfigfiles #77 @toshi0383 - all files and groups are sorted by type and then alphabetically #144 @yonaskolb
- target sources can now have an expanded form #119 @yonaskolb
- empty build phases are now not generated #149 @yonaskolb
- make UUIDs more deterministic #154 @yonaskolb
- only add headers to frameworks and libraries #118 @ryohey
- fixed localized files with the same name #126 @ryohey
- fix intermediate sources #144 @yonaskolb
- fix cyclical target dependencies not working #147 @yonaskolb
- fix directory bundles not being added properly when referenced directly #148 @yonaskolb
- made
mm,candSfile be parsed as source files #120 #125 #138 @bkase @enmiller - fix the generation of localized variant groups if there is no
Base.lproj#157 @ryohey - all localizations found are added to a projects known regions #157 @ryohey
- refactoring
- more tests
- added release scripts
- generate output files for Carthage copy-frameworks script #84 @mironal
- added options.settingPreset to choose which setting presets get applied #100 @yonaskolb
- added
linkoption for target dependencies #109 @keith
- updated to xcproj 0.4.1 #85 @enmiller
- don't copy base settings if config type has been left out #100 @yonaskolb
- generate localised files under a single variant group #70 @ryohey
- don't apply common project settings to configs with no type #100 @yonaskolb
- config references in settings can now be partially matched and are case insensitive #111 @yonaskolb
- other small internal changes @yonaskolb
- embed Carthage frameworks for macOS #82 @toshi0383
- fixed copying of watchOS app resources #96 @keith
- automatically ignore more file types for a target's sources (entitlements, gpx, apns) #94 @keith
- change make build to a PHONY task #98 @keith
- allow copying of resource files from dependant targets #95 @keith
- fixed library linking #93 @keith
- fixed duplicate carthage file references #107 @yonaskolb
- an error is now shown if you try and generate a target scheme and don't have debug and release builds @yonaskolb
- setting presets only apply
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES: YESto applications - don't add carthage dependency to
copy-frameworksscript ifembed: false - sort group children on APFS
- update to xcproj 0.3.0
- Fixed wrong carthage directory name reference for macOS #74 @toshi0383
- Removed unnecessary
carthage copy-frameworksfor macOS app target #76 @toshi0383 - Added some missing default settings for framework targets.
SKIP_INSTALL: YESfixes archiving - Filter out nulls from setting presets if specifying an empty string
- automatically set
TEST_TARGET_NAMEon UI test targets if one of the dependencies is an application target
- set
DYLIB_INSTALL_NAME_BASEto@rpathin framework target presets - fixed tvOS launch screen setting.
ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAMEis nowLaunchImagenottvOS LaunchImage
includenow supports a single string as well as a list- add support setting xcconfig files on a project with
configFiles#64 - add
fileGroupsto project spec for adding groups of files that aren't target source files #64 - better output (more info, emoji, colors)
- add
options.bundleIdPrefixfor autogeneratingPRODUCT_BUNDLE_IDENTIFIER#67 - add
:REPLACEsyntax when merginginclude#68 - add
mintinstallation support
- fixed homebrew installation
- fixed target xcconfig files not working via
configFiles#64 - look for
INFOPLIST_FILEsetting in project and xcconfig files before adding it automatically. It was just looking in target settings before #64 - exit with error on failure
- set project version to Xcode 9 -
LastUpgradeVersionattribute to0900 - set default Swift version to 4.0 -
SWIFT_VERSIONbuild setting to4.0
- fixed incorrect default build script shell path
- fixed install scripts
- fixed empty string in YAML not being parsed properly #50 by @antoniocasero
- updated to xcodeproj 0.1.2 #56
- BREAKING: changed target definitions from list to map #54 See Project Spec
- Ability to set PBXProject attributes #45
- Don't bother linking target frameworks for target dependencies.
- Move code signing default settings from all iOS targets to iOS application targets, via Product + Platform setting preset files #46
- Allow a project spec to include other project specs #44
- Changed default spec path to
project.yml - Changed default project directory to the current directory instead of the spec file's directory
- Fix embedded framework dependencies
- Add
CODE_SIGN_IDENTITY[sdk=iphoneos*]back to iOS targets - Fix build scripts with "" generating invalid projects #43
- Added multi platform targets #35
- Automatically generate platform specific
FRAMEWORK_SEARCH_PATHSfor Carthage dependencies #38 - Automatically find Info.plist and set
INFOPLIST_FILEbuild setting if it doesn't exist on a target #40 - Add options for controlling embedding of dependencies #37
- Fixed localized files not being added to a target's resources
- Renamed Setting Presets to Setting Groups
- Carthage group is now created under top level Frameworks group
- Homebrew support #16 by @pepibumur
- Added
runOnlyWhenInstallingto build scripts #32 - Added
carthageBuildPathoption #34
- Fixed installations of XcodeGen not applying build setting presets for configs, products, and platforms, due to missing resources
- Upgraded to https://github.com/swift-xcode/xcodeproj 0.1.1 #33
- Support for app extension dependencies, using the same
target: MyExtensionsyntax #19 - Added test targets to generated target schemes via
Target.scheme.testTargets#21
- Updated xcodeproj to 0.0.9
- Fixed watch and messages apps not copying carthage dependencies
- Changed
Target.generatedSchemestoTarget.scheme.configVariants
- Added Target build scripts with
Target.prebuildScriptsandTarget.postbuildScripts#17 - Support for absolute paths in target sources, run script files, and config files
- Add validation for incorrect
Target.configFiles
- Fixed some project objects sometimes having duplicate ids
First official release