Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'FBSDKCoreKitImport.h' file not found #1829

Closed
5 tasks done
charlie80124 opened this issue Sep 8, 2021 · 52 comments
Closed
5 tasks done

'FBSDKCoreKitImport.h' file not found #1829

charlie80124 opened this issue Sep 8, 2021 · 52 comments

Comments

@charlie80124
Copy link

Checklist before submitting a bug report

Xcode version

12.5

Swift version

No response

Installation platform & version

1.10.1

Package

Core

Goals

Build/Run Successfully

Expected results

Build/Run Successfully

Actual results

What do you expect to happen?

Steps to reproduce

(old version is 11.0.1)
after pod update (new version is 11.2)
and file not found

p.s I have try some way to resolve like:

  1. remove pod and reinstall
  2. remove pod and pod update
  • close Xcode
  • remove DerivedData (rm -rf ~/Library/Developer/Xcode/DerivedData )
  • pod update
    still not working

Code samples & details

// INSERT YOUR CODE HERE
var example = "Example code"
@charlie80124
Copy link
Author

Version 11.0.1 works well

@jsyrtsov
Copy link

jsyrtsov commented Sep 8, 2021

Hi, I have the same problem.
Version 11.1.0 works well too.
telegram-cloud-photo-size-2-5316789008866587788-x

@jfperusse-bhvr
Copy link

I can confirm this issue is also affecting all our Unity mobile productions.

@jmeyblum
Copy link

jmeyblum commented Sep 8, 2021

This is happening on my project too since the pods was updated.

@mofish9
Copy link

mofish9 commented Sep 8, 2021

Yes. Hours time wasted and finally we updated the dependency to ~>11.1.0 to bypass it.

@kerimdeveci
Copy link

@mofish9 's solution also works on unity projects , unity ver: 2020.3.17f. thanks @mofish9

@cvcoder1
Copy link

cvcoder1 commented Sep 8, 2021

Same issue here. Spoke with several others who also are experiencing exact same issue since updating to 11.2.0.

@tuztasiahmet
Copy link

Version 11.1.0 works

@jawwad
Copy link
Contributor

jawwad commented Sep 8, 2021

Hi @charlie80124, @jsyrtsov, @jfperusse-bhvr , @jmeyblum , @mofish9, @kerimdeveci, @cvcoder1 - Sorry about the issues you are encountering. I have a few questions...

  1. Are all of you using the SDK with Unity?
  2. Can you share the relevant parts of your Podfile?

@charlie80124
Copy link
Author

abstract_target 'target' do
use_frameworks!
pod 'FBSDKCoreKit'
pod 'FBSDKLoginKit'
pod 'FBSDKShareKit'
target 'project name2' do
end
target 'project name1' do
end

@vienvu89
Copy link

vienvu89 commented Sep 9, 2021

I have same problem with version 11.2.0 too

@marf
Copy link

marf commented Sep 9, 2021

Same issue here.

@nonamelive
Copy link

Same problem here. Gotta downgrade to 11.1.0.

@cvcoder1
Copy link

cvcoder1 commented Sep 9, 2021

Installing FBAEMKit 11.1.0 (was 11.2.0)
Installing FBSDKCoreKit 11.1.0 (was 11.2.0)
Installing FBSDKCoreKit_Basics 11.1.0 (was 11.2.0)
Installing FBSDKLoginKit 11.1.0 (was 11.2.0)
Installing FBSDKShareKit 11.1.0 (was 11.2.0)

fixes the issue @jawwad

@eb0KrY4k
Copy link

Good afternoon, the same error, but how to install version 11.1.0 instead of 11.2.0?

@charlie80124
Copy link
Author

charlie80124 commented Sep 10, 2021

Good afternoon, the same error, but how to install version 11.1.0 instead of 11.2.0?

pod 'FBSDKCoreKit' ,'~>11.1.0'
pod 'FBSDKLoginKit','~>11.1.0'
pod 'FBSDKShareKit','~>11.1.0'

