ios12

Which version of Xcode support iOS 12.2?

南楼画角 提交于 2019-12-31 08:30:21
问题 I was running my self-developed software on my iPhone 7 which runs iOS 12.2 when an alert had popped up: This iPhone 7 (Model 1660, 1778, 1779, 1780) is running iOS 12.2 (16E5201e), which may not be supported by this version of Xcode. 回答1: You have to download "device support files for the iOS" from here, And if you need any other "device support files for the iOS" you could download from here, Thin unzip it, Then go to your application folder, Right-click on the Xcode-Beta.app and chooseShow

Unable to launch /private/var/containers/Bundle/Application/

余生长醉 提交于 2019-12-30 10:49:25
问题 I've been trying to test an app on an iOS 12 device, but every time I build it, it successfully builds on the device (my iPhone or iPad) but crashes and I receive this message: Unable to launch /private/var/containers/Bundle/Application/ (I'm using Xcode 10 beta 3 and Swift 4.2) 回答1: Check if you already trusted the author of the app in your development device: Settings -> General -> Profiles & Device Management -> Company name -> Trust the app if not done yet. I hope this helps 🙂 回答2: I

iOS v12 Https requests errors

拥有回忆 提交于 2019-12-30 04:51:05
问题 I noticed that https requests made from my Ionic Angular app on iOS v12 are failing respectively never reach my backend. I could confirm that my app is productive and the fact that this error only occurs on iOS >= v12 When I debug in Xcode 10 beta I get the following error {“headers”:{“normalizedNames”:{},“lazyUpdate”:null,“headers”:{}},“status”:0,“statusText”:“Unknown Error”,“url”:null,“ok”:false,“name”:“HttpErrorResponse”,“message”:“Http failure response for (unknown url): 0 Unknown Error”,

preferredStatusBarStyle var not working in iOS12?

时光毁灭记忆、已成空白 提交于 2019-12-28 13:51:47
问题 Adding application.statusBarStyle = .lightContent to my AppDelegate's didFinishLaunchingWithOptions method nor adding override var preferredStatusBarStyle: UIStatusBarStyle { return UIStatusBarStyle.lightContent } to the VC no longer works on iOS12/Xcode10 Any ideas? 回答1: If you choose a same status bar color for each View Controller: <key>UIViewControllerBasedStatusBarAppearance</key> <false/> Ad this to your Info.plist and set status bar color from Project -> Targets -> Status Bar Style by

preferredStatusBarStyle var not working in iOS12?

柔情痞子 提交于 2019-12-28 13:51:29
问题 Adding application.statusBarStyle = .lightContent to my AppDelegate's didFinishLaunchingWithOptions method nor adding override var preferredStatusBarStyle: UIStatusBarStyle { return UIStatusBarStyle.lightContent } to the VC no longer works on iOS12/Xcode10 Any ideas? 回答1: If you choose a same status bar color for each View Controller: <key>UIViewControllerBasedStatusBarAppearance</key> <false/> Ad this to your Info.plist and set status bar color from Project -> Targets -> Status Bar Style by

Xcode preferences -> accounts not saved

女生的网名这么多〃 提交于 2019-12-23 22:10:08
问题 Generally in Xcode we can save different apple accounts in preferences. It was working before in previously all versions. Last week I have updated Xcode and installed Xcode version 10.0 And then I have added 3-4 Apple IDs : Xcode -> Preferences -> Accounts But next day when I open Xcode , all accounts are gone. I have tried many times, but same thing happened everytime next day I found blank in Xcode -> Preferences -> Accounts Seems that Xcode 10 can't keep apple accounts saved in preferences

What is Main Thread Checker in Xcode

我是研究僧i 提交于 2019-12-20 18:06:19
问题 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. 回答1: It can be enabled/disabled in the diagnostics option of the scheme. Besides, the "Pause on issues" is a comfortable option to debug these problems. 回答2: From Apple documentation: The Main Thread Checker is a standalone tool for Swift and C languages that detects invalid usage of AppKit, UIKit, and other APIs on a background thread. Updating UI on a

How to show verification code suggestion on keyboard from Message

北战南征 提交于 2019-12-20 10:33:54
问题 I watched this video What's New in Cocoa Touch at WWDC 2018 and seen: How to show this information? 回答1: Review WWDC 2018 Session 204 - Automatic Strong Passwords and Security Code AutoFill. You will need to use a UITextField for entry and the system keyboard (no custom controls) and set the textContentType on it to .oneTimeCode (new in iOS 12). let securityCodeTextField = UITextField() securityCodeTextField.textContentType = .oneTimeCode The operating system will detect verification codes

How to fix iOS 12 Safari Cors preflight error?

六眼飞鱼酱① 提交于 2019-12-19 03:45:40
问题 I am trying to understand CORs a little better as several users of our web app are complaining since they upgraded to iOS 12 they are receiving preflight errors. The errors from the web inspector [Error] Preflight response is not successful [Error] Fetch API cannot load https://www.api.com due to access control checks. [Error] Failed to load resource: Preflight response is not successful (v4, line 0) The client app is a React app with Apollo. It calls a server over HTTPS with Apache HTTPD and

ARKit 2.0 – Scanning 3D Object and generating 3D Mesh from it

半城伤御伤魂 提交于 2019-12-18 17:36:53
问题 The iOS 12 application now allows us to create an ARReferenceObject , and using it, can reliably recognize a position and orientation of real-world object. We can also save the finished .arobject file. But: ARReferenceObject contains only the spatial features information needed for ARKit to recognize the real-world object, and is not a displayable 3D reconstruction of that object. sceneView.session.createReferenceObject(transform: simd_float4x4, center: simd_float3, extent: simd_float3) {