Posts

Post not yet marked as solved
3 Replies
3.6k Views
Hi All, we are experiencing the following network error: NSLocalizedDescription = "Connection error making token request to 'https://foobar.com': The network connection was lost.."; NSUnderlyingError = "Error Domain=NSURLErrorDomain Code=-1005 \"The network connection was lost.\" UserInfo={_kCFStreamErrorCodeKey=53, NSUnderlyingError=0x281b571b0 {Error Domain=kCFErrorDomainCFNetwork Code=-1005 \"(null)\" UserInfo={_kCFStreamErrorCodeKey=53, _kCFStreamErrorDomainKey=1}}, _NSURLErrorFailingURLSessionTaskErrorKey=LocalDataTask <48900801-EEF7-493A-AE53-48E443D03461>.<3>, _NSURLErrorRelatedURLSessionTaskErrorKey=(\n \"LocalDataTask <48900801-EEF7-493A-AE53-48E443D03461>.<3>\"\n), NSLocalizedDescription=The network connection was lost., NSErrorFailingURLStringKey=https://foobar.com, NSErrorFailingURLKey=https://foobar.com, _kCFStreamErrorDomainKey=1}"; }) I have studied a similar post What is kCFStreamErrorCodeKey=-4 (kCFStreamErrorDomainKey=4). Do the above error constants - for example _kCFStreamErrorCodeKey and _kCFStreamErrorDomainKey - add anything meaningful beyond “network connection was lost”? Moreover “network connection” refers to this url https connection specifically, or the network connection of the customer device? Thanks & Best Wishes.
Posted
by genjokoan.
Last updated
.
Post not yet marked as solved
1 Replies
1k Views
Hi All, trying to add a new account in Xcode fails with above error message in red on the “Sign in to your BitBucket Server account” dialog: "Account Validation Failed" BitBucket Server 7.6. Xcode 12.5 macOS 11.3.1 Please note the following: The Personal Access Token works as I use it to clone repositories on Terminal. Xcode accounts work otherwise as I can add a GitHub account. BitBucket Server is good as I can add an account to SourceTree, albeit using SSH rather than Https. We have checked the BitBucket Server logs and nothing shows. Console logs for process - see text attachment - com.apple.dt.BitbucketServerHostBuiltInExtension show a connection error: finished with error [-1003] Error Domain=NSURLErrorDomain Code=-1003 UserInfo={_kCFStreamErrorCodeKey=8, NSUnderlyingError=0x7fe874e223c0 {Error Domain=kCFErrorDomainCFNetwork Code=-1003 UserInfo={_kCFStreamErrorCodeKey=8, _kCFStreamErrorDomainKey=12} -1003 is an error code for CFURLConnection and CFURLProtocol which indicates: kCFURLErrorCannotFindHost. That is surprising given the host is reachable via other apps on my local machine. Any ideas? Thanks & Best Wishes com.apple.dt.BitbucketServerHostBuiltInExtension - https://developer.apple.com/forums/content/attachment/0f83e1cc-c7d3-44a5-9215-2ca0e650a04c
Posted
by genjokoan.
Last updated
.
Post not yet marked as solved
1 Replies
1.7k Views
Hi All, having extensively searched Combine articles related to dataTaskPublisher, I’m still unsure how to approach this. For example: Processing URL Session Data Task Results with Combine - https://developer.apple.com/documentation/foundation/urlsession/processing_url_session_data_task_results_with_combine. I would like to periodically call a URL, e.g. every minute. That is to refresh with the latest data. Options that spring to mind are: Use Timer.TimerPublisher - https://developer.apple.com/documentation/foundation/timer/timerpublisher to create the dataTaskPublisher every minute. Use Timer.TimerPublisher - https://developer.apple.com/documentation/foundation/timer/timerpublisher and dataTaskPublisher - https://developer.apple.com/documentation/foundation/urlsession/datataskpublisher with Publishers.CombineLatest - https://developer.apple.com/documentation/combine/publishers/combinelatest. What would be the most elegant solution that is in accordance with - and makes full use of - the Combine framework? Many thanks!
Posted
by genjokoan.
Last updated
.
Post marked as solved
4 Replies
6.9k Views
Hi All,Clause 4.7 states rules related to HTML5 games:4.7 HTML5 Games, Bots, etc.Apps may contain or run code that is not embedded in the binary (e.g. HTML5-based games, bots, etc.), as long as code distribution isn’t the main purpose of the app, the code is not offered in a store or store-like interface, and provided that the software (1) is free or purchased using in-app purchase; (2) only uses capabilities available in a standard WebKit view (e.g. it must open and run natively in Safari without modifications or additional software); your app must use WebKit and JavaScript Core to run third-party software and should not attempt to extend or expose native platform APIs to third-party software; (3) is offered by developers that have joined the Apple Developer Program and signed the Apple Developer Program License Agreement; (4) does not provide access to real money gaming, lotteries, or charitable donations; (5) adheres to the terms of these App Review Guidelines (e.g. does not include objectionable content); and (6) does not support digital commerce. Upon request, you must provide an index of software and metadata available in your app. It must include Apple DeveloperProgram Team IDs for the providers of the software along with a URL which App Review can use to confirm that the software complies with the requirements above."Does the clause also apply to source code files - e.g. JavaScript or HTML5 - included in the IPA?Thanks!
Posted
by genjokoan.
Last updated
.