firebase / flutterfire

🔥 A collection of Firebase plugins for Flutter apps.
https://firebase.google.com/docs/flutter/setup
BSD 3-Clause "New" or "Revised" License
8.74k stars 3.98k forks source link

firebase_analytics: ARC Semantic Issue (Xcode) #13097

Open spn107 opened 4 months ago

spn107 commented 4 months ago

Is there an existing issue for this?

Which plugins are affected?

Analytics, App Installations

Which platforms are affected?

iOS

Description

Anyone faced this issue? I am using version -> 11.2.0

ARC Semantic Issue (Xcode): No known class method for selector 'initiateOnDeviceConversionMeasurementWithHashedEmailAddress:' /Users/noob/.pub-cache/hosted/pub.dev/firebase_analytics-11.2.0/ios/Classes/FLTFirebaseAnalyticsPlugin.m:199:18

ARC Semantic Issue (Xcode): No known class method for selector 'initiateOnDeviceConversionMeasurementWithHashedPhoneNumber:' /Users/noob/.pub-cache/hosted/pub.dev/firebase_analytics-11.2.0/ios/Classes/FLTFirebaseAnalyticsPlugin.m:203:18

Reproducing the issue

Launching lib/main.dart on iPhone 15 in debug mode... Running Xcode build... Xcode build done. 29.1s Failed to build iOS app ARC Semantic Issue (Xcode): No known class method for selector 'initiateOnDeviceConversionMeasurementWithHashedEmailAddress:' /Users/noob/.pub-cache/hosted/pub.dev/firebase_analytics-11.2.0/ios/Classes/FLTFirebaseAnalyticsPlugin.m:199:18

ARC Semantic Issue (Xcode): No known class method for selector 'initiateOnDeviceConversionMeasurementWithHashedPhoneNumber:' /Users/noob/.pub-cache/hosted/pub.dev/firebase_analytics-11.2.0/ios/Classes/FLTFirebaseAnalyticsPlugin.m:203:18

Could not build the application for the simulator. Error launching application on iPhone 15.

Firebase Core version

firebase_core: ^3.2.0

Flutter Version

3.22.2

Relevant Log Output

No response

Flutter dependencies

Expand Flutter dependencies snippet
```yaml Replace this line with the contents of your `flutter pub deps -- --style=compact`. ```

Additional context and comments

No response

Lyokone commented 4 months ago

Hello @spn107 I'm not reproducing this. Which version of XCode are you using? Have you tried to remove your Pods folder and Podfile.lock and run flutter clean?

spn107 commented 4 months ago

Hello @spn107 I'm not reproducing this. Which version of XCode are you using? Have you tried to remove your Pods folder and Podfile.lock and run flutter clean?

Hi @Lyokone I am using Xcode 15.4. Yes I tried to remove your Pods folder and Podfile.lock and run flutter clean and also deleted pub.caches.