3

I have my own pod that i have uploaded to cocoa. I have uploaded new lined of code , i can see them in the repo , i can see them in the pod that is in the project but still they aren't executed.

Pod spec: enter image description here

pod new code lines from the podspec: enter image description here

any idea?

pod new code lines in the repo: enter image description here

ironRoei
  • 2,049
  • 24
  • 45

4 Answers4

5

For now, I am doing rm -rf Pods and then pod install.
That fixes the issue.

Iulian Onofrei
  • 9,188
  • 10
  • 67
  • 113
ironRoei
  • 2,049
  • 24
  • 45
1
  • Make sure that you have release new version of pod in Cocoapods with the updated code.
  • In your iOS Application, run the following commands to get the latest version of pod:
    pod repo update
    pod update
    
Iulian Onofrei
  • 9,188
  • 10
  • 67
  • 113
Vittal Pai
  • 3,317
  • 25
  • 36
  • The version is the same. Did : git tag 1.1.8 git push --tags and i can see that it install this version – ironRoei Nov 12 '18 at 08:16
0

Make sure that the git commit that has the change you want is tagged with the version specified in the podspec. In this case -- 1.1.8.

Paul Beusterien
  • 27,542
  • 6
  • 83
  • 139
0

Xcode 10 and the new build system has bugs when it comes to development pods. Try switching your project to using the legacy build system, this has helped me in several projects.

Gereon
  • 17,258
  • 4
  • 42
  • 73
  • Interesting, can you guide me how? – ironRoei Dec 10 '18 at 14:04
  • 1
    Simple: Go to File / Workspace Settings and change "Build System" to "Legacy Build System". You'll see a small hammer-like icon in the top status bar after that. – Gereon Dec 10 '18 at 16:00