Xcode 9.2 is the release of Xcode Tool. Xcode is the complete developer toolset used to create apps for Apple TV, Apple Watch, iPad, iPhone, and Mac. The Xcode development environment bundles the Instruments analysis tool, Simulator, and the OS frameworks in the form of tvOS SDKs, watchOS SDKs, iOS SDKs, and macOS SDKs.
Questions tagged [xcode9.2]
206 questions
1
vote
0 answers
Could not build module 'Foundation', 'UIKit, 'CoreFoundation' on Xcode 9.3 and Xcode 9.4
Iam facing an issue from 4 days, but not able to resolved. The code which is working & succeeded fine in Xcode 9.2. but with same code on xcode 9.3 and xcode 9.4 facing the issues as "could not build module 'UIKit', 'Foundation' etc" as shown in…

Mallikharjun
- 31
- 4
1
vote
1 answer
UINavigationController's navigation bar overlaps with Status bar when user plays a video in webview
I'm using UINavigationController, works fine, problem occurs when I play a video inside a Webview & change device orientation, then navigation bar of controller overlaps with status bar, screenshot attached. I've seen these solutions ios 11 custom…

Zubair
- 915
- 2
- 9
- 28
1
vote
0 answers
How to keep running the same ARWorldTrackingConfiguration
I would like to create two 3D objects on the AR scene according to the value of the string provided. The default value of the string is "1" and after that, I will jump to another ViewController and change the string value to "2" and then back to the…

Hugo.W
- 11
- 3
1
vote
0 answers
Multiple Source Control Navigator Branch Shown of same project Xcode 9.2
Here in Xcode 9.2, I see inside Source Control Navigator multiple branch of same project as shown
How to remove the other which is old.

niravdesai21
- 4,818
- 3
- 22
- 33
1
vote
2 answers
How to run a macOS app as root and use system calls?
I'm trying to run the setpriority command from my macOS app (objective-c). It never works and I'm assuming it is because the app is not being run as the root user.
I'm logged in to the admin account on my computer
I've tried opening the app with…

Quack
- 25
- 1
- 6
1
vote
1 answer
Xcode 9 : Swift file is not created in custom folder structure
I’m trying to add a new Swift file in my custom defined folder structure but it adds up text file instead of swift file. I’m using Xcode 9.2 and Swift 4 language.
Where am I going wrong?

Jayprakash Dubey
- 35,723
- 18
- 170
- 177
1
vote
3 answers
Swift picker input value set to specified url
I am pretty new to working with Swift. I am making an iPhone app using Swift that has a view with a label "Choose State" and a picker view that contains all 50 states in USA.
I am trying to assign each item in the picker view to a specified url that…

Duncan
- 73
- 1
- 8
1
vote
1 answer
Copying Xcode project files does not work completely
When I copy files from one Xcode project to another, the files appear in the destination project and the second Xcode project compiles and works fine. So far everything is ok.
But some of the source files have not been moved into the various…

vrao
- 545
- 2
- 12
- 33
1
vote
0 answers
xcode 9 stuck loading on main.storyboard interface builder
My XCode loads indefinitely when I try to access Main.storyboard. I've tried all the solutions to the answers on here, but they're for XCode 8, not XCode 9. I have the latest version, XCode 9.2. Is there any way to solve this? Please help,…

Michael Hsu
- 950
- 1
- 9
- 25
1
vote
1 answer
Service extension writing to core data but nothing found in app
So I currently have an service extension setup that write data to CoreData (Or I believe it does). Given that the xcdatamodelid is shared with both targets can I not write in one and read in the other?
Here is how I create the NSPersistenContainer…

sbrioux
- 11
- 3
1
vote
0 answers
`Refactor` menu disappeared (Xcode 9.2, not _all_ projects)
I've had problems before with the Refactor… menu getting grayed out, but now it's disappeared entirely in one of my projects.
What I've tried so far:
Quit Xcode + kill DerivedData + clean build + let indexing finish.
Quit Xcode + remove…

clozach
- 5,118
- 5
- 41
- 54
1
vote
3 answers
Unable to submit app for external review even though privacy policy url available on itunes connection
I am trying to submit my app for Test Flight beta testing, while submitting is is showing error saying
"Apps that use the entitlements [com.apple.developer.in-app-payments] must have a privacy policy for [English]. If your app doesn’t use these…

Nasir
- 1,617
- 2
- 19
- 34
1
vote
1 answer
How to add photos to simulator's Camera roll in UI Tests
I have app which recognize image chosen from Camera roll (CoreML). Now I want to write some test for this to not have to click it through every time I make a change in the app. How can I put testing images into simulator's Camera roll…

Mailo Světel
- 24,002
- 5
- 30
- 40
1
vote
0 answers
In Xcode 9.2, In simulator, iPhone's screen shows just blacked out screen
I have my ViewController our right side and iPhone 7 simulator running the same program on the right hand Side bottom.
And as you can see my Storyboard has also been greyed out. Everything in the storyboard is clickable but greyed out.

Parth Rudakia
- 151
- 16
1
vote
0 answers
Autocompletion doesn't work without semicolon
First I thought Xcode is buggy so I restarted Xcode, but the problem stayed even after rebooting the mac.
I then figured out, that a semicolon after .default or the declaration of another variable fixes it.
I think Xcode thinks the assignment isn't…

Tysac
- 257
- 2
- 11