Commit Graph
113 Commits
Author SHA1 Message Date
Yonas Kolb e7ef30a241 refactoring 2018-11-03 21:33:27 +11:00
Yonas Kolb 0efe954f34 automatically set project SDK root if there is only a single platform 2018-11-02 19:37:45 +11:00
Yonas Kolb 26106a04b3 refactor file writing 2018-10-30 00:52:24 +11:00
Yonas Kolb 228ab6620b generate info plist and entitlements 2018-10-30 00:44:12 +11:00
Yonas Kolb a26b2d382a fix warnings 2018-10-10 20:26:25 +11:00
Yonas Kolb 32a36b0e7f update to xcodeproj 6.1.0 2018-10-10 20:26:25 +11:00
Yonas Kolb 8d6a70bdd0 Merge branch 'master' into xcodeproj_5
# Conflicts:
#	.circleci/config.yml
#	Sources/XcodeGenKit/PBXProjGenerator.swift
#	Tests/Fixtures/TestProject/Project.xcodeproj/project.pbxproj
#	Tests/XcodeGenKitTests/ProjectFixtureTests.swift
#	Tests/XcodeGenKitTests/ProjectGeneratorTests.swift
2018-10-08 22:00:45 +11:00
Alvar Hansen ab0d71d96f Add framework weak linking setting 2018-10-02 11:07:58 +03:00
Yonas Kolb 0116301227 swift_format 2018-10-01 13:19:29 +10:00
Yonas Kolb d5b72bce4f check fixtures using git diff 2018-09-29 21:39:35 +10:00
Yonas Kolb 84f1c65632 update to xcodeproj 6 2018-09-25 23:38:38 +10:00
Yonas Kolb e97b002655 upgrade to xcodeproj 5 2018-09-25 21:08:11 +10:00
Yonas Kolb 3c07768508 support swift 4.2 2018-09-13 23:05:51 +10:00
Brentley Jones ab37654b01 Fix aggregate target dependencies with transitivelyLinkDependencies 2018-08-22 08:56:56 -05:00
Yonas Kolb 75ac3b5669 make format_code 2018-08-19 14:22:42 +10:00
Yonas Kolb a1418fe4dd allow aggregateTargets to be dependencies 2018-08-19 13:47:27 +10:00
Brentley Jones 732df18976 Fix test name 2018-08-09 09:52:29 -05:00
Brentley Jones 5f2b4074a6 Automatically copy Swift.h header for static libraries 2018-08-09 09:52:18 -05:00
Brentley Jones ba6f3d0fd3 Default directlyEmbedCarthageDependencies to true for more targets
`directlyEmbedCarthageDependencies` is only `false` now for iOS/tvOS/watchOS applications.
2018-07-26 08:20:39 -05:00
Brentley Jones b18cd551cb Default directlyEmbedCarthageDependencies to true for tests 2018-07-24 19:56:08 -05:00
Brentley Jones 15af4fd1d9 Add requiresObjCLinking to Target
Allows a Target to indicate that any target that links to it needs to set `-ObjC` in `OTHER_LDFLAGS`.
2018-07-24 08:03:03 -05:00
Yonas Kolb 884490f955 add attributes to AggregateTarget 2018-07-24 22:05:29 +10:00
Yonas Kolb 3b17164bbf add aggregate targets 2018-07-24 22:05:29 +10:00
Brentley Jones d6832479e4 Stop linking dynamic frameworks to static libraries 2018-07-23 09:23:14 -05:00
Brentley Jones 2e53422f82 Transitively link library.static dependencies 2018-07-23 09:23:14 -05:00
Brentley Jones 0afd7058bb Only link static libraries to executables 2018-07-23 09:23:14 -05:00
Brentley Jones b7ba3628e9 Fix typo "transient" -> "transitive" 2018-07-03 13:34:20 -05:00
Yonas Kolb 01815e7e4e Update to 1.10.0 2018-07-03 21:45:00 +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
Yonas Kolb d9f5744ca3 add build rule unit tests 2018-06-27 22:41:14 +10:00
Yonas Kolb 438869e997 make format_code 2018-06-08 15:21:25 +10:00
Yonas Kolb 0e1f039055 integrate XCTest with Spectre for nicer tests in Xcode 2018-06-08 15:12:42 +10:00
Yonas Kolb 5d611e008a test excluding .xcodeproj 2018-06-03 16:49:09 +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 fe39aa8f71 use compactMap in tests 2018-05-13 18:52:13 +10:00
Yonas Kolb 29f4fa2123 Rename uses of spec to project 2018-04-12 23:17:07 +10:00
Yonas KolbandYonas Kolb e589364ae8 rename ProjectSpec to Project and Project.Options to SpecOptions 2018-04-12 23:13:12 +10:00
Yonas Kolb c89a665bba add target scheme pre and post action tests 2018-03-30 02:10:42 +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
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 d11783bdb0 make format_code 2018-03-03 09:21:16 +11:00
Jakub Turek dcb098a39f Implement setting schema variables in xcodeproj 2018-02-26 22:22:07 +01:00
Yonas Kolb b97261db36 generate code data models properly 2018-02-26 17:11:25 +11:00
Rahul Malik 4b9dac0ae8 Update tests 2018-02-13 20:02:18 -05:00
Yonas Kolb 52c7316ce7 fix scheme buildable reference 2018-01-30 15:25:42 +11:00