I'm trying to troubleshoot what is going on with my app. The app works just fine when the user is logged in. It's able to post data to my REST API just fine. But when the app goes in to the background, the BGAppRefreshTask fires off just fine, but it's unable to post its data. There payload is super small a two keys and two short strings and thats it.
I've tried searching on kCFStreamErrorCodeKey -2103 and ErrorDomainKey 4 but not much comes up.
Here is my error with the URL string altered...
Error Domain=NSURLErrorDomain Code=-1001 "The request timed out." UserInfo={_kCFStreamErrorCodeKey=-2103, _NSURLErrorFailingURLSessionTaskErrorKey=LocalDataTask <3126EFA1-00D3-4423-A31B-D40AB900292D>.<1>, _NSURLErrorRelatedURLSessionTaskErrorKey=( "LocalDataTask <3126EFA1-00D3-4423-A31B-D40AB900292D>.<1>" ), NSLocalizedDescription=The request timed out., NSErrorFailingURLStringKey=https://my.example.com/myapi/v1/device, NSErrorFailingURLKey=https://my.example.com/myapi/v1/device, _kCFStreamErrorDomainKey=4}
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
Hello,
I'm not I00% sure how to ask this, so I apologize if I word it wrong.
This is Obj-C from an older project I have. My app has a NSTableView and each cell has a button to perform and action and shows a progress bar in each cell. The issue I'm running in to is when I scroll down while a task is running the running progress bar shows running on a different cell. So if its he 2nd from the bottom and a scroll an even number of row its equivalent is now showing the progress bar.
How do I target just that one cell; making it unique?
Topic:
UI Frameworks
SubTopic:
AppKit
I have a script that has not been updated in a while that compiles my application using xcodebuild. I'm getting this warning which leads me to believe that it's only building the first destination. But when I check the binary with lipo -archs it shows has having both; which I want.
--- xcodebuild: WARNING: Using the first of multiple matching destinations:
{ platform:macOS, arch:arm64, id:00006021-001071911ABBC01E, name:My Mac }
{ platform:macOS, arch:x86_64, id:00006021-001071911ABBC01E, name:My Mac }
First, why the warning if I'm trying to build a Universal binary, and can I turn this off. Or should I leave it?
Thanks!
Topic:
Developer Tools & Services
SubTopic:
Xcode
Hello,
I'm trying to Notarize my pkg which contains many binaries. Luckly all them seem to be suffering from the same errors. I I'm trying to fix just one so that I know all of which to fix.
The last one I'm having issues with is --
"message": "The binary is not signed with a valid Developer ID certificate.",
When I run the following, everything looks good.
codesign -dv --verbose=4
But when I run the following
codesign -vvvv -R="notarized" --check-notarization /path/to/MyBinar
I get the error
test-requirement: code failed to satisfy specified code requirement(s)
Honestly Apple has made this so confusing and complicated, I'm really losing patience.
Hello,
How can I revert back to the old NSToolbar on BigSur. The title on the left looks terrible and my buttons are no longer centered they are all aligned right. The UI seems to have no options.