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

Issue - Facebook - iOS - 12.0.0 #343

Closed
antonioduran opened this issue Apr 6, 2022 · 2 comments
Closed

Issue - Facebook - iOS - 12.0.0 #343

antonioduran opened this issue Apr 6, 2022 · 2 comments

Comments

@antonioduran
Copy link

Hello..Good afternoon..

It was gotten the following issue: The Facebook Module (12.0.0) does not allow to compile in a full way the app.
Working all good with the previous version (11.0.1) Facebook Module

Specs:
facebook
Node: v14.17.0
Ti SDK: 10.1.1.GA
Simulator: iPhone 13 Pro Max
iOS Version: 15

It seems that it is something related about:

[TRACE] Undefined symbols for architecture x86_64:
[TRACE]   "__swift_FORCE_LOAD_$_swiftCompatibilityConcurrency", referenced from:
[TRACE]       __swift_FORCE_LOAD_$_swiftCompatibilityConcurrency_$_FBSDKCoreKit in FBSDKCoreKit(FBSDKTransformerGraphRequestFactory.o)
[TRACE]       __swift_FORCE_LOAD_$_swiftCompatibilityConcurrency_$_FBSDKCoreKit in FBSDKCoreKit(FBSDKAppEventsCAPIManager.o)
[TRACE]       __swift_FORCE_LOAD_$_swiftCompatibilityConcurrency_$_FBSDKCoreKit in FBSDKCoreKit(AccessToken.o)
[TRACE]       __swift_FORCE_LOAD_$_swiftCompatibilityConcurrency_$_FBSDKCoreKit in FBSDKCoreKit(FBSDKAppEventConversionsAPITransformer.o)
[TRACE]       __swift_FORCE_LOAD_$_swiftCompatibilityConcurrency_$_FBSDKCoreKit in FBSDKCoreKit(Permission.o)
[TRACE]       __swift_FORCE_LOAD_$_swiftCompatibilityConcurrency_$_FBAEMKit in FBAEMKit(AEMSettings.o)
[TRACE]       __swift_FORCE_LOAD_$_swiftCompatibilityConcurrency_$_FBAEMKit in FBAEMKit(AEMEvent.o)
[TRACE]       ...
[TRACE]      (maybe you meant: __swift_FORCE_LOAD_$_swiftCompatibilityConcurrency_$_FBSDKShareKit, __swift_FORCE_LOAD_$_swiftCompatibilityConcurrency_$_FBSDKLoginKit , __swift_FORCE_LOAD_$_swiftCompatibilityConcurrency_$_FBAEMKit , __swift_FORCE_LOAD_$_swiftCompatibilityConcurrency_$_FBSDKCoreKit )
[TRACE] ld: symbol(s) not found for architecture x86_64
[TRACE] clang: error: linker command failed with exit code 1 (use -v to see invocation)

More about the log:

[TRACE] Ld /Users/tony/com.c.clmbty/build/iphone/build/Products/Debug-iphonesimulator/My\ Cy.app/My\ Cy normal (in target 'My Cy' from project 'My Cy')
[TRACE]     cd /Users/tony/com.c.clmbty/build/iphone
[TRACE]     /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -target x86_64-apple-ios12.0-simulator -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk -L/Users/tony/com.c.clmbty/build/iphone/build/Products/Debug-iphonesimulator -L/Users/tony/com.c.clmbty/build/iphone/lib -F/Users/tony/com.c.clmbty/build/iphone/build/Products/Debug-iphonesimulator -FFrameworks -filelist /Users/tony/com.c.clmbty/build/iphone/build/Intermediates/My\ Cy.build/Debug-iphonesimulator/My\ Cy.build/Objects-normal/x86_64/My\ Cy.LinkFileList -Xlinker -rpath -Xlinker /usr/lib/swift -Xlinker -rpath -Xlinker @executable_path/Frameworks -dead_strip -Xlinker -object_path_lto -Xlinker /Users/tony/com.c.clmbty/build/iphone/build/Intermediates/My\ Cy.build/Debug-iphonesimulator/My\ Cy.build/Objects-normal/x86_64/My\ Cy_lto.o -Xlinker -export_dynamic -Xlinker -no_deduplicate -Xlinker -objc_abi_version -Xlinker 2 -stdlib\=libc++ -fobjc-link-runtime -L/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator -L/usr/lib/swift -Xlinker -add_ast_path -Xlinker /Users/tony/com.c.clmbty/build/iphone/build/Intermediates/My\ Cy.build/Debug-iphonesimulator/My\ Cy.build/Objects-normal/x86_64/My_County.swiftmodule -ObjC -weak_framework JavaScriptCore -framework QuartzCore -framework QuartzCore -weak_framework MapKit -weak_framework MapKit -framework Social -framework FBSDKCoreKit -framework FBSDKCoreKit_Basics -framework FBAEMKit -framework FBSDKLoginKit -framework FBSDKShareKit -framework Accelerate -framework Social -framework FBSDKCoreKit -framework FBSDKCoreKit_Basics -framework FBAEMKit -framework FBSDKLoginKit -framework FBSDKShareKit -framework Accelerate -framework StoreKit -framework StoreKit -framework AdSupport -framework Security -framework StoreKit -framework SystemConfiguration -framework AdSupport -framework Security -framework StoreKit -framework SystemConfiguration -weak_framework AuthenticationServices -weak_framework AuthenticationServices -lxml2 -Xlinker -sectcreate -Xlinker __TEXT -Xlinker __entitlements -Xlinker /Users/tony/com.c.clmbty/build/iphone/build/Intermediates/My\ Cy.build/Debug-iphonesimulator/My\ Cy.build/My\ Cy.app-Simulated.xcent -framework CoreServices -framework Contacts -framework ContactsUI -framework CoreMedia -weak_framework CoreMotion -weak_framework CoreText -framework EventKit -framework EventKitUI -weak_framework Security -framework Foundation -weak_framework UIKit -framework CoreGraphics -framework CFNetwork -framework CoreLocation -weak_framework MapKit -framework MessageUI -framework QuartzCore -framework SystemConfiguration -framework AudioToolbox -weak_framework MediaPlayer -framework AVFoundation -framework TitaniumKit -ltiverify -ldk.napp.drawer -lfacebook -framework FBAEMKit -framework FBSDKCoreKit -framework FBSDKCoreKit_Basics -framework FBSDKLoginKit -framework FBSDKShareKit -lfirebase.analytics -lfirebase.core -framework FirebaseAnalytics -framework FirebaseCore -framework FirebaseCoreDiagnostics -framework FirebaseInstallations -framework FirebaseInstanceID -framework GoogleAppMeasurement -framework GoogleDataTransport -framework GoogleUtilities -lhyperloop -framework nanopb -framework PromisesObjC -framework Protobuf -lti.imagefactory -lti.map -framework TiApplesignin -Xlinker -no_adhoc_codesign -Xlinker -dependency_info -Xlinker /Users/tony/com.c.clmbty/build/iphone/build/Intermediates/My\ Cy.build/Debug-iphonesimulator/My\ Cy.build/Objects-normal/x86_64/My\ Cy_dependency_info.dat -o /Users/tony/com.c.clmbty/build/iphone/build/Products/Debug-iphonesimulator/My\ Cy.app/My\ Cy
[TRACE] ld: warning: directory not found for option '-L/Users/tony/com.c.clmbty/build/iphone/lib'
[TRACE] ld: warning: object file (/Users/tony/com.c.clmbty/build/iphone/build/Products/Debug-iphonesimulator/libdk.napp.drawer.a(DkNappDrawerModule.o)) was built for newer iOS Simulator version (12.1) than being linked (12.0)
[TRACE] ld: warning: object file (/Users/tony/com.c.clmbty/build/iphone/build/Products/Debug-iphonesimulator/libdk.napp.drawer.a(DkNappDrawerDrawerProxy.o)) was built for newer iOS Simulator version (12.1) than being linked (12.0)
[TRACE] ld: warning: object file (/Users/tony/com.c.clmbty/build/iphone/build/Products/Debug-iphonesimulator/libdk.napp.drawer.a(CustomMMDrawerController.o)) was built for newer iOS Simulator version (12.1) than being linked (12.0)
[TRACE] ld: warning: object file (/Users/tony/com.c.clmbty/build/iphone/build/Products/Debug-iphonesimulator/libdk.napp.drawer.a(NappDrawerVisualState.o)) was built for newer iOS Simulator version (12.1) than being linked (12.0)
[TRACE] ld: warning: object file (/Users/tony/com.c.clmbty/build/iphone/build/Products/Debug-iphonesimulator/libdk.napp.drawer.a(MMDrawerVisualState.o)) was built for newer iOS Simulator version (12.1) than being linked (12.0)
[TRACE] ld: warning: object file (/Users/tony/com.c.clmbty/build/iphone/build/Products/Debug-iphonesimulator/libdk.napp.drawer.a(MMDrawerController.o)) was built for newer iOS Simulator version (12.1) than being linked (12.0)
[TRACE] ld: warning: object file (/Users/tony/com.c.clmbty/build/iphone/build/Products/Debug-iphonesimulator/libdk.napp.drawer.a(DkNappDrawerDrawer.o)) was built for newer iOS Simulator version (12.1) than being linked (12.0)
[TRACE] ld: warning: object file (/Users/tony/com.c.clmbty/build/iphone/build/Products/Debug-iphonesimulator/libdk.napp.drawer.a(DkNappDrawerModuleAssets.o)) was built for newer iOS Simulator version (12.1) than being linked (12.0)
[TRACE] ld: warning: object file (/Users/tony/com.c.clmbty/build/iphone/build/Products/Debug-iphonesimulator/libdk.napp.drawer.a(MMDrawerBarButtonItem.o)) was built for newer iOS Simulator version (12.1) than being linked (12.0)
[TRACE] ld: warning: object file (/Users/tony/com.c.clmbty/build/iphone/build/Products/Debug-iphonesimulator/libdk.napp.drawer.a(UIViewController+MMDrawerController.o)) was built for newer iOS Simulator version (12.1) than being linked (12.0)
[TRACE] ld: warning: Could not find or use auto-linked library 'swiftCompatibilityConcurrency'
[TRACE] Undefined symbols for architecture x86_64:
[TRACE]   "__swift_FORCE_LOAD_$_swiftCompatibilityConcurrency", referenced from:
[TRACE]       __swift_FORCE_LOAD_$_swiftCompatibilityConcurrency_$_FBSDKCoreKit in FBSDKCoreKit(FBSDKTransformerGraphRequestFactory.o)
[TRACE]       __swift_FORCE_LOAD_$_swiftCompatibilityConcurrency_$_FBSDKCoreKit in FBSDKCoreKit(FBSDKAppEventsCAPIManager.o)
[TRACE]       __swift_FORCE_LOAD_$_swiftCompatibilityConcurrency_$_FBSDKCoreKit in FBSDKCoreKit(AccessToken.o)
[TRACE]       __swift_FORCE_LOAD_$_swiftCompatibilityConcurrency_$_FBSDKCoreKit in FBSDKCoreKit(FBSDKAppEventConversionsAPITransformer.o)
[TRACE]       __swift_FORCE_LOAD_$_swiftCompatibilityConcurrency_$_FBSDKCoreKit in FBSDKCoreKit(Permission.o)
[TRACE]       __swift_FORCE_LOAD_$_swiftCompatibilityConcurrency_$_FBAEMKit in FBAEMKit(AEMSettings.o)
[TRACE]       __swift_FORCE_LOAD_$_swiftCompatibilityConcurrency_$_FBAEMKit in FBAEMKit(AEMEvent.o)
[TRACE]       ...
[TRACE]      (maybe you meant: __swift_FORCE_LOAD_$_swiftCompatibilityConcurrency_$_FBSDKShareKit, __swift_FORCE_LOAD_$_swiftCompatibilityConcurrency_$_FBSDKLoginKit , __swift_FORCE_LOAD_$_swiftCompatibilityConcurrency_$_FBAEMKit , __swift_FORCE_LOAD_$_swiftCompatibilityConcurrency_$_FBSDKCoreKit )
[TRACE] ld: symbol(s) not found for architecture x86_64
[TRACE] clang: error: linker command failed with exit code 1 (use -v to see invocation)
[ERROR] ** BUILD FAILED **
[ERROR] The following build commands failed:
[ERROR]         Ld /Users/tony/com.c.clmbty/build/iphone/build/Products/Debug-iphonesimulator/My\ Cy.app/My\ Cy normal (in target 'My Cy' from project 'My Cy')
[ERROR] (1 failure)

Thanks, and best,
Antonio Duran...

@antonioduran antonioduran changed the title Crash - Facebook - iOS - 12.0.0 Issue - Facebook - iOS - 12.0.0 Apr 6, 2022
@antonioduran
Copy link
Author

Hello...Good evening / morning...

It was found the solution. In my case I was using xcode 13.
Version 13.3 did the job.

Thanks, and best,
Antonio Duran...

@caspahouzer
Copy link
Contributor

Glad to read you solved it. Thanks for the report 👍🏻

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

2 participants