@eb0KrY4k
Copy link

image
I have an error

Добрый день, та же ошибка, но как установить версию 11.1.0 вместо 11.2.0?

pod 'FBSDKCoreKit' ,'~>11.1.0'
pod 'FBSDKLoginKit','~>11.1.0'
pod 'FBSDKShareKit','~>11.1.0'

@styldimitriou
Copy link

I have the same issue as well with v11.2.0 using CocoaPods 1.11.0.
@n1kStas you have some syntax issues that's why you get the error

@eb0KrY4k
Copy link

eb0KrY4k commented Sep 10, 2021

У меня та же проблема, что и с v11.2.0 с использованием кокосовых стручков 1.11.0.@n1kStas у
вас есть некоторые проблемы с синтаксисом, поэтому вы получаете сообщение об ошибке

Were you able to fix the problem?

@styldimitriou
Copy link

У меня та же проблема, что и с v11.2.0 с использованием кокосовых стручков 1.11.0.@n1kStas у
вас есть некоторые проблемы с синтаксисом, поэтому вы получаете сообщение об ошибке

Вы смогли решить проблему?

Adding this on your Podfile does the trick for now until someone fixes the issue for 11.2.0.

pod 'FBSDKCoreKit', '~> 11.1.0'
pod 'FBSDKShareKit', '~> 11.1.0'
pod 'FBSDKLoginKit', '~> 11.1.0'

@aimatme
Copy link

aimatme commented Sep 10, 2021

Same error!

@eb0KrY4k
Copy link

У меня та же проблема, что и с v11.2.0 с использованием кокосовых стручков 1.11.0.@n1kStas у вас есть некоторые проблемы с синтаксисом, поэтому вы получаете сообщение об ошибке

Вы смогли решить проблему?

Adding this on your Podfile does the trick for now until someone fixes the issue for 11.2.0.

pod 'FBSDKCoreKit', '~> 11.1.0'
pod 'FBSDKShareKit', '~> 11.1.0'
pod 'FBSDKLoginKit', '~> 11.1.0'

image
Added and installed, but now I have errors like this

@theninh
Copy link

theninh commented Sep 10, 2021

Same issue here. i use facebook-unity-sdk-11.0.0. And fixed this with downgrade to 11.1.0.

@jfperusse-bhvr
Copy link

@jawwad We are using the Unity Facebook SDK. Podfile looks like this:

source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '11.0'

target 'UnityFramework' do
  pod 'FBSDKCoreKit', '~> 11.0'
  pod 'FBSDKCoreKit_Basics', '~> 11.0'
  pod 'FBSDKGamingServicesKit', '~> 11.0'
  pod 'FBSDKLoginKit', '~> 11.0'
  pod 'FBSDKShareKit', '~> 11.0'
end
target 'Unity-iPhone' do
end
use_frameworks!
use_frameworks!

@Cova8bitdots
Copy link

I'm facing same trouble with facebook-unity-sdk-11.0.0
And pod env is like this.

$ pod env

### Stack

   CocoaPods : 1.11.0
        Ruby : ruby 2.6.3p62 (2019-04-16 revision 67580) [universal.x86_64-darwin20]
    RubyGems : 3.0.3
        Host : macOS 11.4 (20F71)
       Xcode : 12.5.1 (12E507)
         Git : git version 2.30.1 (Apple Git-130)
Ruby lib dir : /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib
Repositories : cocoapods - git - https://github.com/CocoaPods/Specs.git @ ef77cf4bb8d981191ec1363912578fd466872a6d

### Installation Source

Executable Path: /usr/local/Cellar/cocoapods/1.11.0/libexec/bin/pod

### Plugins

cocoapods-deintegrate : 1.0.5
cocoapods-plugins     : 1.0.0
cocoapods-search      : 1.0.1
cocoapods-stats       : 1.1.0
cocoapods-trunk       : 1.6.0
cocoapods-try         : 1.2.0

