Comments (19)
Just ran a pod Update and now get this error:
/Users/jdambrosio/Downloads/friendlypix-master/ios/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKApplicationDelegate.m:250:42: No visible @interface for 'UIApplication' declares the selector 'openURL:options:completionHandler:'
from friendlypix.
Which vesion of sdk and device, are you trying to run it?
from friendlypix.
Latest version of Xcode and building for iPhone 6 simulator. @iulukaya
from friendlypix.
Hmm... I just grabbed the latest and I'm also getting an error, although mine is around "Module 'Fabric' not found" Looks like maybe this library doesn't get added to the Podfile?
from friendlypix.
Investigating further, it looks like many of my issues (including the fact that FUIAuth isn't recognized) stems from the fact that the project's Podfile is asking for a FirebaseUI version of '~> 0.4.0'. Removing this restriction and running pod update allows me to build successfully.
from friendlypix.
@ToddKerpelman At first I was getting the Fabric issue too, I removed it hoping it would build but that just gave me more errors. Looks like you found a fix that I can try when I get home later... Just wondering, what Xcode version are you using and what are you building it to?
from friendlypix.
What and in Which file do I need to change so that the app links to my firebase project? I couldn't find a readme that had that information...
from friendlypix.
@AvonGroveDynaMOE You basically want to follow the steps for "Add Firebase for your App" listed here. You're going to add Firebase to your console, then drag the GoogleServices plist file into your project.
That said, if this is your first time with Firebase, maybe start off with one of the Quickstart samples. Each of those is little simpler and easier to follow along with than this uber-sample.
from friendlypix.
@iulukaya Make sure you remove the FirebaseUI version number from the podfile, and that'll fix the problem I encountered.
from friendlypix.
@ToddKerpelman
Ah so its just adding the plist that's generated? The previous firebase app I worked on required a change in the actual code, but that was Swift so i assume that its different here and I don't need to worry about it?
Thanks again so much for the help!
from friendlypix.
Okay so I got it working, now Xcode throws the following error
"No visible @interface for 'UIApplication' declares the selector 'openURL:options:completionHandler:'"
It Highlights the following line:
[[UIApplication sharedApplication] openURL:url options:@{} completionHandler:handler];
from friendlypix.
@AvonGroveDynaMOE That seems to be a line from the Facebook SDK, so you might want to ping there as well, but it seems to me that it's trying to make an iOS 10 call from a device that doesn't support iOS 10 (which is odd, because the Facebook library looks like it should check for that.)
Can you confirm that your BaseSDK in your xcode project is listed as ios 10? And what version of Xcode are you running?
from friendlypix.
@ToddKerpelman Sure! It's V 2.3.1... I'm now updating to Xcode 8.2.
from friendlypix.
Okay so now here is what i'm looking at now, i updated to Xcode 8.2, I had gotten a twitter kit error but I updated the target from iOS 7 to iOS 10. Now I can build the app, but it opens to the launch screen and then throws a SIGABRT. Below is my thread error:
objc[43231]: Class PLBuildVersion is implemented in both /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/PrivateFrameworks/AssetsLibraryServices.framework/AssetsLibraryServices (0x11e3b5998) and /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/PrivateFrameworks/PhotoLibraryServices.framework/PhotoLibraryServices (0x11e134880). One of the two will be used. Which one is undefined.
2016-12-17 09:51:04.789 FriendlyPix[43231:5350159] Firebase automatic screen reporting is enabled. Call +[FIRAnalytics setScreenName:setScreenClass:] to set the screen name or override the default screen class name. To disable automatic screen reporting, set the flag FirebaseAutomaticScreenReportingEnabled to NO in the Info.plist
2016-12-17 09:51:04.854: <FIRInstanceID/WARNING> FIRInstanceID AppDelegate proxy enabled, will swizzle app delegate remote notification handlers. To disable add "FirebaseAppDelegateProxyEnabled" to your Info.plist and set it to NO
2016-12-17 09:51:04.854: <FIRInstanceID/WARNING> Failed to fetch APNS token Error Domain=com.firebase.iid Code=1001 "(null)"
2016-12-17 09:51:04.857 FriendlyPix[43231:5350159] *** Terminating app due to uncaught exception 'com.firebase.appinvite', reason: 'Firebase Invites has stopped your project due to a misconfiguration in your project that may prevent your app from behaving as expected:
Error: URL scheme needed for Google Sign-In not included in your app's Info.plist. Please refer to the Google Sign-In SDK documentation for more information.'
*** First throw call stack:
(
0 CoreFoundation 0x0000000115d8dd4b __exceptionPreprocess + 171
1 libobjc.A.dylib 0x00000001157ef21e objc_exception_throw + 48
2 CoreFoundation 0x0000000115df72b5 +[NSException raise:format:] + 197
3 FriendlyPix 0x000000010e75fda5 -[GINInvite(FIRApp) configureAppInvite:] + 1300
4 FriendlyPix 0x000000010e75f862 +[GINInvite(FIRApp) receivedReadyToConfigureNotification:] + 154
5 CoreFoundation 0x0000000115d2b5ec CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER + 12
6 CoreFoundation 0x0000000115d2b4eb _CFXRegistrationPost + 427
7 CoreFoundation 0x0000000115d2b252 ___CFXNotificationPost_block_invoke + 50
8 CoreFoundation 0x0000000115cee282 -[_CFXNotificationRegistrar find:object:observer:enumerator:] + 2018
9 CoreFoundation 0x0000000115ced31b _CFXNotificationPost + 667
10 Foundation 0x00000001117c181b -[NSNotificationCenter postNotificationName:object:userInfo:] + 66
11 FriendlyPix 0x000000010e693500 +[FIRApp sendNotificationsToSDKs:] + 296
12 FriendlyPix 0x000000010e69233e +[FIRApp configureDefaultAppWithOptions:sendingNotifications:] + 341
13 FriendlyPix 0x000000010e69203a +[FIRApp configure] + 302
14 FriendlyPix 0x000000010e607c2c -[AppDelegate application:didFinishLaunchingWithOptions:] + 236
15 UIKit 0x00000001130103c2 -[UIApplication _handleDelegateCallbacksWithOptions:isSuspended:restoreState:] + 290
16 UIKit 0x0000000113011d47 -[UIApplication _callInitializationDelegatesForMainScene:transitionContext:] + 4236
17 UIKit 0x00000001130180ed -[UIApplication _runWithMainScene:transitionContext:completion:] + 1731
18 UIKit 0x000000011301526d -[UIApplication workspaceDidEndTransaction:] + 188
19 FrontBoardServices 0x0000000117cfd6cb FBSSERIALQUEUE_IS_CALLING_OUT_TO_A_BLOCK + 24
20 FrontBoardServices 0x0000000117cfd544 -[FBSSerialQueue _performNext] + 189
21 FrontBoardServices 0x0000000117cfd8cd -[FBSSerialQueue _performNextFromRunLoopSource] + 45
22 CoreFoundation 0x0000000115d32761 CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION + 17
23 CoreFoundation 0x0000000115d1798c __CFRunLoopDoSources0 + 556
24 CoreFoundation 0x0000000115d16e76 __CFRunLoopRun + 918
25 CoreFoundation 0x0000000115d16884 CFRunLoopRunSpecific + 420
26 UIKit 0x0000000113013aea -[UIApplication _run] + 434
27 UIKit 0x0000000113019c68 UIApplicationMain + 159
28 FriendlyPix 0x000000010e60e7ef main + 111
29 libdyld.dylib 0x00000001164ec68d start + 1
)
libc++abi.dylib: terminating with uncaught exception of type NSException
(lldb)
from friendlypix.
You need to add the URL scheme like so:
You get that from your GoogleService-Info.plist
under REVERSED_CLIENT_ID
from friendlypix.
I'm getting the same error.
Error: URL scheme needed for Google Sign-In not included in your app's Info.plist. Please refer to the Google Sign-In SDK documentation for more information.'
But it's already in there.
Also I suppose to place GoogleService-Info.plist in root or under Supporting Files folder like with the Info.plist cuz I tried both?
from friendlypix.
@yofu1234 Oh I had the same issue... in your pod file, remove the version number so just "Firebase SDK" is there.. run pod update and you should be good
from friendlypix.
@yofu1234 you need to add another entry with the value from GoogleSevice-Info.plist
from friendlypix.
@yofu1234 You don't want to literally include the string REVERSED_CLIENT_ID -- that's intended to be a placeholder. Instead, you want to use the value of the reversed client id in your info.plist file. That'll be something like "com.googleusercontent.apps.4739234012-4asldqperaldqwerqsiy29384".
(The same thing will apply to the Facebook and Twitter URL schemes if you want to support sign-in from those providers)
from friendlypix.
Related Issues (20)
- Problem with getDownloadUrl()
- iOS Crash Upon Open HOT 5
- File upload consistently failing HOT 2
- IOS: App Crashes after SignIn (In Home feeds) HOT 2
- App crashes after submit button pressed. HOT 3
- Couldn't resize bitmap HOT 4
- unable to cache image HOT 5
- [iOS] Crash: Post Sign-In HOT 1
- Generating thumbnails using cloud functions HOT 3
- Getting numerous errors after deploying site HOT 11
- I'm getting a an error for the feed on Web HOT 2
- Facebook profile picture now returning 403: URL signature expired HOT 4
- update to android friendlypix
- [Android] Unable to proceed after signing-in with a valid Google account. HOT 2
- App still crashes after submit button pressed HOT 3
- Project based on friendlypix
- Issue With The User Details Activity Screen. HOT 1
- PostsFragment$4.toggleLike(PostsFragment.java:188) HOT 1
- what is profile_id in design.md? HOT 1
- Error while uploading new pic TypeError: "snapshot.metadata.downloadURLs is undefined" HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from friendlypix.