Commit Graph
919 Commits
Author SHA1 Message Date
Asif 400c19ee9a Bugfix: Consider folders with dot in it when generating projects (#826)
* Bug fix in SourceGenerator

Folders which would have a dot in it, would be added to Copy Bundle Resources even though it contained swift files. This commit, updates the if checks to check if the extension is not of type lproj or xcassets or bundle. This would let Xcodegen handle paths with dots in it

* Refactor SourceGenerator.swift getGroupSources function

* Add FolderWithDot2.0 to TestProject/App_iOS

* Update TestProject fixture with SwiftFileInDotPath and FolderWithDot2.0 changes

* Update test to assert bundles are included in resources

* Remove intentDefinition from whitelistedDirectoryExtensions because it's not a directory, it's always a file so the check is not required
2020-04-09 07:47:54 -05:00
Ian Leitch b1edbda583 Add --project-root option to generate command. (#828) 2020-04-08 14:20:54 -05:00
Andrés Cecilia Luque 7afcf1f5f7 Fixed issue when linking and embeding static frameworks: they should be linked and NOT embed (#820) 2020-04-07 10:14:42 -05:00
Sebastian Celis 0328fa03e7 Add improved support for simple iOS sticker packs (#824)
* Allow messages applications to skip the compile sources phase

By default, simple iOS sticker packs created in Xcode do not include
a compile sources phase. This change will allow messages applications
with an empty list of sources to skip that phase entirely.

* Add support for launchAutomaticallySubstyle in run schemes

This is especially important for simple iOS sticker packs that require
this run scheme setting to be set to 2 in order to run the scheme
properly.
2020-04-06 13:37:37 -05:00
Michael Eisel c3693d4098 Optimize bottlenecks (#803) 2020-04-03 11:31:48 -05:00
Yonas Kolb 01c6959f48 Update to 2.15.1 2020-04-03 10:32:22 +11:00
Dalton Claybrook 039f6c31e7 Use remote-runnable launch actions for Apple Watch schemes (#798)
* Add support for using remote runnables with an Apple Watch scheme
2020-03-26 08:14:46 -05:00
Yonas Kolb 94018e1082 Update to 2.15.0 2020-03-25 11:55:28 +11:00
Yonas Kolb 15559eb651 Merge pull request #805 from kateinoigakukun/katei/support-SWIFT_INSTALL_OBJC_HEADER
Avoid copying ObjC interface header when SWIFT_INSTALL_OBJC_HEADER=false
2020-03-25 11:30:05 +11:00
freddi(Yuki Aki) 18efe96637 Merge branch 'master' into support-local-sp-with-packages 2020-03-23 10:12:18 +09:00
Evan Coleman 0d714bb47e add buildImplicitDependencies to TargetScheme 2020-03-20 13:23:50 -04:00
Yuta Saito b7d658157e Merge branch 'master' into katei/support-SWIFT_INSTALL_OBJC_HEADER 2020-03-20 11:50:05 +09:00
freddi af3a7e0596 Resolve local package name from abstract path
- Also, added Comment
2020-03-19 23:58:52 +09:00
freddi 6bbd90ce4b Removed new style of localPackages implemented at #796 2020-03-19 23:37:07 +09:00
freddi a3ddb4863d Reverted parsing order of path and url for making switch package easy 2020-03-19 23:33:18 +09:00
freddi 550df76722 Make SwiftPackage itself as enum 2020-03-19 23:29:46 +09:00
freddi defd73fca9 Removed LocalSwiftPackage 2020-03-18 22:10:44 +09:00
freddi e61dafdf55 Removed unnecessary space 2020-03-18 21:48:34 +09:00
freddi ca8136b62d Removed localPackages variable 2020-03-18 21:32:24 +09:00
freddi 5eb4c33197 Merge branch 'support-local-sp' into support-local-sp-with-packages 2020-03-18 20:50:23 +09:00
freddi(Yuki Aki)andYonas Kolb a077f2da88 Update Sources/XcodeGenKit/SourceGenerator.swift
Co-Authored-By: Yonas Kolb <yonaskolb@users.noreply.github.com>
2020-03-18 17:13:29 +09:00
freddi(Yuki Aki) da930999c7 Merge branch 'master' into support-local-sp 2020-03-18 16:15:55 +09:00
Yuta Saito 78c11f94a3 Avoid to copy ObjC interface header when SWIFT_INSTALL_OBJC_HEADER=false 2020-03-14 02:37:00 +09:00
freddi 105367b395 Fixed local packages is not linked as framework 2020-03-05 23:36:00 +09:00
freddi e4989a6c01 Merge branch 'support-local-sp' into support-local-sp-with-packages 2020-03-05 23:14:41 +09:00
freddi dd7737354d Fixed issue if there is no reference of package 2020-03-05 23:05:46 +09:00
freddi 19853921df Added validation of local package 2020-03-05 21:30:40 +09:00
freddi 77a3cf4b2f Changed validateVersion as static 2020-03-05 20:57:54 +09:00
freddi 81c2f4ec67 Added support local package on packages: 2020-03-05 20:40:01 +09:00
freddi fd267bf503 Fixed code making absolutePath at creating local package 2020-03-05 19:46:26 +09:00
freddi 83b44b93aa Reverted not necessary change 2020-03-05 19:37:05 +09:00
freddi 7a0bd7c13c Improved PBXFileReference name at localPackages 2020-03-05 19:04:55 +09:00
freddi 382992af85 Sort local package before createLocalPackage 2020-03-05 10:34:33 +09:00
freddi d8bf945ca2 Fixed issue on localPackage when specified as absolute path and when using -p 2020-03-05 09:50:45 +09:00
ionutivan 5487e3ce18 add property stopOnEveryMainThreadCheckerIssue to the scheme, target scheme and generator 2020-03-04 17:21:18 +01:00
freddi d184a9d2b6 Changed how to use reduce at localPackages 2020-03-04 23:01:06 +09:00
freddi b351d592b7 Fixed Test 2020-03-03 22:34:09 +09:00
freddi 47c17d65ee Fixed test by defining initializer of LocalSwiftPackage 2020-03-03 22:24:56 +09:00
freddi 0b5585f122 Support Swift Package in local by localPackages 2020-03-03 21:33:18 +09:00
yonaskolb 1c242111b5 Update to 2.14.0 2020-02-29 12:44:13 +11:00
Yonas Kolb bd7e0b7564 Merge pull request #788 from alexruperez/swift-package-manager_dynamic-packages_embed-and-sign_fix
Fix #784 Swift Package Manager (Embed & Sign) for dynamic packages.
2020-02-29 12:38:39 +11:00
Ken Tominaga c0c998b429 Set xcodeproj path in project.xcworkspace/contents.xcworkspacedata (#793)
* Set xcodeproj path in project.xcworkspace/contents.xcworkspacedata

* Update CHANGELOG.md
2020-02-28 14:40:37 -06:00
Bryan Summersett 7c35c25468 Revert "Add Base to known regions even if one doesn't exist"
This reverts commit 98472a3d88.
2020-02-26 18:31:14 -08:00
Ken Tominaga f510b44186 Set TEST_TARGET_NAME only when a project has UITest bundle (#792)
* Set `TEST_TARGET_NAME` only for UITest

* Update CHANGELOG.md
2020-02-26 09:26:35 -06:00
Alex Rupérez 54ec2ed76f Only embed SPM dependencies when declared in project.yml 2020-02-26 15:02:13 +01:00
Alex Rupérez 29b33e0a75 Fix #784 Swift Package Manager (Embed & Sign) for dynamic packages. 2020-02-25 12:20:25 +01:00
Ken Tominaga e3f8ae9e85 Set defaultConfigurationName for every target in a project 2020-02-24 16:57:36 -08:00
yonaskolb d3a3640fcb Update to 2.13.1 2020-02-07 10:58:01 +11:00
yonaskolb ce787d9e40 use mxcl/Version to fix parsing 2020-02-07 10:49:28 +11:00
yonaskolb d966e9d610 fix legacy targets dependencies 2020-02-07 10:09:09 +11:00