Questions tagged [xcode7]

Xcode is an IDE by Apple for the development of iOS and OS X applications. Use this tag for version specific questions about Xcode 7.

is Apple's integrated development environment (IDE) for developing OS X, iOS, tvOS, and watchOS apps. Version 7 was presented at the WWDC on June 8th-12th, 2015. The new features of include an update to the programming language, making it faster than before. The latest version includes also support for .

Xcode 7 also adds support for deployment on iOS devices without an Apple Developer license.

This tag is only for IDE questions relating to Xcode version 7. Questions related to the programming languages should go to the appropriate tag, or . OS-related questions should go to and .

3952 questions
34
votes
6 answers

How to check if a framework is Bitcode supported for Xcode7

From Xcode 7 it became one of the common problem that third party frameworks should support Bitcode. We can also disable the BITCODE by setting ENABLE_BITCODE to NO in Build settings. But i do not want to turn it off, instead i want to convert all…
ipraba
  • 16,485
  • 4
  • 59
  • 58
34
votes
7 answers

When I try to run the Xcode simulator I get the error 'Stop “(null)”?'

I just updated to Xcode 7 and ran an app on a live device. Now for some reason, I get an error when I try to run an app in a simulator. Stop “(null)”? An instance of “(null)” is already running. Choose “Stop” to terminate and launch a new…
Caleb Kleveter
  • 11,170
  • 8
  • 62
  • 92
34
votes
1 answer

"Variable 'xxx' was never mutated; consider changing to 'let' constant" ERROR

I have the following problem. I use this code below and I get the issue "Variable 'characteristic' was never mutated; consider changing to 'let' constant" for var characteristic:CBCharacteristic in service.characteristics ?? [] { …
Luke Pistrol
  • 1,199
  • 3
  • 12
  • 26
33
votes
8 answers

How do I migrate from UIAlertView (deprecated in iOS8)

I currently have the following line of code in one of my apps. It is a simple UIAlertView. However, as of iOS 8, this is now deprecated: let alertView = UIAlertView(title: "Oops!", message: "This feature isn't available right now", delegate: self,…
Dom Bryan
  • 1,238
  • 2
  • 19
  • 39
32
votes
4 answers

How to tap on a specific point using Xcode UITests

I want to use Xcode UI tests with the Fastlane Snapshot to make screenshots of the Cordova app. Basically, as my entire app is just a web view, all the Xcode UI test helper methods become irrelevant, and I just want to tap on specific points, e.g.…
Dmitry Sokurenko
  • 6,042
  • 4
  • 32
  • 53
32
votes
1 answer

Exclude Files/Lines of code in Xcode 7 Code Coverage

How would you exclude a few methods, or say the AppDelegate file, from being tested during Code Coverage in Xcode 7? I am not using Gcov.
MainakChoudhury
  • 502
  • 1
  • 7
  • 23
32
votes
4 answers

Xcode Crash Organizer does Not Symbolicate .xccrashpoint Files

The new Xcode 7 "Crashes" tab in the organizer shows a handful of crashes from the AppStore for my app. According to the documentation, there should be a stack trace. However, none of the 6 crashes have symbolicated stack traces: I've tried…
Zane Claes
  • 14,732
  • 15
  • 74
  • 131
32
votes
11 answers

Facebook Login - iOS 9 - Without Safari

It worked fine to login with logInWithReadPermissions in iOS 8, but as soon after the update to iOS 9 it keeps opening Safari or a modal UIWebView. Does anyone have the same issue? FBSDKLoginManager *login = [[FBSDKLoginManager alloc] init]; [login…
user4200570
32
votes
5 answers

libsqlite3.dylib and libz.dylib missing in Xcode 7. How do I use Parse?

How do I use Parse if libz.dylib and libsqlite3.dylib are missing in Xcode 7 but the .tbd version exists. I am just trying to setup Push Notifications. How do I get this to work? Also, I think it's because of this I can't import Parse into…
Amit Kalra
  • 4,085
  • 6
  • 28
  • 44
31
votes
2 answers

What is the EmbeddedAppDeltas folder in Xcode and can I delete it safely?

On my computer there's a folder of nearly 1GB in size at the following path: /private/var/folders/ph/q7jl9fz115g104hfgpsw5k6w0000gn/C/com.apple.DeveloperTools/All/Xcode/EmbeddedAppDeltas It remains there no matter whether I delete build folders or…
CommaToast
  • 11,370
  • 7
  • 54
  • 69
31
votes
2 answers

Xcode UI Testing - Timestamped Event Matching Error

We are getting this error when recording a UI test. At this point the recorder stops recording code. What does it mean?
Jason Hocker
  • 6,879
  • 9
  • 46
  • 79
31
votes
9 answers

Xcode Couldn't Generate Swift Representation for my own framework

I have created a framework which I want to use in my OS X app. Since updating to Xcode 7 on El Capitan, when I try to command-click on the import statement, Xcode goes to the following view. How can I get Xcode to display the Swift representation…
David Skrundz
  • 13,067
  • 6
  • 42
  • 66
31
votes
2 answers

Xcode7 what is "Overhead" for energy profiling gauge?

I'm checking the energy profiling of an app that loads a lot of content into web view. I'm greeted with the following gauge. I see that the energy impact is high, and there's a consistently high overhead (54% in the screenshot). What is the meaning…
Alex Stone
  • 46,408
  • 55
  • 231
  • 407
30
votes
6 answers

How to remove multiple spaces in Strings with Swift 2

Until Swift 2 I used this extension to remove multiple whitespaces: func condenseWhitespace() -> String { let components =…
headkit
  • 3,307
  • 4
  • 53
  • 99
30
votes
4 answers

Is it possible to disable ATS in iOS 9 just for debug environment?

I'm working on a development environment without HTTPS setup. Is it possible to automatically disable ATS just for the development (debug) mode?
Andree
  • 3,033
  • 6
  • 36
  • 56