Swiftpack.co - Package - vapor/core

Github

link
Stars: 56
Help us keep the lights on

Dependencies

Releases

3.9.2 - Sep 19, 2019

  • Fixed an issue with DirectoryConfig.detect() in Xcode 11 when using native SPM integration. (#208)

Working directory detection methods used in Xcode projects created with swift package generate-xcodeproj no longer work in Xcode 11 when using native SPM integration. The Xcode team has indicated to us that they are not planning on providing any workarounds to allow for this automatic directory detection to work in Xcode 11. Because of this, DirectoryConfig.detect() will no longer attempt to automatically determine the current working directory if it detects Xcode >= 11 using native SPM integration. Instead, it will always return the current working directory.

By default, this current working directory will be a temporary folder used by Xcode. To change this, you must enable Use custom working directory in the scheme editor for your Run scheme:

59303398-2365c080-8c64-11e9-87ad-dfcb239fa99f

You should set the custom working directory to the folder that contains the Package.swift file for your project. Once you have set a custom working directory for your scheme, DirectoryConfig.detect() will correctly detect and return that path to your application. This change should only need to be made once since Xcode project settings are persisted in the .swiftpm folder.

Note that this change should only affect projects using Xcode >= 11 with native SPM integration. Projects using swift package generate-xcodeproj should continue to work without needing to make changes to the Run scheme.

3.9.1 - Jun 8, 2019

New:

  • Allows integration with iOS through SPM and Xcode 11 beta 1 (#206)

3.9.0 - Apr 23, 2019

New:

  • Array.flatten now uses NIO's whenAll method under the hood. This change improves performance of future flattening by ~3x. (#203)

3.8.1 - Apr 10, 2019

Fixed:

  • File.ext now returns nil if the file does not have an extension. (#198)

3.8.0 - Apr 3, 2019

New:

  • Add MediaType.jsonAPI. (#202)

Fixed:

  • Improve performance of Future.flatten. (#199)