I have tried to install the swift SDK several times as described (https://developers.facebook.com/docs/swift/getting-started) step by step but when I try to connect App Delegate I always receive the warning "Use of unresolved identifier 'SDKApplicationDelegate'...". Also any other method from the imported FacebookCore seems to be unknown.
Thanks a ton for any help
Franz
(Xcode 10.2.1, Swift 5)
Does your project build after you've imported the pod's?
Make sure you are importing the library at the top of AppDelegate with
import FacebookCore
Related
I recently upgrade Xcode to 14.X, and I'm getting the following error when building
Undefined symbol: _OBJC_CLASS_$_FlurryMessaging
Seems like Flurry package doesn't support Xcode. What should I do?
I am an engineer on Flurry's SDK team. Based on your description you are using Swift Package Manager?
Make sure you have imported Flurry analytics and messaging:
Add a import statement for messaging:
import Flurry_iOS_SDK
import Flurry_Messaging
Note Flurry Messaging is only supported on iOS and tvOS
For Cocoapods you need have the following in your Podfile:
pod 'Flurry-iOS-SDK/FlurryMessaging'
You should see the frameworks here:
Otherwise the instructions are the same as the above.
I have sample code for Flurry Messaging implementation here:
https://github.com/flurrydev/iOS-Push-notification-sample-swift
If this doesn't clear up the issue for you reach out to me at support#flurry.com
I'm trying to use AppAuth-iOS dev-logout branch and I tested on simulator 10.3.1.
When I try to run the code I get this crash:
dyld: Library not loaded:
/System/Library/Frameworks/AuthenticationServices.framework/AuthenticationServices
Reason: image not found
AuthenticationServices only appeared in iOS 12.0+, so this may be the cause of the crash.
Link to github issue: https://github.com/openid/AppAuth-iOS/issues/350
Thanks for any hint!
You can mark the AuthenticationServices.framework as Optional in the Linked Frameworks and Libraries section. This solved the problem for me.
You can add the library/framework to the Embedded libraries and frameworks section. Also have a look at OS X Framework Library not loaded: 'Image not found'
Just in case anyone is as dumb as I am:
I was running a newer version of the Xcode Beta than my device's iOS version. Updating my device fixed this is
Updated to latest xcode version and swift sdk now getting error could not build objective-c module 'csqlite' i am using Sqlite Library using CocoaPods i.e pod 'SQLite.swift'
After searching losts of material online i have found the solution fortunately not answer at stackoverflow. I just replaced three import statements from import CSQLite to "import SQLite3" resolved the problem for me.
Adding answer for helping others having same issue.
Thanks Peace
After I updated my App to Swift 4 I get this error message:
error: The following binaries use incompatible versions of Swift:
/Users/Konrad/Library/Developer/Xcode/DerivedData/ExploreYourCity-btthjezgywzvnmduiurzwgwzrven/Build/Products/Debug-iphoneos/Cosmos/Cosmos.framework/Cosmos
/Users/Konrad/Library/Developer/Xcode/DerivedData/ExploreYourCity-btthjezgywzvnmduiurzwgwzrven/Build/Products/Debug-iphonesimulator/ExploreYourCity.app/ExploreYourCity
I can not find a solution to this misstake. Whats wrong?
Library setup method: CocoaPods
Version of the library. Example: 12.0.1.
Xcode version. Example:9.0.1.
OS version. Example: iOS 11.0.
*Swift Version: Swift 4.0.
1) Select Project in Project Navigator.
2) Go to General Tab.
3) Remove everything under Embedded Binaries.
4) Remove everything under Linked Frameworks and Libraries except Pods_*.framework
5) Clean, Build and Run.
I just used Xcode 9 beta version and did not even compile my app. Now I am not able to run it in Xcode 8. The framework import is giving error. I have to give the archive. Help please. In the snapshot attached , I am importing an external framework MMCardView written in swift. Now that is throwing error in Xcode 8. What should i do?
Try cleaning the project from Product -> Clean in Xcode 8 and build again.