-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Labels
Description
[READ] Step 1: Are you in the right place?
- For issues or feature requests related to the code in this repository
file a Github issue.
[REQUIRED] Step 2: Describe your environment
- Xcode version: 10.3 (10G8)
- iOS SDK: 12.4
- Firebase SDK version: 6.14.0
- Firebase Component: GoogleUtilities
- Component version: latest
[REQUIRED] Step 3: Describe the problem
Steps to reproduce:
Failing to build a project that I'm updating from Fabric Answers to Google Analytics.
Added all the requested frameworks and updated the code that builds perfectly, but the linker is failing with this error:
Undefined symbols for architecture armv7:
"_UISceneWillConnectNotification", referenced from:
___47+[GULAppDelegateSwizzler proxyOriginalDelegate]_block_invoke in GoogleUtilities(GULAppDelegateSwizzler.o)
"_OBJC_CLASS_$_UIScene", referenced from:
objc-class-ref in GoogleUtilities(GULAppDelegateSwizzler.o)
"___isPlatformVersionAtLeast", referenced from:
___47+[GULAppDelegateSwizzler proxyOriginalDelegate]_block_invoke in GoogleUtilities(GULAppDelegateSwizzler.o)
+[GULAppDelegateSwizzler handleSceneWillConnectToNotification:] in GoogleUtilities(GULAppDelegateSwizzler.o)
-[GULAppDelegateSwizzler scene:openURLContexts:] in GoogleUtilities(GULAppDelegateSwizzler.o)
I've traced that this pull request introduced use of UISceneWillConnectNotification a couple of weeks ago.
Relevant Code:
[[NSNotificationCenter defaultCenter]
addObserver:self
selector:@selector(handleSceneWillConnectToNotification:)
name:UISceneWillConnectNotification
object:nil];