Build error on xcode, Framework not found FBLPromises, (using firebase notification)

Hello everyone

From the topic above, I have trouble building my apps on xcode. I keep on getting Framework not found FBLPromises error. How do I fix this error, tried to googling on solution but found nothing.

so anyone have any solution to fix this error.

Thank you.

Thank you everyone, I manage to resolve the Issues, I have to force update my cocoapods directly into my xcode project. Now I dont have the framework error anymore.

Could you please help me explaining how did you force update the cocoapods into the xcode?

thank you

1 Like

Sorry for the late reply, I can give a link that help me fix the Framework Not Found issues.
https://www.youtube.com/watch?v=zdv9qE4j-VU&list=WL&index=6

Hope this will help you sort your cocoapods.

Thank you so much, Iā€™ll update if this works for future referenceā€™s.

Hello, did you manage to sort out your issues?

Yes, thank you so much!

Iā€™ve already installed .workplace file and I also tried it manually. But Iā€™m continuing to see those errors:

Undefined symbol: OBJC_CLASS_FIRDatabase Undefined symbol: _OBJC_CLASS__FIRDatabaseReference
Undefined symbol: OBJC_CLASS$_FIRTransactionResult

Do you have any other solution because Iā€™m getting crazy

delete share class

1 Like

Can you tell me how to do it? Iā€™m new on xcode

The problem was solved in about a week.
Summary: the problem is in cocoa pods.
For the solution, various combinations of project settings were sorted out. Weā€™re going to a unity cloud build, so we couldnā€™t manipulate the projectā€™s xcode directly.
Added post-processing:

[PostProcessBuild(45)] //must be between 40 and 50 to ensure that it's not overriden by Podfile generation (40) and that it's added before "pod install" (50)
private static void PostProcessBuild_iOS(BuildTarget target, string buildPath)
{
if (target != BuildTarget.iOS)
return;

Debug.Log(
$"{nameof(PodFilePostProcess)} Start Post Process Build");

var content = "\n\npost_install do |installer|\n" +
             "installer.pods_project.targets.each do |target|\n" +
             "  target.build_configurations.each do |config|\n" +
             $"    config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '{PlayerSettings.iOS.targetOSVersionString}'\n" +
             "     config.build_settings['ENABLE_BITCODE'] = 'NO'\n" +
             "  end\n" +
             " end\n" +
             "end\n";

using var streamWriter = File.AppendText(Path.Combine(buildPath, "Podfile"));
streamWriter.WriteLine(content);

Debug.Log(
$"{nameof(PodFilePostProcess)} End success Post Process Build");
}


And set in the ios resolver settings:
use_framevorks! :linkage => :static

Where you able to find solution because Iā€™m too stuck with same error message

Did you find the solution ??

  1. Make sure you have cocoapods installed.
  2. EDM4U may gave failed installing cocoapods and further failed to install the pods
  3. If your project or plugin uses pods, open .xcworkspace project but not .xcodeproject
  4. If pod file exists but no .xcworkspace file, run ā€œpod installā€ command in root of the exported xcode project.