Борьба со следующей ошибкой после pod spec lint BSTableViewReorder.podspec --verbose
:xcodebuild: Возвращается неудачный код выхода
=== CLEAN TARGET BSTableViewReorder OF PROJECT Pods WITH CONFIGURATION Release === Check dependencies “Use Legacy Swift Language Version” (SWIFT_VERSION) is required to be configured correctly for targets which use Swift. Use the [Edit > Convert > To Current Swift Syntax…] menu to choose a Swift version or use the Build Settings editor to configure the build setting directly. “Use Legacy Swift Language Version” (SWIFT_VERSION) is required to be configured correctly for targets which use Swift. Use the [Edit > Convert > To Current Swift Syntax…] menu to choose a Swift version or use the Build Settings editor to configure the build setting directly. ** CLEAN FAILED ** The following build commands failed: Check dependencies (1 failure) === BUILD TARGET BSTableViewReorder OF PROJECT Pods WITH CONFIGURATION Release === Check dependencies “Use Legacy Swift Language Version” (SWIFT_VERSION) is required to be configured correctly for targets which use Swift. Use the [Edit > Convert > To Current Swift Syntax…] menu to choose a Swift version or use the Build Settings editor to configure the build setting directly. “Use Legacy Swift Language Version” (SWIFT_VERSION) is required to be configured correctly for targets which use Swift. Use the [Edit > Convert > To Current Swift Syntax…] menu to choose a Swift version or use the Build Settings editor to configure the build setting directly. ** BUILD FAILED ** The following build commands failed: Check dependencies (1 failure) -> BSTableViewReorder (1.4.3) - ERROR | [iOS] xcodebuild: Returned an unsuccessful exit code. Analyzed 1 podspec. [!] The spec did not pass validation, due to 1 error.
Любые идеи, как обойти это?
Да, но без успеха –
Быстро посмотреть здесь: https://wartalker.me/a/57be39687467948796a76087. Необходимо установить настройку «SWIFT_VERSION». (Связанный с Xcode 8) – ThorstenC
На самом деле, я считаю, что отсутствующая настройка сборки SWIFT_VERSION находится на временном App.xcodeproj, который создает кокоапод для тестирования сборки модуля, а не самого контейнера. –