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
firebase_analytics: No known class method for selector 'sessionIDWithCompletion:' #12694
Comments
Hi @abdessalem-aghrib, run:
Something has gone wrong with your build. |
Hi Russell,
I ran these commands multiple times. this error came after upgrading pod
(in ios) and all firebase packages to the latest version
…On Thu, 25 Apr 2024 at 12:47, Russell Wheatley ***@***.***> wrote:
Hi @abdessalem-aghrib <https://github.com/abdessalem-aghrib>, run:
flutter clean
flutter pub get
flutter run
Something has gone wrong with your build.
—
Reply to this email directly, view it on GitHub
<#12694 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AH4YGCMF3ROV72CXCZL5UP3Y7C7L3AVCNFSM6AAAAABGV5ANKGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANZWGY4DENBTG4>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Try deleting Pods & Podfile.lock. If still not working, try creating a fresh, Flutter project with those dependencies. If you can reproduce, post it here and I will take a look. |
This issue was affecting our builds.
Environment:
Temporary solution This means that we cannot implement the changes required for consent mode v2. Hoping for a fix soon. |
Hi team,
When I updated firebase_analytics to version 10.8.10, the error persisted
but changed in nature. However, it consistently relates to FLTF files. Here
are some details :
*Error : *
Launching lib/main.dart on iPhone 15 Pro Max in debug mode...
Running pod install...
Running Xcode build...
Xcode build done. 72.4s
Failed to build iOS app
ARC Semantic Issue (Xcode): No known class method for selector
'sessionIDWithCompletion:'
/Users/apple/.pub-cache/hosted/
pub.dev/firebase_analytics-10.8.10/ios/Classes/FLTFirebaseAnalyticsPlugin.m:87:16
ARC Semantic Issue (Xcode): No known class method for selector
'initiateOnDeviceConversionMeasurementWithEmailAddress:'
/Users/apple/.pub-cache/hosted/
pub.dev/firebase_analytics-10.8.10/ios/Classes/FLTFirebaseAnalyticsPlugin.m:172:18
ARC Semantic Issue (Xcode): No known class method for selector
'initiateOnDeviceConversionMeasurementWithPhoneNumber:'
/Users/apple/.pub-cache/hosted/
pub.dev/firebase_analytics-10.8.10/ios/Classes/FLTFirebaseAnalyticsPlugin.m:175:18
Could not build the application for the simulator.
Error launching application on iPhone 15 Pro Max.
[image: Screenshot 2024-04-27 at 12.37.37 AM.png]
*Tools Versions : *
[image: Screenshot 2024-04-27 at 12.38.09 AM.png]
[image: Screenshot 2024-04-27 at 12.38.42 AM.png]
[image: Screenshot 2024-04-27 at 12.40.43 AM.png]
Thanks a lot
|
Working fine when i comment firebase_analytics package:
[image: Screenshot 2024-04-27 at 1.12.55 AM.png]
…On Sat, 27 Apr 2024 at 00:41, Abdessalem Aghrib ***@***.***> wrote:
Hi team,
When I updated firebase_analytics to version 10.8.10, the error persisted
but changed in nature. However, it consistently relates to FLTF files. Here
are some details :
*Error : *
Launching lib/main.dart on iPhone 15 Pro Max in debug mode...
Running pod install...
Running Xcode build...
Xcode build done. 72.4s
Failed to build iOS app
ARC Semantic Issue (Xcode): No known class method for selector
'sessionIDWithCompletion:'
/Users/apple/.pub-cache/hosted/
pub.dev/firebase_analytics-10.8.10/ios/Classes/FLTFirebaseAnalyticsPlugin.m:87:16
ARC Semantic Issue (Xcode): No known class method for selector
'initiateOnDeviceConversionMeasurementWithEmailAddress:'
/Users/apple/.pub-cache/hosted/
pub.dev/firebase_analytics-10.8.10/ios/Classes/FLTFirebaseAnalyticsPlugin.m:172:18
ARC Semantic Issue (Xcode): No known class method for selector
'initiateOnDeviceConversionMeasurementWithPhoneNumber:'
/Users/apple/.pub-cache/hosted/
pub.dev/firebase_analytics-10.8.10/ios/Classes/FLTFirebaseAnalyticsPlugin.m:175:18
Could not build the application for the simulator.
Error launching application on iPhone 15 Pro Max.
[image: Screenshot 2024-04-27 at 12.37.37 AM.png]
*Tools Versions : *
[image: Screenshot 2024-04-27 at 12.38.09 AM.png]
[image: Screenshot 2024-04-27 at 12.38.42 AM.png]
[image: Screenshot 2024-04-27 at 12.40.43 AM.png]
Thanks a lot
|
Is there an existing issue for this?
Which plugins are affected?
Analytics
Which platforms are affected?
iOS
Description
Launching lib/main.dart on iPhone 15 Pro Max in debug mode...
Running pod install...
Running Xcode build...
Xcode build done. 67.5s
Failed to build iOS app
ARC Semantic Issue (Xcode): No known class method for selector 'sessionIDWithCompletion:'
/Users/apple/.pub-cache/hosted/pub.dev/firebase_analytics-10.10.3/ios/Classes/FLTFirebaseAnalyticsPlugin.m:90:16
Semantic Issue (Xcode): Use of undeclared identifier 'FIRConsentTypeAdPersonalization'
/Users/apple/.pub-cache/hosted/pub.dev/firebase_analytics-10.10.3/ios/Classes/FLTFirebaseAnalyticsPlugin.m:159:15
Semantic Issue (Xcode): Use of undeclared identifier 'FIRConsentTypeAdUserData'; did you mean 'FIRConsentTypeAdStorage'?
/Users/apple/.pub-cache/hosted/pub.dev/firebase_analytics-10.10.3/ios/Classes/FLTFirebaseAnalyticsPlugin.m:165:15
ARC Semantic Issue (Xcode): No known class method for selector 'initiateOnDeviceConversionMeasurementWithEmailAddress:'
/Users/apple/.pub-cache/hosted/pub.dev/firebase_analytics-10.10.3/ios/Classes/FLTFirebaseAnalyticsPlugin.m:190:18
ARC Semantic Issue (Xcode): No known class method for selector 'initiateOnDeviceConversionMeasurementWithPhoneNumber:'
/Users/apple/.pub-cache/hosted/pub.dev/firebase_analytics-10.10.3/ios/Classes/FLTFirebaseAnalyticsPlugin.m:193:18
Could not build the application for the simulator.
Error launching application on iPhone 15 Pro Max.
Reproducing the issue
Launching lib/main.dart on iPhone 15 Pro Max in debug mode...
Running pod install...
Running Xcode build...
Xcode build done. 67.5s
Failed to build iOS app
ARC Semantic Issue (Xcode): No known class method for selector 'sessionIDWithCompletion:'
/Users/apple/.pub-cache/hosted/pub.dev/firebase_analytics-10.10.3/ios/Classes/FLTFirebaseAnalyticsPlugin.m:90:16
Semantic Issue (Xcode): Use of undeclared identifier 'FIRConsentTypeAdPersonalization'
/Users/apple/.pub-cache/hosted/pub.dev/firebase_analytics-10.10.3/ios/Classes/FLTFirebaseAnalyticsPlugin.m:159:15
Semantic Issue (Xcode): Use of undeclared identifier 'FIRConsentTypeAdUserData'; did you mean 'FIRConsentTypeAdStorage'?
/Users/apple/.pub-cache/hosted/pub.dev/firebase_analytics-10.10.3/ios/Classes/FLTFirebaseAnalyticsPlugin.m:165:15
ARC Semantic Issue (Xcode): No known class method for selector 'initiateOnDeviceConversionMeasurementWithEmailAddress:'
/Users/apple/.pub-cache/hosted/pub.dev/firebase_analytics-10.10.3/ios/Classes/FLTFirebaseAnalyticsPlugin.m:190:18
ARC Semantic Issue (Xcode): No known class method for selector 'initiateOnDeviceConversionMeasurementWithPhoneNumber:'
/Users/apple/.pub-cache/hosted/pub.dev/firebase_analytics-10.10.3/ios/Classes/FLTFirebaseAnalyticsPlugin.m:193:18
Could not build the application for the simulator.
Error launching application on iPhone 15 Pro Max.
=================================
firebase_core: ^2.30.1
firebase_messaging: ^14.9.0
firebase_core_web: ^2.16.0
firebase_crashlytics: ^3.5.3
firebase_analytics: ^10.10.3
Firebase Core version
2.30.1
Flutter Version
3.19.6
Relevant Log Output
No response
Flutter dependencies
Expand
Flutter dependencies
snippetReplace this line with the contents of your `flutter pub deps -- --style=compact`.
Additional context and comments
Dart 3.3.4 • DevTools 2.31.1
The text was updated successfully, but these errors were encountered: