No visible @interface for 'FIRInstanceID' declares the selector 'setAPNSToken:type:'

no visible @interface for declares the selector
no visible @interface for declares the selector 'alloc
no visible @interface for 'firinstanceid' declares the selector 'token

after updating Pod library getting above error in appdelegate.m

- (void)application:(UIApplication*)application didRegisterForRemoteNotificationsWithDeviceToken:(NSData*)deviceToken {

    [[FIRInstanceID instanceID] setAPNSToken:deviceToken type:FIRInstanceIDAPNSTokenTypeSandbox];
    NSString *newToken = [deviceToken description];
    newToken = [newToken stringByTrimmingCharactersInSet:[NSCharacterSet characterSetWithCharactersInString:@"<>"]];
    newToken = [newToken stringByReplacingOccurrencesOfString:@" " withString:@""];
    NSLog(@"My token is: %@", newToken);

}

It is deprecated code, you should try with the FIRMessaging

You can update your code to look like this

// With "FirebaseAppDelegateProxyEnabled": NO
- (void)application:(UIApplication *)application
didRegisterForRemoteNotificationsWithDeviceToken:(NSData *)deviceToken {
    [FIRMessaging messaging].APNSToken = deviceToken;
}

Refer here for more details.

"No visible @interface" error with method, The error is: No visible @interface for 'NSTreeNode' declares the selector 'count'. So it seems XCode is thinking it's getting a NSTreeNode but  Recommend:iphone - ARC Semantic Issue: No Visible @Interface for 'UIViewController' declares the selector 'loginResult:' have a project with ARC that uses a static library for service calls. When click login button credentials are passed to library and gets the response to the Login view Controller, this is where the problems occurs. i am not

You probably have an old version of firebase_messaging in your pubspec.yaml. Make sure you have the latest version. If this does not help, go to the ios folder (cd ios/), then run pod update, and then flutter clean. Then, run your app again.

No visible @interface |Apple Developer Forums, Setup Xcode 9.2 Mixed project of Swift 4 and Objective-C LifetimeTracker version 1.3.2 with a DEBUG configuration (I've also tried without this)  No visible @interface for FIRMessaging #51. Closed alanhoff opened this issue Oct 5, 2016 · 2 comments Closed No visible @interface for FIRMessaging #51.

Alternative solutions: Probably it is a problem with latest firebase version (v6). Change firebase version in Podfile. add below line to Podfile

pod 'Firebase/Core', '~>5.20.2'

Then run pod update

This help me fixed problem

No visible @interface for 'LifetimeConfiguration' declares the , m:17:14: error: no visible @interface for 'NSObject<FlutterPluginRegistrar>' declares the selector 'registerViewFactory:withId:  No visible interface for SDWebImageManager #225. Closed mohacs No visible @interface for 'SDWebImageManager' declares the selector 'downloadWithURL:

Could not run app on iOS: error: no visible @interface for 'NSObject , No visible @interface for 'Playlist' declares the selector 'initWithIndex:'. Hello guys​,. I'm very new to IOS development. I followed every step of  [cloud_firestore] no visible @interface for 'FIRQuery' declares the selector #1562. Open mamunur34 opened this issue Dec 5, 2019 · 15 comments Open [cloud

No visible @interface for 'Playlist' declares the selector 'initWithIndex , No visible @interface for 'DBFILESUserAuthRoutes' declares the selector '​uploadData:mode:autorename:clientModified:mute:inputData:' DBUserClient * client  No visible @interface for 'Orientation' declares the selector 'addOrientationListener:' and 'removeListeners' #15 tolgaduzenli opened this issue Aug 2, 2018 · 5 comments Comments

Solved: IOS build error: No visible @interface for 'DBFILE , Solved: I get the error message above after adding a method to upload files to DropBox (syntax identical to sample code in tutorial). Change of. No visible @interface 1210 Views 2 Replies. Latest reply on Dec 13, 2017 4:24 PM by thinkcl . Level 1 (0 points) thinkcl Dec 12, 2017 3:30 PM