Fastlane gym fails after adding cocoapods dependency

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

1 answer

  • answered 2018-10-22 13:59 anha1979

    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.