0
[!] Failed to load 'MyFramework' podspec:
[!] Invalid MyFramework.podspec file: undefined method `scource_files=' for #<Pod::Specification name="MyFramework">
Did you mean? source_files=.

from /Users/sunil/workspace/karTesting/MyFramework/MyFramework.podspec:12
-------------------------------------------
s.source = {:path => "Users/sunil/workspace/karTesting/MyFramework"}
s.scource_files = "Users/sunil/workspace/karTesting/**/*.swift"

end

-- is it compulsory to host the framework in github cant we host locally .

Larme
  • 24,190
  • 6
  • 51
  • 81
  • `s.scource_files`, you wrote `s.scource_files` with an extra "c" (s**C**ource), not `s.source_files` that's what is saying the error because you mistyped and it doesn't recognize it. – Larme Aug 10 '18 at 08:10
  • i realised after posting it . but pod gets installed non of the swift files are copied in the project – sunil chayagol Aug 10 '18 at 11:32
  • 1
    I'd make the path relative to where is the pod spec. And are you sure about the path? What's your file hierarchy? – Larme Aug 10 '18 at 15:59
  • it solved after making the path relative. thank you – sunil chayagol Aug 13 '18 at 05:43

0 Answers0