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
47
votes
5 answers

Objective-C Bridging Header not getting created with Xcode 8

I am trying to add objective-c libraries to my Swift 3 project (Xcode 8 IDE). But objective c interface header is not getting generated automatically. I tried to add bridging header manually but showing linking error saying bridging header .h is not…
Augustine P A
  • 5,008
  • 3
  • 35
  • 39
47
votes
2 answers

WARNING: Output of vertex shader 'v_gradient' not read by fragment shader

When i run my app in ios 10 using xcode 8 i am getting following message in debug console, and by UI getting freezed can any one know why this is happening ERROR …
Vaisakh
  • 2,919
  • 4
  • 26
  • 44
46
votes
1 answer

Is there a writeToFile equivalent for Swift 3's 'Data' type?

I've some code which returns the new iOS 10 / Swift 3 NSData replacement(?) type: Data if let jpegData = UIImageJPEGRepresentation(newImage, 0.8) { ... } I want to write this image to disk, however NSData's writeToFile: method is not present for…
Kyle G
  • 4,347
  • 4
  • 26
  • 39
46
votes
12 answers

"End-of-central-directory signature not found." when installing Xcode 8 beta xip file

I've download the Xcode 8 beta .xip file. I cannot unzip. Opening the file just sits there for hours saying "Verifying..." If I try from command line I get the following... Downloads unzip Xcode_8_beta.xip Archive: Xcode_8_beta.xip …
chris P
  • 6,359
  • 11
  • 40
  • 84
45
votes
7 answers

Failed to chmod user/Library/Developer/CoreSimulator/Devices NO Such File Or directory

When i try to run my app in iPhone 6 simulator, i am getting following error. I am using Xcode 8.1 can any one please help me to understand this issue
Vaisakh
  • 2,919
  • 4
  • 26
  • 44
44
votes
5 answers

How to use iOS 10.3 devices with Xcode 8.2.1

This iPad mini 2 (Model A1490) is running iOS 10.3 (14E277), which may not be supported by this version of Xcode. my xcode version 8.2.1 my Device ios version 10.2
Mohammad Razipour
  • 3,643
  • 3
  • 29
  • 49
44
votes
13 answers

Tests stop working under xcode 8 TEST_HOST error

I want to start tests under Xcode 8 and it fail in the beginning. My error is: Could not determine bundle identifier for MyProjectTest's TEST_HOST: …
Jakub
  • 13,712
  • 17
  • 82
  • 139
44
votes
10 answers

Xcode 8 "The application does not have a valid signature"

Xcode 8 throws the following error despite provisioning seems to be fine: How to fix it?
Alexander Vasenin
  • 11,437
  • 4
  • 42
  • 70
43
votes
11 answers

UITextView with hyperlink text

With a non-editable UITextView, I would like to embed text like this in iOS9+: Just click here to register I can create a function and manipulate the text but is there a simpler way? I see that I can use NSTextCheckingTypeLink so getting the…
Adam Nelson
  • 7,932
  • 11
  • 44
  • 64
43
votes
7 answers

Duplicate files in DerivedData folder using CoreData generator

I'm trying to generate NSManagedModels from my datamodel. Generation works but after I got many errors : error: filename "Station+CoreDataProperties.swift" used twice: '/Users/Me/MyApp/Models/CoreData/Station+CoreDataProperties.swift' and …
Ludovic
  • 1,992
  • 1
  • 21
  • 44
43
votes
4 answers

Xcode 8 recommend me to change the min iOS Deployment Target from 7.1 to 8.0

When I use the Xcode 8 beta(8S128d) to open my project,it recommend me to change the min iOS Deployment Target to 8.0 instead 7.1. And I found that there is no option less than 8.0 in the iOS Deployment Target list. So, does it mean that I no…
X.Jian
  • 2,134
  • 3
  • 16
  • 23
42
votes
4 answers

iOS 10 and Permissions localization description

Faced interesting thing while preparing app for iOS 10. Starting from Xcode 8 you must provide description about any permission you ask in the app (https://forums.developer.apple.com/thread/49951) Everything seems good, but what if I want localize…
Alexander Zimin
  • 1,700
  • 1
  • 15
  • 19
42
votes
9 answers

Swift 3 / Xcode 8 Upgrade - 100's of DerivedData files missing from working copy errors

I have just upgraded to the latest Beta version of XCode and Swift but after using the converter my app project now has over 200 build time yellow errors all stating /"projectDirectoy"/DerivedData/XXXXXXXXX/XXXX/XXX/xXXX/xXX is missing from working…
Krivvenz
  • 3,911
  • 3
  • 22
  • 32
42
votes
3 answers

Xcode 7.3 crashing when debugging with breakpoints

I just install the Xcode 7.3 version. I can't debug at all because it's crashing when I try to use a breakpoint while I'm debugging. I tried removing Derive Data, Reboot my macbook, reinstall pods... but unfortunately nothing is working. Is someone…
Fran Martin
  • 2,369
  • 22
  • 19
41
votes
9 answers

Can xcodebuild manage automatic signing?

SUMMARY: If you open a project in Xcode 8 with "Automatically manage signing" enabled and a new bundle ID, it will automatically create and download a provisioning profile for it. But how can I make the same thing happen with xcodebuild, so I can…
JW.
  • 50,691
  • 36
  • 115
  • 143