Commit Graph

48 Commits

Author SHA1 Message Date
Tatsuki Otsuka
6bbf2c6543
Add watchOS as a supported destination (#1438)
* Add a supported destination: watchOS

* Change priority

* Add test cases

* Refactor: reword test case descriptions
2024-02-13 19:12:50 +11:00
Björn Dahlgren
28383d1d36
Fix missing LD_RUNPATH_SEARCH_PATHS setting for visionOS platform (#1444) 2024-02-13 19:08:44 +11:00
Giovanni Amati
97d36fd1d2
Support for multiple deployment targets with xcode 14 (#1336)
* platformFilters on Dependecies

* platformFilters on sources

* fixed current unit tests

* renamed enum to SupportedPlatforms

* supportedPlatforms field for target

* errors

* renamed errors

* inferPlatformFiltersByPath flag

* changed priority to generate filter

* fixed parsing

* fixed init

* unit test supportedPlatforms

* unit tests for errors

* fixing build settings and unit tests

* added new settingsPresets

* new check errors and unit tests

* case insensitive match

* fixed skipping cross platform target

* json decode

* unit tests inferPlatformFiltersByPath and platformFilters for sources

* mocked files

* fixing unit tests

* first test on dependecies

* unit tests completed

* fixed unit tests

* changelog

* doc changes

* doc changes

* doc changes

* doc changes

* doc changes

* doc changes

* doc changes

* doc changes

* fixed doc

* fixed unti tests style

* fixed regex

* fixed doc

* addressing comments

* Added TestProject, moved unit tests resources in another folder

* Raising error if platform is an array

* unit test on new error

* fixed error enum

* Integrated in TestProject

* committed TestProject

* unit test error

* fixing spm deps in test project

* pushed testProject

* pushed testProject

* pushed testProject fix

* comment on isResolved property

* renameing supportedPlatforms to supportedDestinations

* renameing supportedPlatforms to supportedDestinations

* renameing test app

* checked out old file

* fixing test app

* working on auto baseSDK

* fixed deploymentTarget

* renamed errors

* fixed presets

* remamed index to priority

* small comments

* removed isResolved in target and fixed error check

* added unit tests

* fixed doc

* fixed doc

* fixed doc

* fixed doc

* fixed test app

* add visionOS and more error check and testing

* fixed supported destinations priority and tests

* fixed doc

* solved conflicts

* fixed conflicts

* renamed everything

---------

Co-authored-by: Giovanni Amati <giovanni.amati@sky.uk>
2023-10-31 20:55:38 +11:00
Yonas Kolb
2b032561ed
remove ENABLE_MODULE_VERIFIER (#1387) 2023-08-14 10:54:37 +10:00
Yonas Kolb
7ea32005e2
add recommended settings for xcode 14 (#1385)
* add recommended settings for xcode 14

* changelog
2023-08-13 00:15:50 +10:00
Satsuki Hashiba
3a215ce999
Add support for visionOS (#1379)
* Add support for visionOS

* Update ProjectSpec

* Add carthageName property for .visionOS

* Update CHANGELOG.md and ProjectSpec.md

* Add visionOS yml to SettingPresets/Platforms and SettingPresets/Product_Platform

---------

Co-authored-by: Satsuki Hashiba <hashiba.satsuki@linecorp.com>
2023-08-07 22:12:34 +10:00
Liam Nichols
5ea9b4eec4
Update SettingsPresets to include new and modified values as part of Xcode 12 (#953)
* Update SettingsPresets to include new and modified values as part of Xcode 12's TemplateInfo.plist

* Update CHANGELOG.md

* Update Test Fixtures after running unit tests

* Revert change to GCC_PREPROCESSOR_DEFINITIONS order (https://github.com/yonaskolb/XcodeGen/pull/953\#discussion_r497486482)

* Run tests to update fixtures
2020-10-02 17:52:30 +10:00
rinsuki
775e14c48f
Fix appex's Runpath Search Paths under macOS target (#952)
* Fix appex's Runpath Search Paths under macOS target

* Update CHANGELOG.md
2020-09-21 18:44:37 +10:00
Andrés Cecilia Luque
8c21380a26
Added static framework build settings presets (#819) 2020-04-02 16:26:16 +11:00
yonaskolb
5a76527c0e fix macOS unit test setting preset 2019-09-29 10:41:34 +10:00
yonaskolb
b7564b1c49 make LD_RUNPATH_SEARCH_PATHS an array like Xcode now does 2019-09-28 14:48:16 +10:00
Tian Zhang
e15e7543bc Intents-service need to populate LD_RUNPATH_SEARCH_PATHS explicitly 2019-04-22 12:19:21 -07:00
yonaskolb
401dd772eb remove ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES 2019-04-02 22:44:05 +11:00
yonaskolb
f69fdb508d set SWIFT_COMPILATION_MODE in release to wholemodule 2019-04-02 22:44:05 +11:00
yonaskolb
93fb985732 use sdk default for SWIFT_OPTIMIZATION_LEVEL in release config (-O) 2019-04-02 22:43:36 +11:00
yonaskolb
27c588a193 update default swift version to 5.0 2019-04-02 22:42:18 +11:00
Yonas Kolb
839bfa13c1 change generated versions to xcode 10 and swift 4.2 2018-10-18 23:20:00 +11:00
Yonas Kolb
e921c10902 remove iOS codesigning sdk restriction 2018-09-29 22:29:04 +10:00
Francesco Di Lorenzo
405efbc84c Add setting preset for unit-test under macOS
Fixes #386
2018-08-23 18:08:16 +02:00
Brentley Jones
9ec570ec8c Default SKIP_INSTALL to YES for static libraries 2018-07-23 16:56:25 -05:00
Alvar Hansen
06b82065b7 Remove testability flag from framework template
Currently this flag enables testability to all configurations. Correct
behaviour is to use default, project, value.
2018-04-23 11:32:05 +03:00
Linus Unnebäck
3d98a48637
Target Xcode 9.3 2018-04-04 17:08:26 +01:00
Linus Unnebäck
c2b1d9aa14
Add LD_RUNPATH_SEARCH_PATHS to app-extension preset
This was added to the iMessage extensions, but it seems that it's required for an action extension to work as well.
2018-03-26 13:26:48 +01:00
Yonas Kolb
ebc48610b6 setting presets: add runtime search paths for iMessage extensions 2018-03-01 23:02:48 +11:00
Yonas Kolb
7fc74654c1 setting presets: give imessage extension an app icon iMessage App Icon 2018-03-01 23:02:45 +11:00
Yonas Kolb
1edf5e02dc set ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES to true in watch apps 2018-01-30 17:57:58 +11:00
Alvar Hansen
8a45121a6f Change default LD_RUNPATH_SEARCH_PATHS to string
XCode will convert them to space separated string anyway.
This way we avoid generating unnecessary difference in file.
2018-01-03 13:43:08 +02:00
Yonas Kolb
cd07453816 remove platform versions from setting presets 2017-12-26 17:36:22 +08:00
Yonas Kolb
4d1f3ee41a move icon preset settings 2017-12-22 13:28:59 +08:00
Yonas Kolb
2cdf1cec38 setting presets: only apply ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES: YES to applications 2017-10-02 01:41:37 +02:00
Yonas Kolb
1d1335b53e add more framework settings, especially SKIP_INSTALL=YES 2017-09-29 17:51:39 +02:00
Yonas Kolb
d672778066 fixed tvOS launch screen ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME=LaunchImage 2017-09-28 21:39:53 +02:00
Yonas Kolb
b84a95b0d5 set DYLIB_INSTALL_NAME_BASE to @rpath in frameworks 2017-09-28 21:18:17 +02:00
Yonas Kolb
8229e013f4 set default version of generated targets to Swift 4.0 2017-09-20 16:10:30 +02:00
Yonas Kolb
b9d6ee2e34 xcode 9 base settings 2017-09-18 22:00:35 +02:00
Yonas Kolb
016040d6bf move code signing settings from iOS to application_iOS 2017-08-30 17:20:32 +02:00
Yonas Kolb
24b9bfa8f1 add CODE_SIGN_IDENTITY[sdk=iphoneos*] for iOS targets 2017-08-28 17:23:38 +02:00
Yonas Kolb
56740c3ea6 tweak build settings format 2017-08-27 17:54:23 +02:00
Yonas Kolb
57929c51a0 change SDK version defaults 2017-08-26 23:59:37 +02:00
Yonas Kolb
2f4b1cf782 fix incorrect build setting 2017-08-26 20:24:18 +02:00
Yonas Kolb
7db1f77685 tweak setting preset files 2017-08-26 18:33:06 +02:00
Yonas Kolb
f75e7f8140 remove com.apple.product-type. from product type settings 2017-08-24 11:41:14 +02:00
Yonas Kolb
d5207a61fc set COPY_PHASE_STRIP to awlays false 2017-07-28 00:19:31 +02:00
Yonas Kolb
258d43ac72 rename watchkit 2 preset 2017-07-27 00:21:01 +02:00
Yonas Kolb
6b0d45eeda fix tvOS app icon setting 2017-07-25 01:54:54 +02:00
Yonas Kolb
90ea6fe96f clean up yaml 2017-07-23 23:15:54 +02:00
Yonas Kolb
2c359e72df preset changes 2017-07-23 21:54:16 +02:00
Yonas Kolb
b1e86aca58 renamed setting presets 2017-07-23 21:10:58 +02:00