'FBLPromises Framework not found
I am tryin to install Firebase using cocoapods so I may send push-notifications to user devices. However, everytime I follow the instructions step by step, I get this error that says "framework not found FBLPromises". Anyone have any ideas how to fix? Everything I have looked up online does not work.
Solution 1:[1]
The following worked for me:
What probably happened (for anyone still looking) is that after running
pod install
in your project's directory, you are still building the ".xcodeproj" file instead of running the newly created ".xcworkspace" from the pod install. Remember, after pod installing, you MUST do edits on and work with the .xcworkspace instead.
Solution 2:[2]
Solution 3:[3]
Probably late but I managed to fix it by linking FBL promises in my podfile to the rest of the project!
Solution 4:[4]
I was having the same issue, and I solved it by going to Product > Scheme > Edit Scheme... and selecting Find Implicit Dependencies. After that, the project was able to build correctly.
Solution 5:[5]
Click on the project > Targets. Select your target. Then click on Build Settings. Find "Runpath searches path" and add "$(PODS_CONFIGURATION_BUILD_DIR)/PromisesObjC". It worked for me, but it gave me another error dealing with another missing lib, so I had to do it again until all libs were found.
Solution 6:[6]
Simply setting Build Active Architecture: Debug - Yes, Release - No fixed this for me. I had it set to No, No before. I think this matches the setting in the Pods project.
Solution 7:[7]
Open Podfile by typing the command
open Podfilein the folder of the project using the terminal.Type
pod Promises
Done
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Neloy Kundu |
| Solution 2 | Rahul Panzade |
| Solution 3 | cooldude22 |
| Solution 4 | Declan Maybury |
| Solution 5 | Hocine B |
| Solution 6 | PhoneyDeveloper |
| Solution 7 | YScharf |

