Questions tagged [ios]
iOS is the mobile operating system running on the Apple iPhone, iPod touch, and iPad. Use this tag [ios] for questions related to programming on the iOS platform. Use the related tags [objective-c] and [swift] for issues specific to those programming languages.
224,300
questions with no upvoted or accepted answers
45
votes
2
answers
1k
views
iOS SecTrustRef Always NULL
I'm trying to connect an iOS app to a Windows C# sever using TLS over TCP/IP.
The TLS connection is using untrusted certificates created from an untrusted CA root certificate using the makecert ...
42
votes
2
answers
2k
views
AVPlayer frame animation
I am developing an application that includes functionality to play a video with per-frame animation.
You can see an example of this functionality.
I already tried to add CAKeyFrameAnimation to a ...
40
votes
0
answers
8k
views
iOS 13 - silent push notifications are no longer reliable
iOS 13 changes:
Change 1: In iOS 13 Beta 6, a silent remote notification (AKA Background Notification) with priority 10 is no longer handled by the OS and dropped. This was documented in the past but ...
39
votes
0
answers
4k
views
secTaskDiagnoseEntitlements MISSING keychain entitlements: no stored taskRef found
In two applications which have WatchKit app extensions, I receive the following error in the device log more than ten times on startup.
secTaskDiagnoseEntitlements MISSING keychain entitlements: no ...
38
votes
1
answer
1k
views
iOS crash at CFAllocatedReferenceCountedObject
My app frequently crashes with the following information:
0 CFNetwork CFAllocatedReferenceCountedObject::_retainable_hash(void const*)
1 CoreFoundation _CFBasicHashFindBucket + 164
2 ...
38
votes
2
answers
804
views
What causes visual glitches with Xcode 9's iOS Simulator and how can I fix them?
When running applications on the simulator with Xcode 9, I regularly experience a handful of visual glitches, which include red device identifier labels and content that duplicates itself and leaves ...
38
votes
1
answer
1k
views
debugserver died with an exit status of 0x00000000
I was running an app on Xcode with the iPhone 6 stimulator using the latest iOS 10. And after some time the app crashed with the following message:
debugserver died with an exit status of 0x00000000
...
36
votes
1
answer
2k
views
How can I skip the first occurrence of a repeating UNCalendarNotificationTrigger?
Say today is a Monday and it's 1 PM. I want to schedule a weekly local notification from my iOS app starting today at 2 PM. I'd do this:
NSDateComponents *components = [[[NSDateComponents alloc]init]...
35
votes
1
answer
2k
views
GoogleAnalytics.Property 'parameters' on Entity 'GAIHit' is using nil or an insecure NSValueTransformer
After updating the GoogleAnalytics pod, my app started crashing with the following error:
CoreData: fault: One or more models in this application are using
transformable properties with transformer ...
35
votes
0
answers
3k
views
Keyboard cannot present view controllers warning
When tapping the "Passwords" button at the top of the keyboard for login/password Autofill, this warning prints to the console log:
Keyboard cannot present view controllers (attempted to present <...
35
votes
4
answers
3k
views
Luma Key (create alpha mask from image) for iOS
I'm building an app that allows people to upload an image of themselves against a white background and the app will create a silhouette of the person.
I'm having a hard time keying out the ...
33
votes
0
answers
2k
views
Event Data Collected by Firebase Analytics DebugView Is Incomplete
I'm sending events to Firebase Analytics and find out that part of the event parameters is missing in DebugView.
Below are two identical events sending to Firebase and I've checked that all the ...
32
votes
0
answers
4k
views
Add Xcode Developer Account from the Command Line
I am trying to use xcodebuild -allowProvisioningUpdates on a machine that I only have access via the command line (Azure Devops macOS Hosted Machine).
Unfortunately, according to man xcodebuild in ...
32
votes
1
answer
460
views
STGenericIntentDateRange undefined in Xcode 7 Beta
I get the following message in the console when running my app after upgrading to the latest Xcode 7 Beta:
objc[51750]: Class STGenericIntentDateRange is implemented in both /Applications/Xcode-beta....
32
votes
0
answers
684
views
Why does KIF UIView:dragFromPoint:toPoint not result in touchesEnded:withEvent being called on my view?
This question is about the iOS acceptance testing framework KIF.
I have a test step which uses the KIF extension to UIView dragFromPoint:toPoint. I have a custom view class which implements ...