Skip to content

pre_compile hook is called to late with CocoaPods 1.6.0.beta.2 #75

@bpoplauschi

Description

@bpoplauschi

Report

What did you do?

  • run pod install on an empty folder with just this Podfile
platform :ios, '8.0'

plugin 'cocoapods-rome'

target 'caesar' do
  pod 'Alamofire'
end
  • What did you expect to happen?
    To get an output folder with the compiled Alamofire framework

  • What happened instead?
    Got the SWIFT_VERSION missing error.

Command

pod install

Stack

   CocoaPods : 1.6.0.beta.2
        Ruby : ruby 2.3.7p456 (2018-03-28 revision 63024) [x86_64-darwin17]
    RubyGems : 2.7.7
        Host : Mac OS X 10.13.6
       Xcode : Version 10.0 (10A255)
         Git : git version 2.17.1 (Apple Git-112)
Ruby lib dir : 
Repositories : master - https://github.com/CocoaPods/Specs.git @ 3b87cd44ee362bf10ba1b86e622b3bb219ef5c94

Plugins

cocoapods (1.6.0.beta.2, 1.6.0.beta.1, 1.5.3)
cocoapods-core (1.6.0.beta.2, 1.6.0.beta.1, 1.5.3)
cocoapods-deintegrate (1.0.2)
cocoapods-downloader (1.2.2)
cocoapods-plugins (1.0.0)
cocoapods-rome (1.0.1)
cocoapods-search (1.0.0)
cocoapods-stats (1.0.0)
cocoapods-trunk (1.3.1)
cocoapods-try (1.1.0)

Podfile

platform :ios, '8.0'

plugin 'cocoapods-rome'

target 'caesar' do
  pod 'Alamofire'
end

Error

[!] Unable to determine Swift version for the following pods:

- `Alamofire` does not specify a Swift version and none of the targets (`caesar`) integrating it have the `SWIFT_VERSION` attribute set. Please contact the author or set the `SWIFT_VERSION` attribute in at least one of the targets that integrate this pod.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions