Questions tagged [xcode10]

This tag should only be used for questions specific to the usage and features of Xcode 10. Do not use this tag just because you are using Xcode to develop your app. General Xcode questions should use the non-version specific xcode tag. Use tags appropriate for the OS such as ios or macos.

976 questions
16
votes
4 answers

Module compiled with Swift 4.1.2 cannot be imported by the Swift 4.2 compiler

Short story: Xcode 10 is set to Swift 4, but it is using Swift 4.2. Long story: Our project is not ready for Swift 4.2, since our dependent frameworks are not Swift 4.2, yet. But, I would like to, at least, use Xcode 10. I have Xcode 9.4.1 and…
Heliotropix
  • 473
  • 1
  • 3
  • 8
16
votes
2 answers

Xcode 10 Lexical or preprocessor issue .h file not found

When using the new Xcode 10 build system under File -> Workspace Settings -> New Build System (Default) my app will not compile because it cannot find a .h file for an embedded .framework that I am using in my project. Once I set the build system…
HawkEye1194
  • 298
  • 1
  • 3
  • 14
15
votes
2 answers

Create NSManagedObject Subclass... make a new Error in my project

i want to add a class for my entity by Editor\Create NSManagedObject Subclass... menu . but when i added it , the project made an error , this is the message: Multiple commands produce…
mohsen
  • 4,698
  • 1
  • 33
  • 54
15
votes
4 answers

How to fix Xcode 10.0 debugger, it is not fully functioning?

After upgrading to Xcode 10.0 the debugger is failing to perform basic functions. It's possible the debugger problems are unrelated to the upgrade to 10.0 but I suspect this as the catalyst. Symptoms: Breakpoints are breaking properly The "local…
David
  • 171
  • 1
  • 5
15
votes
5 answers

Xcode 10, LLDB: Couldn't IRGen expression

Using Xcode 10, when I stop my app using a breakpoint and try to print the content of an object in the Console, I obtain: "Couldn't IRGen expression, no additional error" However, I can see the value of the object in the Variables View panel. How…
asclepix
  • 7,971
  • 3
  • 31
  • 41
15
votes
3 answers

Xcode - Hardened Runtime is not enabled

I'm trying to submit my app to Apple for notarized using Xcode 10 GM. But I'm getting this error - Hardened Runtime is not enabled. "AppBox.app" must be rebuilt with support for the Hardened Runtime. Enable the Hardened Runtime capability in the…
Vineet Choudhary
  • 7,433
  • 4
  • 45
  • 72
15
votes
4 answers

Image suggestions are not working Xcode 10

I am trying to set image to UIImageView. Its working well in older version. In Xcode 9.4.1 But in Xcode 10 When I am trying to type name of image, image suggestion is not showing. Even "Image Literal" is not working. Double clicking on above icon…
Jay Patel
  • 2,642
  • 2
  • 18
  • 40
15
votes
9 answers

Build failed with xcode 10 beta

I created a new project on Xcode beta and built it, It gives me the below build error. Encountered an error communication with IBAgent-iOS on launchscreen.storyboard. The same storyboard error that I am getting when I try to build any sample…
myCmyL
  • 435
  • 2
  • 4
  • 11
15
votes
8 answers

Xcode 10 FBSDK 'SDKLoggingBehavior

I have updated to Xcode 10 and and am unable to compile my code. I get the following error from the Facebook SDK (FacebookCore). Argument type 'SDKLoggingBehavior?' does not conform to expected type 'Sequence' On line return Set(behaviors) I…
MattBlack
  • 3,616
  • 7
  • 32
  • 58
14
votes
2 answers

Error when running Xcode simulator - '[framework] CUIThemeStore: No theme registered with id=0'

I am developing an app with a single view and some labels. The app fails at the viewdidload() func and does not proceed further. The code is listed below. override func viewDidLoad() { super.viewDidLoad() locationManager.delegate = self …
spenumatsa
  • 141
  • 1
  • 1
  • 7
14
votes
1 answer

Fat Framework Script for Xcode 10?

I used this script in the post-action of the archive in my scheme to make a FAT binary framework. One that will work on the simulator and actual device. https://gist.github.com/gauravkeshre/eabb2a13ef6d673fadec84ca60b56b05 Does anyone know how to…
Aaron Bratcher
  • 6,051
  • 2
  • 39
  • 70
14
votes
5 answers

Xcode 10 convert to Swift 4.2 fails

I am getting this error trying to migrate to Swift 4.2 using the Xcode provided conversion tool. How do I fix it? The code builds fine otherwise.
Deepak Sharma
  • 5,577
  • 7
  • 55
  • 131
14
votes
7 answers

Xcode 9 iOS Simulator becoming black screen after installing Xcode 10 beta

I know that so many people have asked this question earlier. But I think my situation is different. In my case Xcode 9.2 was already installed and I upgraded macOS from 10.13.2 to 10.13.5. Then I installed Xcode 10 beta. Now when I'm running any…
Poles
  • 3,585
  • 9
  • 43
  • 91
13
votes
2 answers

Will "Sign in With Apple" allow apps to be backward compatible with iOS 12 and lower?

Does implementing the new Sign in With Apple feature make an app incompatible with iOS 12 and below, similar to SwiftUI? Will it be possible to compile an app which has to import AuthenticationServices on something like XCode 10?
user937726
13
votes
4 answers

Xcode 10 framework dependency cycle with itself

On Xcode 10 I'm getting this build error with one of my frameworks when I do an incremental build (clean builds work): Showing All Messages :-1: Cycle inside LoggingSharedFramework; building could produce unreliable results. Cycle details: → Target…
Max
  • 21,123
  • 5
  • 49
  • 71