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
598
votes
24 answers

The resource could not be loaded because the App Transport Security policy requires the use of a secure connection

I am facing the Problem when I have updated my Xcode to 7.0 or iOS 9.0. Somehow it started giving me the Titled error "The resource could not be loaded because the App Transport Security policy requires the use of a secure connection" Webservice…
Manab Kumar Mal
  • 20,788
  • 5
  • 31
  • 43
512
votes
7 answers

Is it okay to delete the macOS Xcode CoreSimulator devices folder?

My ~/Library/Developer/CoreSimulator/Devices folder is 26 GB. Is it safe to just delete all the content? Will those files be automatically regenerated?
Franck
  • 8,939
  • 8
  • 39
  • 57
295
votes
6 answers

How to trap on UIViewAlertForUnsatisfiableConstraints?

I'm seeing an error appear in my debugger log: Will attempt to recover by breaking constraint Make a symbolic breakpoint at…
Maury Markowitz
  • 9,082
  • 11
  • 46
  • 98
285
votes
6 answers

What does ENABLE_BITCODE do in xcode 7?

I have a problem with the embedded bitcode term. What is embedded bitcode? When to enable, ENABLE_BITCODE in new Xcode? What happens to the binary when enabled, ENABLE_BITCODE in Xcode 7?
damithH
  • 5,148
  • 2
  • 27
  • 31
247
votes
16 answers

'Project Name' was compiled with optimization - stepping may behave oddly; variables may not be available

Trying to step into AFNetworking code generates following warning: [Project Name] was compiled with optimization - stepping may behave oddly; variables may not be available. And of course I'm not able to debug the code. To be specific I'm trying to…
Mojtaba
  • 6,012
  • 4
  • 26
  • 40
206
votes
22 answers

Multiline label in UIStackView

When putting multiline label (with linebreak set to Word Wrap) into a stack view, the label immediately loses the linebreak and displays the label text in one line instead. Why is this happening and how does one preserve multiline label within a…
Boon
  • 40,656
  • 60
  • 209
  • 315
198
votes
8 answers

Python in Xcode 4+?

How does one create a Python friendly environment in Xcode 4, 5, 6 or 7?
Tyler Crompton
  • 12,284
  • 14
  • 65
  • 94
174
votes
24 answers

Error message '_BSMachError: (os/kern) invalid capability (20)'

Please note that this error message is pretty low level, so it crops up for different reasons in different scenarios. If you have a scenario that isn't mentioned in one of the answers below, please consider adding your situation as well, so maybe…
Logicsaurus Rex
  • 3,172
  • 2
  • 18
  • 27
167
votes
23 answers

ERROR ITMS - 90167 No. app bundles found in the package

Before I start writing about the error, I'm running on macOS Sierra and using Xcode 7.3.1. So I'm creating an Archive from my App, I validate the App and it passes validation, but when uploading to App Store, I get the error "ERROR ITMS - 90167 No.…
Charlie Pico
  • 2,036
  • 2
  • 12
  • 18
155
votes
6 answers

Change status bar text color to light in iOS 9 with Objective-C

In iOS 9, how do I change the color of the status bar text to white?
reza_khalafi
  • 6,230
  • 7
  • 56
  • 82
146
votes
4 answers

Why Xcode 7 shows *.tbd instead of *.dylib?

Xcode 7 In Target > BuildPhases > Link Binary With Libraries > tap + button When choosing frameworks to add, you cannot find *.dylib, you'll see *.tbd instead. What is the reason for this? **For people who need dylib, follow from this post Choose…
Ted
  • 22,696
  • 11
  • 95
  • 109
139
votes
8 answers

Xcode - There are no dSYMs available for download

I want to extract the dSYM file from but when I click on "Download dSYMs..." in the Organizer I get the follow message: "There are no dSYMs available for download.". I'm using Xcode 7.2 with a workspace generated by Cocoapods 0.39. How can I get…
Felipe Peña
  • 2,712
  • 4
  • 22
  • 41
132
votes
9 answers

'var' parameters are deprecated and will be removed in Swift 3

Alright so I just update Xcode to 7.3 and now I get this warning: 'var' parameters are deprecated and will be removed in Swift 3 How to fix this when I need to use the var in this function: public func getQuestionList(var language: String) ->…
SDW
  • 1,880
  • 4
  • 19
  • 30
125
votes
17 answers

iOS 9 Xcode 7 - Application appears with black bars on top and bottom

Installed the app on iPhone 6 iOS9 and here is what happened. Notice black bars on top and bottom. It works just fine on iOS8. How I can fix it? I've tried building with Xcode 6.4 & 7. Same result. (iPhone 5 used to run iPhone 4 apps like this)
Mojtaba
  • 6,012
  • 4
  • 26
  • 40
120
votes
4 answers

Xcode 7 Library search path warning

This is the warning that it is showing: directory not found for option '-F/Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.0.sdk/Developer/Library/Frameworks' " Can anyone help resolve the…
arwaz shaikh
  • 1,341
  • 2
  • 9
  • 15
1
2 3
99 100