Commit Graph
2045 Commits
Author SHA1 Message Date
freddi b8c8aabdcf update XcodeProj 2021-05-26 00:51:45 +09:00
freddi 4ed02a4432 update test 2021-05-14 05:06:07 +09:00
freddi 9de7623d2e receive target reference format at target of scheme 2021-05-14 05:06:00 +09:00
freddi 68c29dc444 Merge branch 'test-local-spm' of github.com:yonaskolb/XcodeGen into test-local-spm 2021-05-14 04:12:15 +09:00
freddi 9022364ad3 add .package for location of target reference 2021-05-14 02:50:23 +09:00
freddi fc1ec31dda make TargetReference convert from new JSON format 2021-05-14 02:14:38 +09:00
b4b863598d Update Sources/XcodeGenKit/SchemeGenerator.swift
Co-authored-by: Kohki Miki <giginet.net@gmail.com>
2021-05-06 23:48:11 +09:00
freddi a58383ef98 revert resolved package test 2021-05-06 22:45:43 +09:00
freddi(Yuki Aki)andfreddi 5474cc5ff8 Update CHANGELOG.md 2021-05-06 22:44:03 +09:00
freddi f1f0df55b9 update CHABGELOG.md 2021-05-06 22:44:03 +09:00
freddi 70c0e0d1ea add test 2021-05-06 22:44:03 +09:00
freddi 2fb1d01c1e update test 2021-05-06 22:44:03 +09:00
freddi 81de1e5ef3 support local Swift Package test case into test scheme 2021-05-06 22:44:02 +09:00
Yonas KolbandGitHub dc8544f346 Update CHANGELOG.md 2021-05-06 20:51:51 +10:00
yonaskolb 34dd90ad61 Update to 2.22.0 2.22.0 2021-05-06 20:43:05 +10:00
freddi(Yuki Aki)andGitHub 4233cc8578 Support runPostActionsOnFailure on build scheme (#1075)
* supports runPostActionsOnFailure on build scheme

* updates test for runPostActionsOnFailure

update runPostActionsOnFailure tests

* update Docs for runPostActionsOnFailure

* update change log

* Update CHANGELOG.md

* Update CHANGELOG.md
2021-05-06 12:54:33 +10:00
Yonas KolbandGitHub 7c510af3d7 Fix Xcode alert on generation (#1072)
* fix xcode warning alert on regeneration

* commit fixture diffs

* update changelog
2021-05-06 08:33:42 +10:00
Yonas KolbandGitHub 8a0615e883 Fix config variant lookup (#1070)
* fix config lookup

* update changelog
2021-05-06 00:07:38 +10:00
yonaskolb 98cde509dd Update to 2.21.1 2021-05-05 22:13:44 +10:00
Yonas KolbandGitHub 05a64bd05d Update CHANGELOG.md 2021-05-05 12:49:04 +10:00
Yasuharu YanamuraandGitHub 1df0bb3e7b Fix no such module 'DOT' by pinning GraphViz 0.2.0 (#1067)
* Revert "Fix no such module 'DOT' (#1065)"

This reverts commit 69a1cd56b5.

* pin GraphViz v0.2.0

* update CHANGELOG
2021-05-05 08:45:42 +10:00
Yasuharu YanamuraandGitHub 69a1cd56b5 Fix no such module 'DOT' (#1065)
* Update GraphViz to 0.4.0

* Update CHANGELOG.md
2021-05-02 11:55:43 +10:00
yonaskolb a6cfa0e5b6 Update to 2.21.0 2.21.0 2021-05-01 16:08:50 +10:00
yonaskolb 5b1b56df4a update changelog 2021-05-01 15:51:49 +10:00
dfe7f28bcb Scheme config variants wrong assignment for similar config names (#976)
* Failing test for #975

* fixes #975

* chore: refactor to properly select a config from a collection with specific variant and config type
chore: updated changelog

* fix: lowercase compare on config variant names

* fix CI

* fix missing scheme for CI

* fix schemes for CI

* Update CHANGELOG.md

Co-authored-by: Yonas Kolb <yonaskolb@users.noreply.github.com>

* Update Sources/ProjectSpec/Config.swift

Co-authored-by: Yonas Kolb <yonaskolb@users.noreply.github.com>

* - fix compilation issue
- duplicated test for config variant name (uppercase/lowercase)

Co-authored-by: Yonas Kolb <yonaskolb@users.noreply.github.com>
2021-05-01 15:50:39 +10:00
yonaskolb 3a193eacf9 update changelog 2021-05-01 15:49:39 +10:00
Elliott WilliamsandGitHub fb559ba153 CarthageDependencyResolver: ignore order-only dependencies (#1041)
* CarthageDependencyResolver: ignore target-only dependencies

* Update fixtures for expected changed in watchOS apps' FRAMEWORK_SEARCH_PATHS

* Update CHANGELOG.md
2021-05-01 15:39:55 +10:00
yonaskolb 8d918c1e7e updated changelog 2021-05-01 13:40:20 +10:00
Elliott WilliamsandGitHub 35212a6154 Rename Core to avoid collisions with other packages (i.e. GraphViz) (#1057)
* Rename 'Core' to 'XcodeGenCore'

* Update CHANGELOG.md

* Update CHANGELOG.md
2021-05-01 13:39:34 +10:00
freddi(Yuki Aki)andGitHub 56f943ec01 Support weak link for Swift Package Dependency (#1064)
* support weak link to Swift Package dependency

* update test for weak link

* add changelog about Swift Package Dependency

* Update CHANGELOG.md
2021-05-01 13:09:19 +10:00
yonaskolb c28b1a4082 fix archive 2021-05-01 12:54:59 +10:00
yonaskolb 3757f82bf6 Update to 2.20.0 2.20.0 2021-04-09 09:32:17 +10:00
Artem SemavinGitHubArtem Semavin <Artem Semavin>yonaskolb
0ac7a5f8c6 Added support for SelectedTests in schemes Test configuration. (#913)
* added support for selectedTests in test shemes

* added PR description to changelog

* CHANGELOG fix

* use presence of selectedTests for useTestSelectionWhitelist

Co-authored-by: Artem Semavin <Artem Semavin>
Co-authored-by: yonaskolb <yonaskolb@gmail.com>
2021-04-08 23:01:28 +10:00
209afcc898 Allowing override LastUpgradeCheck and LastUpgradeVersion (#1013)
* Allowing the property LastUpgradeCheck and LastUpgradeVersion to be overrided

* Updating changelod and project spec

* Updating changelog

Co-authored-by: André Lucas Ota <andrel.ota@PPM-SPO-6835.local>
Co-authored-by: Yonas Kolb <yonaskolb@users.noreply.github.com>
2021-04-08 22:20:10 +10:00
7b8f5a117f Change FRAMEWORK_SEARCH_PATH for xcframeworks (#1015)
* Change FRAMEWORK_SEARCH_PATH for xcframeworks

* Apply suggestions from code review

Co-authored-by: Yonas Kolb <yonaskolb@users.noreply.github.com>
2021-04-08 22:20:01 +10:00
Liam NicholsandGitHub 1b57ba5c75 Improve INFOPLIST_FILE handling to only omit used Info.plist's from Copy Bundle Resources Build Phase (#1027)
* Update TestProject Fixture to include GoogleService-Info.plist resource bsaed on 2.18.0 generator

* Update TestProject fixture to include an Info.plist file named 'App-Info.plist' to simulate scenario in #945

* Resolve INFOPLIST_FILE values upfront ahead of resolving all source files for a target

* fixup! Resolve INFOPLIST_FILE values upfront ahead of resolving all source files for a target

* fixup! Resolve INFOPLIST_FILE values upfront ahead of resolving all source files for a target

* Refactor SourceGenerator to remove some redundant arguments on internal methods when generating source files in a target

* Update SourceGenerator to accept '[Path: BuildPhaseSpec]' of preferred build phases in order to prioritise over 'default' value. Remove explicit Info.plist check from SourceGenerator. Update PBXProjGenerator to inject hash of build phases for resolved INFOPLIST_FILE values. Update SourceGeneratorTests to comply with change where only the FIRST Info.plist is excluded from copy bundle resources build phase, additionally resolve absolute path

* Ensure project.basePath is always absolute when resolving Info.plist path relative to project

* Add test coverage in SourceGeneratorTests.swift

* Update CHANGELOG.md

* Reword CHANGELOG.md
2021-04-08 15:38:21 +10:00
DaleandGitHub ff64a4a1cb Set error message for missing build targets in scheme (#1040)
* Set error message for missing build targets in scheme

The current behavior means it just crashes due to trying to force unwrap
a nil optional.

Note: A build target shouldn't really be needed, but this is just a
quick fix to get things moving again.

* Update changelog
2021-04-01 08:57:42 +11:00
cf88681749 Support macroExpansion on run scheme (#1036)
* allow to specify macroExpansion on schemes

* fix json parsing on macroExpansion

* set macroExpansion only launch scheme

* add test for macroExpansion

* add macroExpansion description

* add macroExpansion to Change Log

* Update CHANGELOG.md

* add App_Extension scheme for macroExpansion

* change example of macroExpansion in Fixtures project

* fix to keep back to keep back compatibility as possible

* Apply suggestions from code review

Co-authored-by: Yonas Kolb <yonaskolb@users.noreply.github.com>
2021-03-21 20:02:01 +11:00
freddi(Yuki Aki)andGitHub f550d01678 Support askForAppToLaunch on profile scheme (#1035)
* add askForAppToLaunch to profile scheme

* add test

* add description for askForAppToLaunch

* add Change Log for askForAppToLaunch

* Update Docs/ProjectSpec.md
2021-03-17 18:10:04 +11:00
Thi DoãnandGitHub b8b457abdb Build universal binaries for release (#1024)
* Build universal binaries for release

Closes https://github.com/yonaskolb/XcodeGen/issues/994.

* Add a changelog entry for 'Build universal binaries for release'
2021-02-25 13:51:50 +11:00
Yonas KolbandGitHub e8237903ef add github helper for swift package url (#1029) 2021-02-24 21:23:21 +11:00
Joseph ColicchioandGitHub 05ea968f70 Bugfix/StoreKitConfiguration BuildPhase (#1026)
* Copy storekit to bundle resources by default

* Fix tests

* Update changelog
2021-02-24 08:33:54 +11:00
yonaskolb 17b40a3288 Update to 2.19.0 2.19.0 2021-02-22 21:09:59 +11:00
ae186edb68 Bugfix/SimulateLocation Fix (#973)
* Preemptively fix compilation for latest XcodeProj

* Add StoreKitConfiguration to scheme and generator

* Add scheme generator test

* Fix and add tests

* Support StoreKitConfiguration in TargetScheme

* Set default type of `storekit` to `.none`

* Upgrade XcodeProj to 7.15.0

* Create struct for StoreKitConfiguration

* Update tests

* Add storekit configuration to test project

* Update changelog

* Update project spec

* Fix xcodeprojs

* Fix projects

* Capitalize String

* Update CHANGELOG.md

Co-authored-by: Gemma Barlow <gemmakbarlow@gmail.com>

* Refactor StoreKitConfiguration init from json

* Change `forWorkspace` to `pathPrefix` and add tests

* Replace StoreKitConfiguration struct with string + option

* Fix tests

* Update project spec

* Fixup changelog

* Add `See Options` to `storeKitConfiguration` in project spec

* Make `simulateLocation` respect `schemePathPrefix`

* Update docs

Co-authored-by: Gemma Barlow <gemmakbarlow@gmail.com>
2021-02-16 09:35:47 +11:00
2c600a7c64 Add Discovered Dependency File (#1012)
* Upgrade XCodeProj to 7.14.0

* Bump to XcodeProj to fork

* Add script discoveredDependencyFile

* Align cfbundle test

* Add changelog mock

* Update Documentation

* Update SPM manifest

* Change property name

* Verify defult dependency file to nil

* Add JSON encodable test

* Add PR number

Co-authored-by: Fernanda Geraissate <fernandag@spotify.com>
2021-02-15 12:43:41 +11:00
50aedc4511 Feature/Store Kit Configuration (#964)
* Preemptively fix compilation for latest XcodeProj

* Add StoreKitConfiguration to scheme and generator

* Add scheme generator test

* Fix and add tests

* Support StoreKitConfiguration in TargetScheme

* Set default type of `storekit` to `.none`

* Upgrade XcodeProj to 7.15.0

* Create struct for StoreKitConfiguration

* Update tests

* Add storekit configuration to test project

* Update changelog

* Update project spec

* Fix xcodeprojs

* Fix projects

* Capitalize String

* Update CHANGELOG.md

Co-authored-by: Gemma Barlow <gemmakbarlow@gmail.com>

* Refactor StoreKitConfiguration init from json

* Change `forWorkspace` to `pathPrefix` and add tests

* Replace StoreKitConfiguration struct with string + option

* Fix tests

* Update project spec

* Fixup changelog

* Add `See Options` to `storeKitConfiguration` in project spec

Co-authored-by: Gemma Barlow <gemmakbarlow@gmail.com>
2021-02-15 11:58:16 +11:00
Benjamin KindleandGitHub 0ba3cf5888 Readme improvements (#1011)
I'm pretty sure this wording better communicates what you were trying to say
2021-01-21 12:17:40 +11:00
Max RabiciucandGitHub 6b7ab91440 Fix issue where frameworks with MACH_O_TYPE:staticlib were being embedded (#1003) 2021-01-15 09:51:38 +11:00
Joseph ColicchioandGitHub 0eeb6369ec Legacy / Settings Relative Paths (#981)
* Adjust header search paths and legacy working directory for relative included projects

* Undo change to HEADER_SEARCH_PATHS

* Add test

* Update changelog

* Fix test

* Undo test changes

* Fix tests
2021-01-14 16:59:59 +11:00
Elliott WilliamsandGitHub c194a2e4e3 Fix race condition in json decoder (#995)
* Fix race condition in json decoder

* Update CHANGELOG.md
2021-01-14 15:42:43 +11:00