Questions tagged [xcode8]

Xcode 8 is an IDE created by Apple for the development of macOS, iOS, watchOS, and tvOS applications. The first release of Xcode 8 was on June 13th, 2016 with Xcode 8 beta build 8S128d. *Do not use this tag unless your question specifically involves the Xcode IDE!*

Xcode 8 is an Apple integrated development environment (IDE). This version of Xcode includes the SDKs for macOS 10.12 iOS 10, watchOS 3, and tvOS. The beta is available free for developers from https://developer.apple.com/ and will be released in the fall from the Mac App Store.

The latest production version of the IDE is Xcode 8.2.1 (8C1002) (Dec 19, 2016)

**Latest Preview : Xcode 8.2 beta 2 (8C30a) released on Nov 14, 2016.

The tag should only be used for questions about the Xcode 8 IDE itself, and not for general macOS, iOS, watchOS, or tvOS programming topics. Use for Mac programming questions, and or for iOS programming questions.

If the question is related to the Xcode IDE in general (not specific to Xcode 8), use the tag.

4206 questions
143
votes
14 answers

Warning frame for "Navigation bar" will be different at run time appears in Xcode 8 Swift 3

Before I've upgraded to Xcode 8 I haven't seen this error in such case. I have different Navigation Controllers. For all of them I see an error Frame for "Navigation bar" will be different at the run time. Navigation bar "Expected: width=384,…
Danny
  • 3,975
  • 4
  • 22
  • 35
140
votes
2 answers

Xcode 8 Console Garbage?

Has anybody else had issues with the Xcode 8 console showing a bunch of random stuff? I don't want to have all of this cluttering my debug messages and logs. Does anybody know how to turn this off? EDIT: The release notes specify that the…
ellman121
  • 1,815
  • 3
  • 16
  • 24
133
votes
14 answers

Xcode 8.3.3 "No accounts with iTunes Connect access"

When trying to upload an App to iTunes connect in Xcode 8.3.3, I get the error: iTunes Connect access for "Team-Name" is required. Add an account in the Accounts preference plane. The account already exists and (in some cases) has been working…
José Miguel
  • 1,283
  • 2
  • 8
  • 9
131
votes
9 answers

What does the "automatically adjusts font requires using a dynamic type text style" warning mean?

I am getting the following warning: "automatically adjusts font requires using a dynamic type text style" Which I can not get rid of the warning is on main.storyboard. I have checked every UILabel in the Identity Inspector to make sure the…
K. Law
  • 2,541
  • 3
  • 18
  • 27
131
votes
30 answers

Error: Could not build Objective-C module 'Firebase'

When I compile the application I get an error equal to this: Could not build Objective-C module 'Firebase' This error appear in import Firebase of my file swift.
sebas.varela
  • 1,535
  • 2
  • 10
  • 12
130
votes
28 answers

Linker Command failed with exit code 1 (use -v to see invocation), Xcode 8, Swift 3

I can't get rid of this error! I have tried all sorts of things like clearing Derived Data(Preferences->Locations->click gray arrow to open Derived Data folder in Finder->right-click, move to trash), cleaning the project(CMD+Shift+K or…
Jake Dobson
  • 1,716
  • 3
  • 11
  • 29
128
votes
14 answers

Xcode 8 - Missing Files warnings

Ever since upgrading to Xcode 8 using Swift 2.3 I have several missing files warnings. They are all related to pods that I am using. The files that are missing are *.xcscheme *.cpp *.xcuserstate *.swift The pods that are showing missing files…
Alan
  • 9,331
  • 14
  • 52
  • 97
124
votes
11 answers

Correctly Parsing JSON in Swift 3

I'm trying to fetch a JSON response and store the results in a variable. I've had versions of this code work in previous releases of Swift, until the GM version of Xcode 8 was released. I had a look at a few similar posts on StackOverflow: Swift 2…
user2563039
  • 1,418
  • 2
  • 11
  • 15
118
votes
7 answers

Xcode 8 Beta - Convert to Current Swift Syntax Failed: Could not find test host

I am receiving an error message when I try to use Xcode 8's Convert Wizard. After trying rebooting, downloading fresh code, and deleting my DerivedData files I cannot escape this error: Convert to Current Swift Syntax Failed: Could not find test…
thejuki
  • 1,351
  • 2
  • 13
  • 16
117
votes
4 answers

How to install Xcode from xip file

I am very new to macOS, I just need a mac with Xcode to compile my app. However, with macOS Sierra, I have a problem with my USB that is not working anymore (i can't plug my ipad pro) Under OSX El Capitan my usb works great, but now the problem is…
zeus
  • 12,173
  • 9
  • 63
  • 184
116
votes
12 answers

Xcode 8 Beta 4 - Comment Shortcut Disabled

I just updated to Xcode 8 Beta 4 and the shortcut cmd + / to comment a line is not working.. In the dropdown menu it's disabled: There's a way to activate it again?
Jacopo Penzo
  • 2,168
  • 2
  • 24
  • 29
116
votes
3 answers

How do I toggle between Debug and Release builds in Xcode 6 / 7 / 8?

How do I get Xcode to build an OS X app in release mode? I can only seem to find instructions for earlier versions and none of the screenshots match. I didn't see anything when I put "release" into the help menu's search.
drewish
  • 9,042
  • 9
  • 38
  • 51
112
votes
32 answers

dyld`__abort_with_payload: Without an error message

When I start my app with Xcode, I have a crash, but without an error. The app is just stopping on this thread: What can I do to have more information about the issue?
Kevin ABRIOUX
  • 16,507
  • 12
  • 93
  • 99
109
votes
1 answer

Xcode - Could not find test host

I am receiving an error message when I try to use Xcode 8's Convert Wizard. After trying install KIF Framework. Here is the error message: Could not find test host for PresentrTests: TEST_HOST evaluates to…
Irwan Madness
  • 1,236
  • 2
  • 13
  • 19
108
votes
6 answers

What's ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES with CocoaPods, Swift 3 and Xcode 8

after installing cocoapods and adding pod "SwiftCarousel" to pod file and uncomment the platform :ios, '9.0' I got this ERROR ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES and what should I do? mohammed.elias$ pod install Analyzing…
MEH
  • 1,777
  • 3
  • 15
  • 34