Xcode 9.4 is the latest stable release of Xcode. 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.4]
109 questions
1
vote
1 answer
currentDiskUsage failed: Error Domain=NSCocoaErrorDomain Code=4097
My app is freezing and I am getting the following logs on console. I am not able to identify the issue.
currentDiskUsage failed: Error Domain=NSCocoaErrorDomain Code=4097
"connection to service named com.apple.nsurlstorage-cache"
…

Gurjinder Singh
- 9,221
- 1
- 66
- 58
1
vote
3 answers
Swift - Xcode 9.4.1 - AnyObject is not a subtype of NSArray
The below codes used to work fine two years ago.
it has "AnyObject is not a subtype of NSArray" error after Xcode update. can anyone help me fixing it?
override func viewWillAppear(_ animated: Bool) {
if let storednoteItems : AnyObject =…

Henry C
- 13
- 2
1
vote
2 answers
ViewDidLoad() method called every time in xCode 9.4 and iOS 11
Whenever we present or push from SourceViewController to DestinationViewController, ViewDidLoad() method called every time in DestinationViewController in xCode 9.4 and iOS 11 or later. And when we pop or dismiss from DestinationViewController to…

Divya Patel
- 79
- 5
1
vote
1 answer
Compare Call Trees option is disabled in instrument
I have two runs in instrument. Second run is optimized version of the first run. I want to compare them but while selecting Instrument option from menu, the Compare Call Trees.. option is disabled. How can this option be enabled?

prex
- 719
- 4
- 17
1
vote
2 answers
Xcode 9.4.1 when upload App Store Missing App Store Icon
We have a problem. We are working on a long time.
We get an error when uploading to the app store. This problem started to happen after xcode update 8.3.3 -> 9.4.1 .
The main problem, WARNING ITMS-90704: "Missing App Store Icon. iOS Apps must…

iOSDEV
- 19
- 5
1
vote
1 answer
unrecognized selector sent to instance - XCode 9.4.1, Swift 4.0
I'm working through the Stanford Swift Course iOS9 from 2016 and having trouble replicating a UIPinchGestureRecognizer, getting very confused with the Selector code syntax.
Inside Class FaceViewController in FaceViewConroller.Swift:
@IBOutlet weak…

Adam
- 23
- 2
1
vote
1 answer
macOS Copy Detection
Basically, I'm trying to detect when the user has copied something to the clipboard and perform an action. In this case, I am trying to play a sound; I have imported the sound file to Xcode. However, It crashes because of the while loop and if I…

Joe
- 25
- 6
1
vote
0 answers
Auto Suggest not working in Xcode 9.4.1
AM using Xcode 9.4.1.
The auto suggest is not working.
I ahem tried almost all possible suggestions like:
1. Cleaning the code
2. Deleting the derived data
3. Checking and unchecking the auto suggestion option in the Xcode preferences.
Please help…

Dkri
- 33
- 4
1
vote
0 answers
Where is documentation on CFBundleAlternateIcons?
I have managed to get Alternate Icons working by adding explicit Icons as individual icons (e.g. Tennis@1x.png, Tennis@2x.png, Tennis@3x.png) and adding appropriate referencing entries in Info.plist under the key CFBundleAlternateIcons.
However, for…

Mythlandia
- 576
- 1
- 5
- 15
1
vote
1 answer
Xcode 9.4.1: Undefined symbols for architecture armv7, arm64, x86_64
I created a framework using CMake and added it to the test project. Then import the header file and everything works fine. I got this error when I call the method. I don't know why this error occurs. I tried almost all possible ways, but it didn't…

YangHui
- 43
- 1
- 6
1
vote
0 answers
Got an error when removing Apple WatchKit from the project
I intend to remove Apple WatchKit from the project.
I have done the steps of removing WatchKit extension from "Target Dependencies" and "Embed App Extensions". However, I got an error when building my project:
"error: could not read data from…

Mada_DE_Siyuan
- 61
- 1
- 5
1
vote
1 answer
Xcode 9.4 The file “my_app” couldn’t be opened because you don’t have permission to view it
I'm currently working on a project using Xcode 9.4. I have to reinstall an app on an iPad air 2 because the app doesn't work anymore after the version 11.4.1 of iOS.
When I run the project on the iPad device from Xcode the build is successful but…

user9962736
- 11
- 3
1
vote
1 answer
How to set height of cell inside tableview cell when set label text multiline at run time
I have got an address from latitude and longitude using reverse Geocoding and set in a label. But the text is not getting multiline. Because cell height is not increased at runtime I used table view cell custom class and set data in table view…

Sanpreet Singh
- 91
- 2
- 10
1
vote
1 answer
"Use of unresolved identifier" error with ResearchKit code
I'm building an app using ResearchKit through the Ray Wenderlich tutorial and the following code continues to give the error message: Use of unresolved identifier 'consentSectionType' which is the current one. Since I didn't write the code, I'm not…

Aasha
- 43
- 1
- 9
0
votes
1 answer
Storyboard Assistant Editor will not automatically switch after duplicating a ViewController
I have a storyboard with 6 view controllers. I want to duplicate one of them (I essentially want to cut half the functionality out of the original VC and put that into the second VC.
In the storyboard a copy/pasted the existing VC1. In Finder, I…

James64
- 123
- 10