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
41
votes
15 answers

iTunes software service authentication error domain error 434

I am uploading iPhone application using latest xCode 8. I have good internet connection and all the relevant settings set up at iTunes connect. My distribution profiles are also set up correctly. I am facing below error:- iTunes software service…
pkc456
  • 8,350
  • 38
  • 53
  • 109
41
votes
5 answers

Multiple line comment in Xcode 8

I just upgraded to Xcode GM 8.0 and noticed ⌘ + / is not commenting out selected lines. Is there another command to comment out multiple lines in Xcode 8?
DaveLass
  • 625
  • 1
  • 8
  • 17
41
votes
7 answers

ios10: viewDidLoad frame width/height not initialized correctly

Since upgrading to XCode8 GM and ios10, all of my views created via Interface Builder are not being initialized correctly until much much later than expected. This means in viewDidLoad, cellForRowAtIndexPath, viewWillAppear, etc, the frame size is…
Miro
  • 5,307
  • 2
  • 39
  • 64
40
votes
11 answers

ModuleName-Swift.h file not found in xcode8

I'm trying to work on a mixed Swift and ObjectiveC project with no luck. My project is made of 6 targets: App Core CoreTest Summary WatchKit Extension WatchKit App I've been able to add a Swift class that has one target membership (App) and uses…
LucioB
  • 1,744
  • 1
  • 15
  • 32
40
votes
15 answers

Linker command failed with exit code 1 - duplicate symbol __TMRbBp

Since I've updated to Xcode 8.1 I can't archive and also not run in Release mode (in debug mode its working). The error is that there are several "duplicate symbols for architecture arm64" and all are "duplicate symbol __TMRbBp". Whats that?
georgij
  • 2,054
  • 4
  • 27
  • 43
40
votes
7 answers

NSPhotoLibraryUsageDescription in Xcode8

Update: I attempt to add a String value to the "NSPhotoLibraryUsageDescription" key. And it works.My build version is now available on my TestFlight. ps: 构建版本 means Build Version But I want to know why Apple Store just let me add String value for…
X.Jian
  • 2,134
  • 3
  • 16
  • 23
40
votes
9 answers

Xcode-beta 8. Can't create core data

I have been trying to add core data. And every time I got the same error: error: filename "EntityName +CoreDataClass.swift" used twice: '/Users/userName/Desktop/Development/MyApp/AppName/EntityName +CoreDataClass.swift' and…
spin_eight
  • 3,925
  • 10
  • 39
  • 61
39
votes
2 answers

Creating groups using a custom template xcode 8

I have successfully created an Xcode 8 template that will respond to these actions: You already have a working project You want to add your custom swift file to this project Step by step, how to achieve that: I have created…
OhadM
  • 4,687
  • 1
  • 47
  • 57
39
votes
4 answers

Your account already has a signing certificate for this machine but it is not present in your keychain

I get this error, verbatim, when trying to build and install to a device. This is my environment: Xcode 8 El Capitan Has anyone run into this problem? How did you solve it? Thank you
Sheamus
  • 6,506
  • 3
  • 35
  • 61
39
votes
1 answer

Type 'Any' Has no Subscript Members in xcode 8 Swift 3

My App is supposed to go to a specific location to pull down the website it needs to load. In 2.3 it worked like a charm, but since I've updated xcode (which I don't have a ton of experience in) it is giving me the error "type 'Any' has no subscript…
DaVinci1223
  • 391
  • 1
  • 3
  • 3
38
votes
8 answers

Xcode 8 Adding Layout Margins Crash

When I try to add layout margins to a label on a TableViewCell, using the right panel on Xcode, I try to add Explicit Margins (top, Left, Bottom, Right). But, as soon as I input a number value, or tap the arrow to change the value, Xcode…
EvanOgo
  • 541
  • 1
  • 4
  • 11
37
votes
3 answers

Deleting all data in a Core Data entity in Swift 3

Is there a way to do a batch delete of all data stored in all of the entities in core data? I read somewhere that in iOS 9 or 10 that apple introduced a way to do batch deletes, but I can't seem to find any good information on it. Ultimately, I just…
John Hubler
  • 877
  • 1
  • 11
  • 27
37
votes
8 answers

Xcode 8 very slow Swift compiling

Ever since Swift 3 and Xcode 8 my project compiles quite slowly. Every time I add so much as an empty line to a file, recompiling takes a full minute. When I check the output, there is no particular file that takes very long. (I also used this tool…
fancy
  • 2,077
  • 2
  • 23
  • 45
37
votes
5 answers

Unable to contact local DTServiceHub to bless simulator connection

When I run my basic Xcode project in simulator, I got the below issue:- Failed to initiate service connection to simulator. Unable to contact local DTServiceHub to bless simulator connection Xcode 8.0 OS 10.11.6 SWIFT 3
pkc456
  • 8,350
  • 38
  • 53
  • 109
36
votes
3 answers

Not able to open Xcode 8.3.2 on macOS 10.14 beta

I recently upgraded to new beta version of macOS 10.14 but after installing it when I tried to open my older version of Xcode 8.3.2, every time it gets crashed. Below is its details. Symbol not found: _OBJC_IVAR_$_NSTextViewIvars.sharedData
Rahul Bansal
  • 1,382
  • 15
  • 22