### Podfile

ruby
source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '13.0'

target 'UnityFramework' do
  pod 'FBSDKCoreKit', '~> 11.0'
  pod 'FBSDKCoreKit_Basics', '~> 11.0'
  pod 'FBSDKGamingServicesKit', '~> 11.0'
  pod 'FBSDKLoginKit', '~> 11.0'
  pod 'FBSDKShareKit', '~> 11.0'
  pod 'Firebase/Analytics', '8.3.0'
  pod 'Firebase/Auth', '8.3.0'
  pod 'Firebase/Core', '8.3.0'
  pod 'Firebase/Crashlytics', '8.3.0'
  pod 'Firebase/Messaging', '8.3.0'
end
target 'Unity-iPhone' do
end
use_frameworks!
use_frameworks!

Does anyone resolved this issue?
If yes, I'd like to know the detail how to fix.

@aimatme
Copy link

aimatme commented Sep 13, 2021

Does anyone resolved this issue?
If yes, I'd like to know the detail how to fix.

Just replace

  pod 'FBSDKCoreKit', '~> 11.0'
  pod 'FBSDKCoreKit_Basics', '~> 11.0'
  pod 'FBSDKGamingServicesKit', '~> 11.0'
  pod 'FBSDKLoginKit', '~> 11.0'
  pod 'FBSDKShareKit', '~> 11.0'

to

  pod 'FBSDKCoreKit', '~> 11.1.0'
  pod 'FBSDKCoreKit_Basics', '~> 11.1.0'
  pod 'FBSDKGamingServicesKit', '~> 11.1.0'
  pod 'FBSDKLoginKit', '~> 11.1.0'
  pod 'FBSDKShareKit', '~> 11.1.0'

@Cova8bitdots
Copy link

@aimatme
Thank you for replying.
I tried Xcode build with this modification.
Finally build was succeeded !! ( Thank you GOD!! )

