Questions tagged [ios12]

The iOS12 tag should be used for questions specific to Apple's iOS 12 operating system. General iOS questions should use the iOS tag.

iOS 12 is the twelth version of Apple's iOS mobile operating system. It was announced at the company's Apple Worldwide Developers Conference (WWDC) on Sep 17, 2018. The ios12 tag should be used for questions specific to Apple's iOS 12 operating system. General iOS questions should use the ios tag.


683 questions
19
votes
5 answers

How to NSKeyedUnarchiver.unarchiveObject

I have a working code that works but deprecated: This part is fine: let archived = try? NSKeyedArchiver.archivedData(withRootObject: [defaultRecord] as NSArray, requiringSecureCoding: false) This is Deprecated: let records =…
Spring
  • 11,333
  • 29
  • 116
  • 185
19
votes
1 answer

Shader performance data maybe unavailable due to deployment target older than device

I'm getting one problem in my Xcode 10 and iOS 12. See my problem is: GPU Frame Capture Shader performance data maybe unavailable due to deployment target older than device version See my screen shot This is happen in only iOS 12. Which means... In…
Naresh
  • 16,698
  • 6
  • 112
  • 113
19
votes
1 answer

iOS app won't run on device any more under iOS 12: Unrecoverable CT signature issue

I have an app that crashes immediately when starting under iOS 12 on a device. The console shows the following error: kernel AMFI: 'AppName' does not pass CT evaluation, result: 0x80008 kernel AMFI: Unrecoverable CT signature issue, bailing…
hdort
  • 909
  • 1
  • 8
  • 18
18
votes
3 answers

Invalid Siri Support - Localized description for custom intent

I have uploaded a binary to iTunes Connect but I have receiving this email: We identified one or more issues with a recent delivery for your app, "xxx". Your delivery was successful, but you may wish to correct the following issues in your next…
Bin
  • 181
  • 1
  • 5
17
votes
6 answers

ReplayKit's RPSystemBroadcastPickerView not showing preferredExtension

I am using RPSystemBroadcastPickerView to show a picker view, from which a user can select a broadcast service to record the screen. Based on documentation, preferredExtension should allow me to set which broadcast extension should the picker…
Milan Nosáľ
  • 19,169
  • 4
  • 55
  • 90
16
votes
1 answer

Crash in UIKitCore [UIViewController viewDidMoveToWindow:shouldAppearOrDisappear:] iOS 12 only

I am getting decent number of crashes that are reported to Crashlytics. This only happens on iOS 12 and I do not know how to reproduce this. Perhaps the user is on WKWebView and trying to enter a password from the hint in 31 SafariServices …
Genki
  • 3,055
  • 2
  • 29
  • 42
16
votes
6 answers

Swift 4.2 Cannot convert value of type '(UIImagePickerController.InfoKey).Type' to expected argument type 'UIImagePickerController.InfoKey'

My below code was working just fine with swift 4 but after upgrading to swift 4.2 I am getting this error, I had wasted my 3 hours searching what's the issue but failed. Please if anyone can guide me how to fix this. func imagePickerController(_…
Muhammad Khan
  • 284
  • 1
  • 3
  • 12
16
votes
3 answers

How to terminate an app programmatically in iOS 12

I have a problem I put my iPhone 6 on iOS 12 beta 1 and that's so a method in my application to close when press on a popup button doesn't works on iOS 12 but works on iOS 11.4.1 That's the method that I…
Louis Legout
  • 211
  • 1
  • 2
  • 7
16
votes
1 answer

SystemConfiguration.CaptiveNetwork doesn't work on iOS 12

I have a function that detects the current SSID from the user. Unfortunately this doesn't work anymore with iOS 12. This means it just jumps over the if let interfaceInfo = CNCopyCurrentNetworkInfo(interface as! CFString) as NSDictionary? { part.…
Victor Lobe
  • 355
  • 3
  • 12
15
votes
2 answers

How to unarchive data with unarchivedObjectOfClass:fromData:error:?

I am using unarchiveObjectWithData to unarchive data from NSUserDefaults and it is working good, but it was deprecated in iOS 12.0. Xcode suggests to use unarchivedObjectOfClass:fromData:error:, but this method does not work. I have an array of…
Ion Batîr
  • 171
  • 1
  • 1
  • 8
15
votes
4 answers

What is Main Thread Checker in Xcode

I checked what's new in Xcode 9 documentation and I found this But i didn't understand what is that how I can use this with new Xcode 9.
Kishore Suthar
  • 2,943
  • 4
  • 26
  • 44
14
votes
2 answers

iOS 12+ Memory Leak - WKWebView and UIWebView

This is not a question, but I'm posting here in the hope that it will save someone else's sanity (I've just spent the best part of a day figuring this one out). I've identified a memory leak that has appeared from iOS 12.0+, which affects WKWebView…
CPR
  • 753
  • 8
  • 19
14
votes
1 answer

iOS 12 Lock screen controls for music app

In iOS 11 my music app would show the lock screen controls when I locked my iPhone. I was able to see the currently playing song and play/pause skip forward and backwards. However in upgrading to Xcode 10/iOS 12 I can no longer see the lock screen…
RubberDucky4444
  • 2,330
  • 5
  • 38
  • 70
13
votes
1 answer

iOS 12 wkwebview not working with redirects?

I have a basic webview that loads a website that is fronted by an nginx reverse proxy that is just forwarding it to another site. I am able to load it using safari, chrome firefox etc on the device and emulator (as well as computer), but when I try…
Mitch Davis
  • 173
  • 1
  • 1
  • 10
12
votes
2 answers

CMotionManager crash on instantiation

EDIT: This appears to be resolved on iOS 13. Leaving all the original details below. I'm getting a crash when instantiating my CMMotionManager object for Core Motion. This is on an iPhone Xs running iOS 12.0.1. I can reliably reproduce this with a…
smithco
  • 679
  • 5
  • 17
1 2
3
45 46