Dan Fleming
95e09181c6
Fix issue with legacy target fileref
2018-10-31 11:11:55 -04:00
Yonas Kolb
228ab6620b
generate info plist and entitlements
2018-10-30 00:44:12 +11:00
Yonas Kolb
0fcb3dcc78
use context
2018-10-16 21:35:31 +11:00
Yonas Kolb
c8ce6a52a5
fix cross platform targets
2018-10-15 22:55:59 +11:00
Yonas Kolb
b1b7901f1e
don't generate duplicate product file references for cross platform targets
2018-10-14 21:58:19 +11:00
Yonas Kolb
65d82bece6
improve performance by not sorting files that are later sorted
2018-10-12 00:57:13 +11:00
Yonas Kolb
32a36b0e7f
update to xcodeproj 6.1.0
2018-10-10 20:26:25 +11:00
Yonas Kolb
39079dd801
Merge origin/master into xcodeproj_5
2018-10-09 23:11:36 +11:00
Yonas Kolb
a59b8efb03
fix file comparison
2018-10-08 22:08:49 +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
Yonas Kolb
590128e156
Remove header build files that aren’t in a build phase
2018-10-08 17:29:09 +11:00
Dave Lee
2bb4a26661
Improve performance of getCombinedBuildSettings
2018-10-05 10:03:18 -07: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
1911d42d27
remove reference generator ids
2018-10-01 12:53:16 +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
2dbd897b3a
Update to 1.11.2
2018-09-19 21:10:25 +10:00
Brentley Jones
f46490fcc0
Move Copy Headers phase to be before Compile Sources
...
Fixes a cyclic dependency issue with the new Xcode 10 build system.
2018-09-14 10:29:25 -05:00
Yonas Kolb
3c07768508
support swift 4.2
2018-09-13 23:05:51 +10:00
Igor Tarasenko
8c434541ff
Remove explicit type for the knownRegions variable
2018-08-31 14:42:42 +02:00
Igor Tarasenko
2d2958f078
Set knownRegions to en by default. Fix for #389
2018-08-31 12:58:25 +02:00
Brentley Jones
5693717a9f
Fix getAllCarthageDependencies for aggregate targets
2018-08-22 09:36:42 -05:00
Brentley Jones
cf19fb27cb
Obey embedding rules for transitive aggregate targets
2018-08-22 09:35:59 -05:00
Brentley Jones
7140f0d8c5
Add Project.getAggregateTarget()
2018-08-22 09:09:08 -05:00
Brentley Jones
ab37654b01
Fix aggregate target dependencies with transitivelyLinkDependencies
2018-08-22 08:56:56 -05:00
Brentley Jones
3ff16ddc53
Quote framework search paths
2018-08-20 09:14:55 -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
341e0214ed
Automatically copy XPC Services to correct location
2018-08-15 08:30:55 -05:00
Brentley Jones
3e2e248d8c
Use parent().string
2018-08-14 09:06:41 -05:00
Brentley Jones
8f15a2bbdb
Fix duplicated build file IDs for frameworks
2018-08-14 09:05:31 -05:00
Brentley Jones
c7d0af1cab
Add to FRAMEWORK_SEARCH_PATHS for framework dependencies
2018-08-14 08:51:59 -05:00
Brentley Jones
5f2b4074a6
Automatically copy Swift.h header for static libraries
2018-08-09 09:52:18 -05:00
Brentley Jones
b1c8fb1db6
Automatically copy modulemap files correctly
2018-07-31 08:13:30 -05:00
Brentley Jones
717c899179
Merge pull request #345 from brentleyjones/modulemap
...
Add support for Copy Files build phase
2018-07-31 08:01:58 -05:00
Brentley Jones
5e96eedd78
Add support for Copy Files build phase
2018-07-30 08:14:06 -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
0ec3b1d278
Make directlyEmbedCarthageDependencies work for downstream depenedenies
...
If using `transitivelyLinkDependencies` this already worked. In the future `getAllDependenciesPlusTransitiveNeedingEmbedding` and `getAllCarthageDependencies` should really be the same mechanism.
2018-07-24 19:56:52 -05:00
Brentley Jones
b18cd551cb
Default directlyEmbedCarthageDependencies to true for tests
2018-07-24 19:56:08 -05:00
Brentley Jones
8ebf27a122
Add directlyEmbedCarthageDependencies to Target
...
Allows for choice on if `copy-frameworks` or an `Embed Frameworks` build phase should be used to embed Carthage framworks. Defaults to `true` for macOS targets to match current behavior.
2018-07-24 19:56:08 -05:00
Brentley Jones
30d7195097
Adjust getAllCarthageDependencies to return unique dependencies
...
Copies the pattern from `getAllDependenciesPlusTransitiveNeedingEmbedding`. They should be combined into one solution eventually.
2018-07-24 19:56:08 -05:00
Brentley Jones
452310d464
Add names to non-generic Copy Files phases
2018-07-24 19:13:21 -05:00
Yonas Kolb
b8058827c1
Merge pull request #356 from yonaskolb/sorting
...
Change group sorting
2018-07-24 23:34:15 +10: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
Brentley Jones
d6b4566b3c
Move config generation to after dependency handling
...
Allows config to reference targer dependencies.
2018-07-24 08:02:19 -05:00
Yonas Kolb
f51280485d
added options.groupSortPosition
2018-07-24 22:59:24 +10:00
Yonas Kolb
2be5aabaff
sort Projects and Frameworks groups at the end
2018-07-24 22:44:35 +10:00
Yonas Kolb
38e9a89c09
add aggregate targets to project
2018-07-24 22:06:31 +10:00
Yonas Kolb
884490f955
add attributes to AggregateTarget
2018-07-24 22:05:29 +10:00