Search results for

ASWebAuthenticationSession cookie

1,295 results found

Post

Replies

Boosts

Views

Activity

Xcode 7.3 localization import crash
I'm having issues with Xcode crashing on importing localization files.- I've tried importing them within Xcode, but either every other one causes a crash, or they all start crashing. Rebooting, using a different machine, all cause the same crashes.- I've run plutil -lint on all existing strings files in my project and confirmed they were okay.- I've run command-line imports such as: xcodebuild -importLocalizations -project ~/MyProject.xcodeproj -localizationPath ar.xliff 2> ar-errors.txtHere is the crash message when xcodebuild crashes:--- xcodebuild2016-04-13 11:56:20.933 xcodebuild[3927:40233] [MT] DVTAssertions: ASSERTION FAILURE in /Library/Caches/com.apple.xbs/Sources/IDEFrameworks/IDEFrameworks-10183.3/IDEFoundation/Localization/IDELocalizationWork.m:177 Details: (group) should not be nil. Object: <IDELocalizationWork> Method: +groupStreamFromFileReference:language: Thread: <NSThread: 0x7f87d8415430>{number = 1, name = main} Hints: None Backtrace: 0 -[DVTAssertionHandler handleFailureInMe
9
0
3.3k
Apr ’16
Reply to Xcode 7.3 crash at breakpoint
I've got this issue as well however disabling clang module debugging did not do the trick. Unfortunately, I need Xcode 7.3 due to its iOS 9.3 support because my test devices are all updated. Does anyone have any suggestions?Crashed Thread: 18 <DBGLLDBSessionThread (pid=6660)> Dispatch queue: DVTInvalidationPreventionQueue Exception Type: EXC_BAD_ACCESS (SIGSEGV) Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000410 Exception Note: EXC_CORPSE_NOTIFY VM Regions Near 0x410: --> __TEXT 00000001058e4000-00000001058e8000 [ 16K] r-x/rwx SM=COW /Applications/Xcode.app/Contents/MacOS/Xcode Application Specific Information: ProductBuildVersion: 7D175 Global Trace Buffer (reverse chronological seconds): 270.414157 CFNetwork 0x00007fff9d1cf510 NSURLConnection finished with error - code -1100 270.604172 CFNetwork 0x00007fff9d110447 TCP Conn 0x7fb6741b6230 SSL Handshake DONE 270.683352 CFNetwork 0x00007fff9d110447 TCP Conn 0x7fb6743654d0 SSL Handshake DONE 270.937387 CFNetwork 0x00007fff9d110323 TCP Conn 0x7
Apr ’16
Xcode Signing Crash
We're stumped as to why Xcode consistently crashes right as it is signing the app after it compiles. Additional information:- Xcode 7.3 (7D175) - The crash happens with all Xcode 7 versions so far- El Capitan 10.11.3- Xcode project is being generated by Unity 5.3.4p1 (crash occurs with Unity 5.2+ generated projects too)- This is an iOS iPhone/iPad universal project (Mono & IL2CPP)- Same code and data does compile correctly for tvOSWe've been digging for days stripping everything extra out, but haven't solved the issue. Any pointers would be helpful.Xcode Crash Log:Process: Xcode [64836]Path: /Applications/Xcode.app/Contents/MacOS/XcodeIdentifier: com.apple.dt.XcodeVersion: 7.3 (10183.3)Build Info: IDEFrameworks-10183003000000000~2App Item ID: 497799835App External ID: 816750016Code Type: X86-64 (Native)Parent Process: ??? [1]Responsible: Xcode [64836]User ID: 502Date/Time: 2016-04-15 13:57:40.109 -0700OS Version: Mac OS X 10.11.3 (15D21)Report Version: 11Anonymous UUID: 51CAB578-F1D5-9B8C-8260-A494B298E05
1
0
1.6k
Apr ’16
Reply to Xcode 7.3 crash at breakpoint
Same here, crashes on every breakpointProcess: Xcode [11729] Path: /Applications/Xcode.app/Contents/MacOS/Xcode Identifier: com.apple.dt.Xcode Version: 7.3 (10183.3) Build Info: IDEFrameworks-10183003000000000~2 App Item ID: 497799835 App External ID: 816750016 Code Type: X86-64 (Native) Parent Process: ??? [1] Responsible: Xcode [11729] User ID: 1560081602 Date/Time: 2016-04-19 11:11:24.901 +0300 OS Version: Mac OS X 10.11.4 (15E65) Report Version: 11 Anonymous UUID: 68D4D17A-0756-73DB-1412-54B15AF2D362 Sleep/Wake UUID: 20835623-820C-4C46-9FD2-1922CA93491D Time Awake Since Boot: 2200 seconds Time Since Wake: 740 seconds System Integrity Protection: enabled Crashed Thread: 29 <DBGLLDBSessionThread (pid=12066)> Dispatch queue: DVTInvalidationPreventionQueue Exception Type: EXC_BAD_ACCESS (SIGSEGV) Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000410 Exception Note: EXC_CORPSE_NOTIFY VM Regions Near 0x410: --> __TEXT 0000000106a06000-0000000106a0a000 [ 16K] r-x/rwx SM=COW /Applications/Xcode.app
Apr ’16
App Auth: error Attempting to load the view of a view controller while it is deallocating is not allowed and may result in undefined behavior
I'm using AppAuth pod to handle user login with Azure in my app. I followed this sample : https://github.com/openid/AppAuth-iOS/tree/master/Examples which works fine until my authentication code expires. It works ok for the 1st connection and all the time while the authenticationCode is still valid. Once it expires, I briefly see the alert to Sign in and then it disappears and I get the error :Attempting to load the view of a view controller while it is deallocating is not allowed and may result in undefined behavior. (It works fine again if I delete the app and re-install it.) I read that I should Ensure that there is a strong reference to the SFAuthenticationSession instance when the session is in progress.. And I think that's the case with the currentFlow declared in AppDelegate. (see code below) Did anyone ever faced and solved this issue ?import UIKit import AppAuth import AuthenticationServices var isLoginViewOn: Bool = false var isConnectionBtnPressed: Bool = false class ContainerController: UIViewCont
6
0
4.6k
Apr ’16
How to read cookie from safari cache?
Hi,I am developing an extension. Our goal is everytime safari is opened, the extension will try to read all the cookies. So we do NOT want to read session cookie, but the cookies in cache I googled, it seems that safari does not have an api for this, but we can make it work by the following:1. when the webpage is loaded, send document.cookie to background2. in the background, use javascript localStorage or some other database to store the cookieIs my understanding correct? After all, it is still complex to implement, it sounds like we have to develop a cookie manager and maintain it.Is there any other workaround or better way?Thank you very much
0
0
480
Apr ’16
Is a keychain password backed up by iTunes/iCloud?
I have been unable to find an explicit answer to this in the official documentation.Does the kSecAttrAccessible affect the behavior of how a keychain item of class kSecClassGenericPassword is backed up or not?Only kSecAttrAccessibleWhenPasscodeSetThisDeviceOnly explicitly states that the item is not backed up.AFAICS, the only reason why kSecAttrAccessibleWhenPasscodeSetThisDeviceOnly makes it explicit is because it's by design.Does this mean that whether a kSecClassGenericPassword is backed up or not is an implementation detail and as such subject to change?ReferencesiPhone Keychain BackupsIn iOS, an application always has access to its own keychain items and does not have access to any other application’s items. The system generates its own password for the keychain, and stores the key on the device in such a way that it is not accessible to any application. When a user backs up iPhone data, the keychain data is backed up but the secrets in the keychain remain encrypted in the backup. The keychain password i
7
0
9.2k
Apr ’16
TestFlight is not working!
Most of my 200+ testflight users said they weren't getting notified or e-mailed about my new app version. So I tell them to check spam folder etc but even the website said they weren't notified. So I did what I thought might help and boy was I wrong on this one. I deleted and re-added everyone. Or I tried. It keeps giving me a generic error when I save the list: There was a problem saving your changes. Please try again.The thing that makes this so painful is Test Flight use to be so great before Apple bought them. Now you have to wait for a stupid app review for reasons I'll never understand. Nobody ever gets notified. And now it's totally broken. This is what I really love about Google Play. They give you a URL and you just e-mail it to anyone you want. And it works. So much simplier. I don't think this will get fixed... I even tried getting tech support from Apple but the website said We can't process your request. I'm not kidding. And no it's not my cookies or whatever your thinking. It's Apple's
3
0
5.5k
May ’16
Xcode 7.3.1 GM cannot open
Process: Xcode [3097]Path: /Applications/Xcode-beta.app/Contents/MacOS/XcodeIdentifier: com.apple.dt.XcodeVersion: 7.3.1 (10188)Build Info: IDEFrameworks-10188000000000000~3Code Type: X86-64 (Native)Parent Process: ??? [1]Responsible: Xcode [3097]User ID: 501Date/Time: 2016-05-03 15:29:58.478 +0800OS Version: Mac OS X 10.11.4 (15E65)Report Version: 11Anonymous UUID: 4FCDDDB2-DC03-B4AF-BCAD-9A3B56B2F7AETime Awake Since Boot: 22000 secondsSystem Integrity Protection: enabledCrashed Thread: 0 Dispatch queue: com.apple.main-threadException Type: EXC_CRASH (SIGABRT)Exception Codes: 0x0000000000000000, 0x0000000000000000Exception Note: EXC_CORPSE_NOTIFYApplication Specific Information:ProductBuildVersion: 7D1012UNCAUGHT EXCEPTION (NSInternalInconsistencyException): Error getting value for key 'delegateClass' of extension 'Xcode.IDEPlaygroundEditor.MenuDefinition.SelectedResultDisplayMode' in plug-in 'com.apple.dt.IDELanguageSupportUI'UserInfo: {NSUnderlyingError = Error Domain=DVTPlugInErrorDomain Code=2 Loading a
0
0
994
May ’16
My app chash
i'm new in ios and swift i create my app i submit and aplle reject and the error log is bellow a can see where is my mistaki in witch line or file, but aplle said crash on start cam any one help me?Incident Identifier: AE21A3F2-8470-4138-AE52-061576AF06A5 CrashReporter Key: a9230a18e9663c8318daa4bc0a3828077f1350c7 Hardware Model: xxx Process: Pagali [23677] Path: /private/var/containers/Bundle/Application/6260B442-EEFB-40AF-8C83-0A12E02274B3/Pagali.app/Pagali Identifier: cv.isone.paga Version: 1 (1.0) Code Type: ARM-64 (Native) Parent Process: launchd [1] Date/Time: 2016-05-09 13:12:52.52 -0700 Launch Time: 2016-05-09 13:12:30.30 -0700 OS Version: iOS 9.3.1 (13E238) Report Version: 105 Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Exception Note: EXC_CORPSE_NOTIFY Triggered by Thread: 0 Filtered syslog: None found Global Trace Buffer (reverse chronological seconds): 1.460491 CFNetwork 0x00000001820a5a44 TCP Conn 0x124d5f510 SSL Handshake DONE 2.194759 CFNetwork 0x
1
0
2.7k
May ’16
WKWebView session logout issue
In my app, I want to do login using WKWebView and then all further request to server is done.I'm able to perform successful login using WKWebView. On it's success I get session information. I had implemented it previously using UIWebView and it was working properly. All my further web service call were working fine in UIWebView.Now when I implemented login with WKWebView it is successfully login but when i hit different link (URL) it gives me logout response every time and I'm trying to call service using Cookies and , it's not giving me proper response as session information are not being passed.Is there any way, I can store those session information of WKWebViewAny help will be appreciated. Please help!
2
0
3.9k
May ’16
Reply to WKWebView session logout issue
To clarify, you’re using WKWebView to do the login but you then want to make a request to a web service (using NSURLSession perhaps) using that login?If so, the reason you’re running into problems is that WKWebView does all of its networking out of process, so your NSURLSession code does not directly see the cookies that it acquired. One way to make this work is to grab the relevant cookies from the web view (via WKWebsiteDataStore) and manually apply them to your NSURLRequest. WKWebsiteDataStore lets you see and delete such cookies, but it does not let you get them. You can, however, run JavaScript within the web view (using -evaluateJavaScript:completionHandler:) to get the relevant cookie (using document.cookie) and then manually apply it to your NSURLRequest. Share and Enjoy — Quinn “The Eskimo!” Apple Developer Relations, Developer Technical Support, Core OS/Hardware let myEmail = eskimo + 1 + @apple.com
May ’16