netguru / ResponseDetective

Sherlock Holmes of the networking layer. :male_detective:

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

umbrella header not found for static library

Lausbert opened this issue · comments

I'm not quite sure, if this issue is related to ResponseDetective or CocoaPods. See related Issue at CocoaPods here.

Report

What did you do?

pod install

Moved ResponseDetective.h to Public in Header Build Phase of ResponseDetective Target stackoverflow

set -o pipefail && xcodebuild -workspace ./staticLibrariesTest.xcworkspace -scheme staticLibrariesTest -destination 'generic/platform=iOS' -archivePath /Users/stephanlerner/Library/Developer/Xcode/Archives/2018-05-30/staticLibrariesTest\ 2018-05-30\ 12.19.17.xcarchive archive | tee /Users/stephanlerner/Library/Logs/gym/staticLibrariesTest-staticLibrariesTest.log | xcpretty

What did you expect to happen?

Succeeding build, since project builds fine in Xcode itself.

What happened instead?

bildschirmfoto 2018-05-30 um 12 39 43

CocoaPods Environment

Stack

   CocoaPods : 1.5.3
        Ruby : ruby 2.4.1p111 (2017-03-22 revision 58053) [x86_64-darwin17]
    RubyGems : 2.6.14
        Host : Mac OS X 10.13.4 (17E202)
       Xcode : 9.3.1 (9E501)
         Git : git version 2.15.1 (Apple Git-101)
Ruby lib dir : /Users/stephanlerner/.rvm/rubies/ruby-2.4.1/lib
Repositories : accengage - https://github.com/Accengage/ios-pod-specs.git @ d460bd659b14a17647ac91f0d1883f5adf971fa6
               bitbucket-alpodspecs - git@bitbucket.org:lb-lab/alpodspecs.git @ 64255e8d818a9f2456cecba94eb8b6f00d71d9dc
               bitbucket-alpodspecs-1 - ssh://git@bitbucket.org/lb-lab/alpodspecs.git @ 64255e8d818a9f2456cecba94eb8b6f00d71d9dc
               bitbucket-lb-lab-alpodspecs - https://bitbucket.org/lb-lab/alpodspecs @ 64255e8d818a9f2456cecba94eb8b6f00d71d9dc
               bitbucket-lb-lab-aplprogresskringel - https://bitbucket.org/lb-lab/aplprogresskringel @ f1475980ce47de9f020c53906207382299cfbe46
               master - https://github.com/CocoaPods/Specs.git @ 95c1a9cfce9808cd373c99eb16479bad45ecaac2

Installation Source

Executable Path: /Users/stephanlerner/.rvm/gems/ruby-2.4.1/bin/pod

Plugins

cocoapods-deintegrate : 1.0.2
cocoapods-plugins     : 1.0.0
cocoapods-search      : 1.0.0
cocoapods-stats       : 1.0.0
cocoapods-trunk       : 1.3.0
cocoapods-try         : 1.1.0

Podfile

# Uncomment the next line to define a global platform for your project
platform :ios, '11.0'

target 'staticLibrariesTest' do
  # Comment the next line if you're not using Swift and don't want to use dynamic frameworks

  # Pods for staticLibrariesTest

  pod 'ResponseDetective'

  target 'staticLibrariesTestTests' do
    inherit! :search_paths
    # Pods for testing
  end

  target 'staticLibrariesTestUITests' do
    inherit! :search_paths
    # Pods for testing
  end

end

Project that demonstrates the issue

https://github.com/apploft/staticLibrariesTest

Hi, sorry for being late. This sounds like a bug in CocoaPods. I'm closing this for now, if you believe this should not be closed, feel free to reopen.