3

Although I installed the gem "cocoapods" and did the "pod install" command in the correct directory (platforms/ios in my case, because we are building an IONIC app), my build which is using fastlane gym fails with this message:

library not found for -lPods-Appname

this link helped me solve this

anha1979
  • 199
  • 1
  • 3
  • 15

2 Answers2

5

The problem was that in my Fastfile I had gym configured to use the project parameter. I changed this -> now I use the workspace parameter instead for gym and it works.

Just in case.

anha1979
  • 199
  • 1
  • 3
  • 15
2

Just to supplement anha1979's answer:

Not only do you have to change project to workspace, don't forget to change appname.xcodeproj to appname.xcworkspace too!

Rui Ying
  • 809
  • 8
  • 12