Commit Graph

629 Commits

Author SHA1 Message Date
Yonas Kolb f7e73f6a1a Merge pull request #328 from brentleyjones/fix-launch-actions
Fix launch action to not run frameworks
2018-07-01 22:52:14 +10:00
Brentley Jones 55b0ed1eeb Add option to turn off transiently linking dependencies 2018-06-29 14:04:31 -05:00
Brentley Jones dd4f2e437a Transitively embed dependencies
If a target embeds dependencies (i.e. App and Test bundles) and a dependency has dependencies that can be embedded, then we should embed those dependencies as long as they weren't embedded along the way.
2018-06-29 13:17:02 -05:00
Brentley Jones cc4674c6b8 Fix launch action to not run frameworks
Currently generated schemes incorrectly are launchable for frameworks. This change implements them in the same way that Xcode naturally does.
2018-06-29 12:39:57 -05:00
Brentley Jones 79e2413fa7 Fix excluding directories that have sub-directories 2018-06-28 18:53:14 -05:00
Yonas Kolb c79a205339 don't code sign target dependencies by default 2018-06-27 22:44:19 +10:00
Yonas Kolb c8bedc81b5 add dependency name to PBXContainerItemProxy deterministic reference 2018-06-27 22:43:25 +10:00
Michael Schneider 227ddae290 Add support for cc source files 2018-06-08 13:48:25 -07:00
Yonas Kolb 438869e997 make format_code 2018-06-08 15:21:25 +10:00
Yonas Kolb 27032fce1d Merge pull request #296 from sascha/feature/legacy-target-fix
Remove file/product reference for legacy targets
2018-06-03 18:48:09 +10:00
Yonas Kolb c755458f90 Merge pull request #308 from yonaskolb/ks/frameworks
Support frameworks in source paths
2018-05-24 16:26:35 +10:00
Yonas Kolb 701df1c915 Merge pull request #306 from yonaskolb/build_rule
Add build rules
2018-05-24 16:22:06 +10:00
Keith Smiley 853c98bac1 Support frameworks in source paths
This adds support for users passing pre-compiled frameworks in as a
source file of a target, and correctly adding it to the copy frameworks
build phase. Previously it would be added to the copy resources build
phase.
2018-05-16 17:18:46 -07:00
Yonas Kolb 5f99d0c82d always generate Sources build phase 2018-05-14 10:38:43 +10:00
Yonas Kolb 542668d9f0 add build rules 2018-05-13 17:13:48 +10:00
Yonas Kolb 1ce6b97980 update to Swift 4.1 2018-05-12 15:10:18 +10:00
Keith Smiley c4ac000951 Iteratively discover carthage dependencies 2018-04-19 14:46:05 -07:00
Sascha Schwabbauer 29ca91c3a2 Remove file/product reference for legacy targets
Apparently legacy targets created by Xcode do not have a file or product reference. Xodeproj is unable to parse legacy targets generated with XcodeGen with the following error message:

`Xcodeproj doesn't know about the following attributes {"productReference"=>"FR_184465694726"} for the 'PBXLegacyTarget' isa.`

This commit removes file and product references for legacy targets.
2018-04-13 18:06:05 +02:00
Yonas Kolb bc0e90c3d6 Update to 1.9.0 2018-04-12 23:32:40 +10:00
Yonas Kolb 29f4fa2123 Rename uses of spec to project 2018-04-12 23:17:07 +10:00
Yonas Kolb e589364ae8 rename ProjectSpec to Project and Project.Options to SpecOptions 2018-04-12 23:13:12 +10:00
Yonas Kolb 81b8734dfc support files in fileGroups 2018-04-12 00:02:35 +10:00
Yonas Kolb c0df295366 fix files not being added to root properly 2018-04-12 00:02:31 +10:00
Yonas Kolb 10e8048805 fix folder in root with createIntermediateGroups 2018-04-10 21:44:54 +10:00
Yonas Kolb 1b5fb23ec9 Merge pull request #284 from LinusU/xcode-0930
Target Xcode 9.3
2018-04-09 10:06:56 +10:00
Yonas Kolb fd3c903595 fixed build phase of none not being applied to folders 2018-04-06 08:38:26 +10:00
Linus Unnebäck 3d98a48637 Target Xcode 9.3 2018-04-04 17:08:26 +01:00
Yonas Kolb a1b631b405 add pre and post actions to target scheme 2018-03-30 01:47:25 +11:00
Yonas Kolb 56b5a13674 Update to 1.8.0 2018-03-27 17:18:29 +11:00
Yonas Kolb b3ba1cb0ec automatically set DevelopmentTeam and ProvisioningStyle TargetAttributes 2018-03-27 15:47:23 +11:00
Yonas Kolb ebde9de151 Add target.attributes 2018-03-27 14:21:15 +11:00
Yonas Kolb 0c39b28c08 upgrade to xcproj 4.2.0 2018-03-21 11:02:45 +11:00
Keith Smiley 6f95e57f45 Rename to defaultConfig 2018-03-19 15:18:46 -07:00
Keith Smiley e636664aaa Add defaultConfigurationName to options
This allows users to set the defaultConfigurationName project wide. This
setting corresponds to the drop down in the project settings that says
"Use CONFIG for command line builds". This affects which configuration
Xcode looks in for some settings, even if you pass `-configuration FOO`.
2018-03-19 13:47:02 -07:00
Yonas Kolb 8c0a294737 Update to 1.7.0 2018-03-03 10:14:55 +11:00
Yonas Kolb 5f7403948b add some more code docs 2018-03-03 09:43:45 +11:00
Yonas Kolb 4998f19dc5 refactor excludes 2018-03-03 09:37:51 +11:00
Yonas Kolb d11783bdb0 make format_code 2018-03-03 09:21:16 +11:00
Yonas Kolb cc76e37d35 Merge pull request #238 from yonaskolb/ts-exclude-dsstore-bug
sources.excludes wasn't applied for localisedDirectory such as Base.lproj
2018-03-03 09:15:14 +11:00
Yonas Kolb 579d5ccb39 Merge pull request #252 from yonaskolb/header_visibility
Add TargetSource headerVisibility
2018-03-02 20:37:22 +11:00
Yonas Kolb 0c2b7dc718 change headerVisibility default back to public 2018-03-02 20:34:47 +11:00
Yonas Kolb decfa2d770 listen to embed flag for carthage dependencies 2018-03-01 23:09:52 +11:00
Yonas Kolb 205c2e9711 embed carthage dependences into test targets 2018-03-01 23:09:52 +11:00
toshi0383 0a37fd54e3 fix and refactor into extensions 2018-03-01 07:53:27 +09:00
toshi0383 ead24e8ce3 Remove unnecessary diff 2018-02-28 00:23:50 +09:00
toshi0383 77103a3c36 Fix shouldUseLaunchSchemeArgsEnv disabling logic 2018-02-28 00:18:08 +09:00
Yonas Kolb 59a2f4116d add headerVisibility 2018-02-27 09:28:17 +11:00
Jakub Turek dcb098a39f Implement setting schema variables in xcodeproj 2018-02-26 22:22:07 +01:00
Yonas Kolb 5e2f427c6f fix XCVersionGroup reference id stability 2018-02-26 17:11:25 +11:00
Yonas Kolb b97261db36 generate code data models properly 2018-02-26 17:11:25 +11:00