Questions tagged [xcode10.2]

For questions about the 10.2 version of Xcode. Use this tag in combination with the general [xcode] tag. If your question applies to Xcode more generally, use only the [xcode] tag.

151 questions
0
votes
1 answer

Why Xcode's Add Documentation not working?

Xcode-Editor-Structure-Add Documentation not working on my Mac. And I troubleshoot shortcut conflict. I tried [Key Bindings Set] changed [Structure-Add Documentation] Key or restore, didn't working. iMac (Retina 4K, 21.5-inch, 2017)macOS Mojave…
v2Next
  • 159
  • 1
  • 9
0
votes
1 answer

Camera, Microphone and Audio/Video storage permission for ios app

I want to make a video recording app, thats why i need camera, microphone and storage permission. in my info.plist, I add camera , microphone and photos permission. The problem is here, when app opens, it needs permission. It wants camera and…
uttam kumar
  • 13
  • 1
  • 6
0
votes
1 answer

Performing any operation from a background thread on UIView or a subclass is not supported and may result in unexpected and insidious behavior

I want to make a http get request. after requesting if the request can give successful response then the other functionality works fine. but if could not give a successful response, then it takes long time loading and make this issue. after…
uttam kumar
  • 13
  • 1
  • 6
0
votes
1 answer

objc[85390]: Swift class extensions and categories on Swift classes are not allowed to have +load methods

I was trying to migrate my project from swift 3 to swift 5. I (think) converted all the codes successfully and error free. However, when I try to run the project on Simulator (and device too), the app immediately crashes with the following error…
robben
  • 637
  • 1
  • 7
  • 14
0
votes
2 answers

How to load all data into picker view

How to load all data into picker view, now I can load first data only this is my data from JSON​ response **jsonResponse ==> Optional([["PlanDate": 18/01/2019, "PlanDateFullFormat": 20190118], ["PlanDateFullFormat": 20190119, "PlanDate":…
user9378998
0
votes
1 answer

Can AudioKit play a sound while microphone is analyzing frequency?

I want to make an ear training app, so I want to make a sound while the microphone analyzes the frequency. I'm at the beginning to prove the concept, so for now, I just took AudioKit's sample app MicrophoneAnalisys and added some codes to make a…
tsuyoski
  • 614
  • 5
  • 22
0
votes
2 answers

Xcode: How to duplicate a file in File Inspector?

How to duplicate a file/class inside File Inspector of Xcode? I've tried using CMD+C then CMD+V but it did not worked?
VSB
  • 9,825
  • 16
  • 72
  • 145
0
votes
1 answer

Java to swift conversion in cryptography

I have a java code, where i used cryptography( Encryption and decryption). I want to use the same process on swift code. //my java code for encryption in crypto class class Crypto { private SecretKeySpec skc; private final static…
uttam kumar
  • 13
  • 1
  • 6
0
votes
1 answer

UITextView setup in storyboard not showing at runtime

I have a UITextView inside a stackView laid out in storyboard. But the textView doesn't show up when the app is running. There nothing there but empty background. I want the user to be able to tap on the textView and enter text just as in a…
Ali
  • 1
  • 2
0
votes
1 answer

Is the "Intent is user-configurable" checkbox missing in Xcode 10.2 for iOS12.2?

I'm trying to develop a Siri Shortcut for my app that would appear in Apple's Shortcuts app. After reading this tutorial: https://developer.apple.com/documentation/sirikit/adding_user_interactivity_with_siri_shortcuts_and_the_shortcuts_app I found…
Vishal Patel
  • 464
  • 1
  • 3
  • 10
0
votes
1 answer

How can I load and app onto my device for testing

I just started building and app using Xcode and I wanted to test it on my phone but I get 2 errors on my general tab. I followed the apple tutorial on building my first app but I want to get it on my phone. I am not registered to the apple developer…
user8106670
0
votes
1 answer

iOS build issue With Xcode (10.2)

My Xcode Version is 10.2 and MacOS Version is 10.14.4. I am new to iOS. I have a project in Unity, which I export and build in Xcode. If I build my project with Xcode-9.4 it works perfectly. But When I try to build my project with XCode-10.2 it…
0
votes
1 answer

Xcode compiler error not highlighted in editor

Xcode has started displaying a compiler error as soon as I open my project (i.e. a build is not required) but it's all a bit odd. One error is shown in the build time tab but when I open the compiler message window there are three identical errors…
rustproofFish
  • 931
  • 10
  • 32
0
votes
1 answer

Terminating app due to uncaught exception 'CALayerInvalidGeometry', reason: 'CALayer position contains NaN: [nan nan]'

The problem started with the XCode 10.2.x as I guess While it was working fine with the XCode 10.1 The crash point is "pdfView.frame = self.view.frame" from below code: import UIKit import PDFKit class ViewController: UIViewController { var…
Ashvin
  • 8,227
  • 3
  • 36
  • 53
0
votes
0 answers

Can't store custom data in child NSManagedObject with Xcode 10.2.1

I updated Xcode to 10.2.1 and noticed that I can't init and store any custom properties in child NSManagedObject class (It worked in previous Xcode version). Is anybody has the same problem? I created new project. If I'll create ONE parent and ONE…
Mike H
  • 487
  • 2
  • 13