So I tried to update to scoutmap ios sdk 2.5.1 via pods and I'm getting the error:
****/Pods/ScoutMaps-iOS-SDKTools/SDKTools/Navigation/SKTNavigationManager+NavigationState.m:259:40: No visible #interface for 'SKRoutingService' declares the selector 'zoomToRouteWithInsets:'
Any idea how to fix this? Thanks
Related
I am using the following tutorial to implement Twitter log in for an iOS app: https://firebase.google.com/docs/auth/ios/twitter-login.
I follow all the steps & when I get to var provider = OAuthProvider(providerID: "twitter.com"), Xcode is not happy. I get Argument passed to call that takes no arguments.
I am importing Firebase and installing the Pods as shown.
Any idea on what could be going wrong? Thanks!
I had already face the same problem, and it was solved by updating Firebase/Auth by Pod
pod update
I'm getting this crash at a few places through my app which seems to be triggered by IQKeyboardManagerSwift. I get this error in my AppDelegate.swift file on line 10 which is just
`import IQKeyboardManagerSwift. It was all working fine before I updated to the latest version of Swift, howver all my dependencies are up to date. Including IQKeyboardManagerSwift. Has anyone seen a message like this before?
Could not find module 'IQKeyboardManagerSwift' for target
'armv7-apple-ios'; found: arm64, arm64-apple-ios
In the console I also get this message.
Terminating app due to uncaught exception
'NSInvalidUnarchiveOperationException', reason: 'Could not instantiate
class named _UITextLayoutView because no class named _UITextLayoutView
was found; the class needs to be defined in source code or linked in
from a library (ensure the class is part of the correct target)'
This is a known bug in Xcode 11.2
See:
After upgrading to Xcode 11.2 from Xcode 11.1, app crashes due to _UITextLayoutView
You can either download an older Xcode version from here: https://developer.apple.com/download/more/
or upgrade to the newly released 11.2.1 (I haven't tried that one yet)
I am using Diagnostic plugin to my IOS IONIC 2 app. i am getting an error when i do ionic build ios with production mode (--prod). Could anyone help me how to solve this issue?
Thanks in advance:)
error: no known class method for selector
'isPedometerEventTrackingAvailable'
return [CMPedometer respondsToSelector:#selector(isPedometerEventTrackingAvailable)] &&
[CMPedometer isPedometerEventTrackingAvailable];
Check github issue.
Also here.
Either update your Xcode version to 8.0 or above.
cordova.plugins.diagnostic#3.2.0 adds support for the new
UserNotifications framework added in iOS 10. To build using v3.2.0,
you will need to use XCode 8+ because there's no way to conditionally
include a framework using the tag in the plugin.xml.
Or downgrade your diagnostic plugin to 3.1
I'm developing in Xcode6 Beta 6 for iOS 8.
I am encountering an code error on an imported LastFM Cocoa Pod:
when I try to compile, but I can't seem to figure out what's causing the error. (Using all the code from the example)
I keep getting the following error in my AppDelegate.m file :
Property 'cacheDelegate' not found on object of type 'LastFm *'
I have however ensured to have the following code in my LastFm.h file :
#interface LastFm : NSObject
#property (unsafe_unretained, nonatomic) id <LastFmCache> cacheDelegate;
Any thought why it would claim I have not set the property in LastFM ? Not sure if this is an iOS 8 issue, or simply an error on my part?
Thanks for any suggestions.
I recently upgraded the RevMob SDK of my cocos2d project, using Xcode 4.5. Below is a code to show what I have done:
#import <StoreKit/StoreKit.h>
#import <RevMobAds/RevMobAds.h>
- (void) applicationDidFinishLaunching:(UIApplication*)application{
[RevMobAds startSessionWithAppID:#"my app id"];
//some code here...
}
On running the project, on device or simulator, the app crashes with this error:
+[RevMobAds startSessionWithAppID:]: unrecognized selector sent to class
However, one thing which might be useful, is that when I added the RevMob framework to my Xcode, it gave me compilation errors (using LLVM GCC 4.2) for which I followed this answer.
This method was included in version 5.0.0 (RevMob changelog), so make sure that the framework that you are using is at least 5.0.0.