Posts

Post marked as solved
15 Replies
Sorry to dig up this old thread here, but I just stumbled across the question of how best to recreate the session when the app is launched, as this is only mentioned in the documentation as an aside. "Funny" enough, the sample code to create the session in the documentation is the following: private lazy var urlSession: URLSession = { let config = URLSessionConfiguration.background(withIdentifier: "MySession") config.isDiscretionary = true config.sessionSendsLaunchEvents = true return URLSession(configuration: config, delegate: self, delegateQueue: nil) }() Do you know of any sample code, which shows a good way of handling this?
Post not yet marked as solved
4 Replies
This seems to be an issue with Xcode 12 beta 2. I opened the project in Xcode 12.5.1 and was able to use the methods in the Date Extension without any problem and compile the project. Now also in Xcode 13 beta 2 the Date Extension is found in this class and I can use the methods from it.
Post not yet marked as solved
4 Replies
If I press ⌥, "Clean Build Folder" becomes disabled. Is there still a difference in current Xcode versions? The extension is defined in its own file.
Post not yet marked as solved
4 Replies
Thank you for the quick reply. I'll file an enhancement request as suggested. :-) Dirk
Post not yet marked as solved
4 Replies
Are you talking about an iOS device? I can't find Settings -> Developer -> Network Link Conditioner -> Add a Profile on macOS. (See tags!)
Post marked as solved
1 Replies
To answer my question myself: For some reason the entry "Bundle name" (CFBundleName) was missing in my info.plist.