So, all unity engineer have to modify Podfile until official SDK become updated :(
I also have to modify CI settings...

@mofish9
Copy link

mofish9 commented Sep 13, 2021

@aimatme
Thank you for replying.
I tried Xcode build with this modification.
Finally build was succeeded !! ( Thank you GOD!! )

So, all unity engineer have to modify Podfile until official SDK become updated :(
I also have to modify CI settings...

No, you could modify the Dependencies.xml file in Unity project and the generated Podfile will be updated automatically.

@Cova8bitdots
Copy link

No, you could modify the Dependencies.xml file in Unity project and the generated Podfile will be updated automatically.

@mofish9
I confirmed that it is enough to modify Dependencies.xml file in Unity project.
Finally the build was successful!
Thank you bros. :)

@jawwad
Copy link
Contributor

jawwad commented Sep 14, 2021

Is there anyone on this thread that is experiencing this issue but is not using Unity?

@noahcooper
Copy link

@jawwad I am experiencing this and not using Unity.

@jawwad
Copy link
Contributor

jawwad commented Sep 14, 2021

@jawwad I am experiencing this and not using Unity.

@noahcooper - Could you share what imports you have for Facebook in your Podfile?

@noahcooper
Copy link

@jawwad here is my full Podfile:

source 'https://cdn.cocoapods.org/'
platform :ios, '12.0'
use_frameworks!
target 'My App' do
	project 'My App.xcodeproj'
	pod 'FBSDKCoreKit', '11.2.0'
	pod 'FBSDKLoginKit', '11.2.0'
	pod 'FBSDKShareKit', '11.2.0'
end

This fails with an error in FBSDKMessengerIcon.h:

Screen Shot 2021-09-14 at 10 22 19 PM

If I downgrade the SDK back to 11.1.0, the build succeeds.

@noahcooper
Copy link

@jawwad it looks like perhaps the issue here is that FBSDKCoreKitImport.h does not exist for FBSDKShareKit? It's only in FBSDKLoginKit?

@styldimitriou
Copy link

styldimitriou commented Sep 15, 2021

I am on the same situation as @noahcooper is on a native iOS project. cc @jawwad

@jsyrtsov
Copy link

@jawwad I am experiencing this and not using Unity.

@gonghonglou
Copy link

Same issue here with version 11.2.0, downgrade to version 11.1.0 and then success.

@jawwad
Copy link
Contributor

jawwad commented Sep 15, 2021

@jawwad it looks like perhaps the issue here is that FBSDKCoreKitImport.h does not exist for FBSDKShareKit? It's only in FBSDKLoginKit?

Hmm... it is included in the actual Xcode project, not sure why the CocoaPods version isn't seeing it. I'm going to try to look into this a bit more today.

@jawwad
Copy link
Contributor

jawwad commented Sep 16, 2021

@jawwad here is my full Podfile:

source 'https://cdn.cocoapods.org/'
platform :ios, '12.0'
use_frameworks!
target 'My App' do
	project 'My App.xcodeproj'
	pod 'FBSDKCoreKit', '11.2.0'
	pod 'FBSDKLoginKit', '11.2.0'
	pod 'FBSDKShareKit', '11.2.0'
end

This fails with an error in FBSDKMessengerIcon.h:

Screen Shot 2021-09-14 at 10 22 19 PM

If I downgrade the SDK back to 11.1.0, the build succeeds.

Thanks for providing this, it was very helpful! I think I have a workaround which I'll add in the next comment.

@jawwad
Copy link
Contributor

jawwad commented Sep 16, 2021

For those that are having the issue, in FBSDKShareKit/FBSDKShareKit/Internal/FBSDKMessengerIcon.h could you try replacing the #import "FBSDKCoreKitImport.h" line with #import <FBSDKCoreKit/FBSDKCoreKit+Internal.h>?

In FBSDKShareKit/FBSDKShareKit/Internal/FBSDKMessengerIcon.h

#import "TargetConditionals.h"

#if !TARGET_OS_TV

// #import "FBSDKCoreKitImport.h" < - DELETE THIS LINE
#import <FBSDKCoreKit/FBSDKCoreKit+Internal.h> // <- ADD THIS LINE

NS_SWIFT_NAME(MessengerIcon)
@interface FBSDKMessengerIcon : FBSDKIcon
@end

#endif

Let me know if that fixes the issue.

@noahcooper
Copy link

For those that are having the issue, in FBSDKShareKit/FBSDKShareKit/Internal/FBSDKMessengerIcon.h could you try replacing the #import "FBSDKCoreKitImport.h" line with #import <FBSDKCoreKit/FBSDKCoreKit+Internal.h>?

In FBSDKShareKit/FBSDKShareKit/Internal/FBSDKMessengerIcon.h

#import "TargetConditionals.h"

#if !TARGET_OS_TV

// #import "FBSDKCoreKitImport.h" < - DELETE THIS LINE
#import <FBSDKCoreKit/FBSDKCoreKit+Internal.h> // <- ADD THIS LINE

NS_SWIFT_NAME(MessengerIcon)
@interface FBSDKMessengerIcon : FBSDKIcon
@end

#endif

Let me know if that fixes the issue.

I tested making that change locally, and my build succeeded (of course this isn't a viable option in production, as my apps are built in the cloud and I can't manually manipulate the header file).

@gonghonglou
Copy link

For those that are having the issue, in FBSDKShareKit/FBSDKShareKit/Internal/FBSDKMessengerIcon.h could you try replacing the #import "FBSDKCoreKitImport.h" line with #import <FBSDKCoreKit/FBSDKCoreKit+Internal.h>?

In FBSDKShareKit/FBSDKShareKit/Internal/FBSDKMessengerIcon.h

#import "TargetConditionals.h"

#if !TARGET_OS_TV

// #import "FBSDKCoreKitImport.h" < - DELETE THIS LINE
#import <FBSDKCoreKit/FBSDKCoreKit+Internal.h> // <- ADD THIS LINE

NS_SWIFT_NAME(MessengerIcon)
@interface FBSDKMessengerIcon : FBSDKIcon
@end

#endif

Let me know if that fixes the issue.

It works for me, build succeed

@omerfarukphlvn
Copy link

omerfarukphlvn commented Sep 16, 2021

@jawwad After this workaround, build succeed but my app crashes as soon as app starts. Here is the log:

2021-09-16 11:09:37.449780+0300 WoodBall2[10078:3189278] Error loading /var/containers/Bundle/Application/A46D60A9-5818-40FB-963C-B7972984F57C/WoodBall2.app/Frameworks/UnityFramework.framework/UnityFramework: dlopen(/var/containers/Bundle/Application/A46D60A9-5818-40FB-963C-B7972984F57C/WoodBall2.app/Frameworks/UnityFramework.framework/UnityFramework, 265): Library not loaded: @rpath/libswiftCore.dylib Referenced from: /private/var/containers/Bundle/Application/A46D60A9-5818-40FB-963C-B7972984F57C/WoodBall2.app/Frameworks/UnityFramework.framework/UnityFramework Reason: image not found

But when I exclude FB SDK, it works well!

@Rineko
Copy link

Rineko commented Sep 16, 2021

After downgrade to 11.1.0, a new error appeared:
ld: framework not found Bolts

@jawwad
Copy link
Contributor

jawwad commented Sep 16, 2021

I tested making that change locally, and my build succeeded (of course this isn't a viable option in production, as my apps are built in the cloud and I can't manually manipulate the header file).

Yeah I understand. I spent some time trying to see if the file could be modified in a post_integrate hook but I wasn't able to figure it out.

Let me think of what else we may be able to do here. Worst case we will be releasing v12 in early October which should solve the issue.

facebook-github-bot pushed a commit that referenced this issue Sep 17, 2021
Reviewed By: joesus

Differential Revision: D31005085

fbshipit-source-id: 29d7fee3b8cef0fb7ac968d5af248403a3ff17dc
@kzyx
Copy link

kzyx commented Sep 17, 2021

@noahcooper
I tried your recommendation (replacing the import statement), and it got rid of the FBSDKCoreKitImport.h error but then my next build error was the following:

Ld /Users/myusername/Library/Developer/Xcode/DerivedData/CMMTestSwift-hkooyxdopyeeqjeqskyqtqcnrsdx/Build/Products/Debug-iphonesimulator/FirebaseFacebookAuthUI/FirebaseFacebookAuthUI.framework/FirebaseFacebookAuthUI normal (in target 'FirebaseFacebookAuthUI' from project 'Pods')
cd /Users/myusername/Documents/GitHub/CarbonCodex/Pods
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -target x86_64-apple-ios12.0-simulator -dynamiclib -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk -L/Users/myusername/Library/Developer/Xcode/DerivedData/CMMTestSwift-hkooyxdopyeeqjeqskyqtqcnrsdx/Build/Products/Debug-iphonesimulator/FirebaseFacebookAuthUI -F/Users/myusername/Library/Developer/Xcode/DerivedData/CMMTestSwift-hkooyxdopyeeqjeqskyqtqcnrsdx/Build/Products/Debug-iphonesimulator/FirebaseFacebookAuthUI -F/Users/myusername/Library/Developer/Xcode/DerivedData/CMMTestSwift-hkooyxdopyeeqjeqskyqtqcnrsdx/Build/Products/Debug-iphonesimulator/FBAEMKit -F/Users/myusername/Library/Developer/Xcode/DerivedData/CMMTestSwift-hkooyxdopyeeqjeqskyqtqcnrsdx/Build/Products/Debug-iphonesimulator/FBSDKCoreKit -F/Users/myusername/Library/Developer/Xcode/DerivedData/CMMTestSwift-hkooyxdopyeeqjeqskyqtqcnrsdx/Build/Products/Debug-iphonesimulator/FBSDKCoreKit_Basics -F/Users/myusername/Library/Developer/Xcode/DerivedData/CMMTestSwift-hkooyxdopyeeqjeqskyqtqcnrsdx/Build/Products/Debug-iphonesimulator/FBSDKLoginKit -F/Users/myusername/Library/Developer/Xcode/DerivedData/CMMTestSwift-hkooyxdopyeeqjeqskyqtqcnrsdx/Build/Products/Debug-iphonesimulator/FirebaseAuth -F/Users/myusername/Library/Developer/Xcode/DerivedData/CMMTestSwift-hkooyxdopyeeqjeqskyqtqcnrsdx/Build/Products/Debug-iphonesimulator/FirebaseAuthUI -F/Users/myusername/Library/Developer/Xcode/DerivedData/CMMTestSwift-hkooyxdopyeeqjeqskyqtqcnrsdx/Build/Products/Debug-iphonesimulator/FirebaseCore -F/Users/myusername/Library/Developer/Xcode/DerivedData/CMMTestSwift-hkooyxdopyeeqjeqskyqtqcnrsdx/Build/Products/Debug-iphonesimulator/FirebaseCoreDiagnostics -F/Users/myusername/Library/Developer/Xcode/DerivedData/CMMTestSwift-hkooyxdopyeeqjeqskyqtqcnrsdx/Build/Products/Debug-iphonesimulator/GTMSessionFetcher -F/Users/myusername/Library/Developer/Xcode/DerivedData/CMMTestSwift-hkooyxdopyeeqjeqskyqtqcnrsdx/Build/Products/Debug-iphonesimulator/GoogleDataTransport -F/Users/myusername/Library/Developer/Xcode/DerivedData/CMMTestSwift-hkooyxdopyeeqjeqskyqtqcnrsdx/Build/Products/Debug-iphonesimulator/GoogleUtilities -F/Users/myusername/Library/Developer/Xcode/DerivedData/CMMTestSwift-hkooyxdopyeeqjeqskyqtqcnrsdx/Build/Products/Debug-iphonesimulator/PromisesObjC -F/Users/myusername/Library/Developer/Xcode/DerivedData/CMMTestSwift-hkooyxdopyeeqjeqskyqtqcnrsdx/Build/Products/Debug-iphonesimulator/nanopb -filelist /Users/myusername/Library/Developer/Xcode/DerivedData/CMMTestSwift-hkooyxdopyeeqjeqskyqtqcnrsdx/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/FirebaseFacebookAuthUI.build/Objects-normal/x86_64/FirebaseFacebookAuthUI.LinkFileList -install_name @rpath/FirebaseFacebookAuthUI.framework/FirebaseFacebookAuthUI -Xlinker -rpath -Xlinker @executable_path/Frameworks -Xlinker -rpath -Xlinker @loader_path/Frameworks -dead_strip -Xlinker -object_path_lto -Xlinker /Users/myusername/Library/Developer/Xcode/DerivedData/CMMTestSwift-hkooyxdopyeeqjeqskyqtqcnrsdx/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/FirebaseFacebookAuthUI.build/Objects-normal/x86_64/FirebaseFacebookAuthUI_lto.o -Xlinker -export_dynamic -Xlinker -no_deduplicate -Xlinker -objc_abi_version -Xlinker 2 -fobjc-arc -fobjc-link-runtime -framework FBSDKCoreKit_Basics -framework FBSDKLoginKit -framework FirebaseAuth -framework FirebaseAuthUI -framework FirebaseCore -framework Foundation -framework SafariServices -framework Security -framework UIKit -weak_framework Accelerate -weak_framework Accounts -weak_framework AdSupport -weak_framework AudioToolbox -weak_framework CoreGraphics -weak_framework Foundation -weak_framework QuartzCore -weak_framework Security -weak_framework Social -weak_framework StoreKit -weak_framework UIKit -framework Foundation -framework UIKit -Xlinker -no_adhoc_codesign -compatibility_version 1 -current_version 1 -Xlinker -dependency_info -Xlinker /Users/myusername/Library/Developer/Xcode/DerivedData/CMMTestSwift-hkooyxdopyeeqjeqskyqtqcnrsdx/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/FirebaseFacebookAuthUI.build/Objects-normal/x86_64/FirebaseFacebookAuthUI_dependency_info.dat -o /Users/myusername/Library/Developer/Xcode/DerivedData/CMMTestSwift-hkooyxdopyeeqjeqskyqtqcnrsdx/Build/Products/Debug-iphonesimulator/FirebaseFacebookAuthUI/FirebaseFacebookAuthUI.framework/FirebaseFacebookAuthUI

And then the main bit below was:

Undefined symbols for architecture x86_64:
  "_OBJC_CLASS_$_FBSDKApplicationDelegate", referenced from:
      objc-class-ref in FUIFacebookAuth.o
  "_OBJC_CLASS_$_FBSDKGraphRequest", referenced from:
      objc-class-ref in FUIFacebookAuth.o
  "_OBJC_CLASS_$_FBSDKAccessToken", referenced from:
      objc-class-ref in FUIFacebookAuth.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

I have googled a few solutions for this but nothing has worked. Do you have any suggestions? Can I provide any more useful information?
Here's my podfile:

platform :ios, '13.0'

project 'CMMTestSwift.xcodeproj'

target 'CMMTestSwift' do
  use_frameworks!

  # Pods for CMMTestSwift
  pod 'Charts'
  pod 'Firebase', '>= 2.5.1'
  pod 'Firebase/Core'
  pod 'Firebase/Database'
  pod 'Firebase/Auth'
  pod 'Firebase/Firestore'
  pod 'Firebase/Analytics'
  pod 'Firebase/Functions'
  pod 'FirebaseUI'
  pod 'FirebaseUI/Auth'
  pod 'FirebaseUI/OAuth'
  pod 'FirebaseUI/Google'
  pod 'FirebaseUI/Facebook'
  pod 'GoogleSignIn'
  pod 'FBSDKCoreKit', '~> 11.0'
  pod 'FBSDKLoginKit', '~> 11.0'
  pod 'FBSDKShareKit', '~> 11.0'
  pod 'Fabric', '~> 1.10.2'
  pod 'Crashlytics', '~> 3.14.0'
  pod 'MonthYearPicker'
  pod 'Stripe'
  
  target 'CMMTestSwiftTests' do
    inherit! :search_paths
    # Pods for testing
  end

  target 'CMMTestSwiftUITests' do
    inherit! :search_paths
    # Pods for testing
  end

end

@moritz-wundke
Copy link

moritz-wundke commented Sep 21, 2021

Just to get a rough estimate, when will the fix be pushed to cocoapods? Just saw the 11.2.1 has its tag but it's not yet pushed to the registry I guess.

@jawwad
Copy link
Contributor

jawwad commented Sep 21, 2021

@moritz-wundke - I'm pushing the CocoaPods now but it takes a while due to the dependencies and caching so it might be an hour or two before all of the CocoaPods are pushed.

@jawwad
Copy link
Contributor

jawwad commented Sep 22, 2021

Hi everyone - v11.2.1 was released yesterday with a potential fix for this. Can you update and see if it fixes the issue for you?

@moritz-wundke
Copy link

The build error is gone.

@jawwad
Copy link
Contributor

jawwad commented Sep 23, 2021

@moritz-wundke - Thanks for verifying that the issue is resolved with v11.2.1!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests