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
76
votes
23 answers

"Creating an image format with an unknown type is an error" with UIImagePickerController

While choosing an image from the image picker in iOS 10 Swift 3 I am getting an error - Creating an image format with an unknown type is an error func imagePickerController(picker: UIImagePickerController, didFinishPickingImage image: UIImage,…
Jeet
  • 5,569
  • 8
  • 43
  • 75
72
votes
5 answers

Use Swift 2.2 in Xcode 8?

Is it possible to use Swift 2.2 in Xcode 8? From Xcode 8 release notes: "Xcode 8 supports switching toolchains, such as those from swift.org, without relaunching Xcode. (23135507)" I have been trying to find swift 2.2 toolchain on swift.org…
salabaha
  • 2,468
  • 1
  • 17
  • 18
69
votes
1 answer

Xcode 8.3 libMobileGestalt MobileGestaltSupport.m:153:

I'm using UIWebView XCode Version 8.3. My console continues to show me this error when I start the app and I do not understand what it means. In my UIViewController there is no code so I do not understand why XCode continues to show me this…
kAiN
  • 2,559
  • 1
  • 26
  • 54
69
votes
5 answers

Errors after updating to Xcode 8: "No such module" and "target overrides the `EMBEDDED_CONTENT_CONTAINS_SWIFT`build setting"

I'm getting No such module for Pods when I try to build the project. If I remove the code expecting this Pod, another 'No such module' comes up for another Pod, which means every Pod must be affected. When I type pod install I get the following…
Questioner
  • 2,451
  • 4
  • 29
  • 50
67
votes
17 answers

Xcode 8 | iOS 10 simulator "Error returned in reply: Connection invalid"

While I am try to run an app in the iOS 10 simulator using xcode8 I get these alerts frequently. They randomly appear two at a time and it is not apparent what is triggering them. Below is Image for Error I got. I tried Following things. Clean &…
Ketan P
  • 4,259
  • 3
  • 30
  • 36
65
votes
3 answers

How do I change the iOS version for the Simulator?

Environment: Version 8.2 beta (8C30a) My schema list only devices. How do I change the iOS version in simulator? I can see the available iOS Simulators... ...but they're not listed in the schema list. Nor is their a way to discriminate…
Frederick C. Lee
  • 9,019
  • 17
  • 64
  • 105
65
votes
22 answers

Xcode 8 generates broken NSManagedObject subclasses for iOS 10

I updated my iOS app project recently to iOS 10. Now I'm trying to change the Core Data Model of my app but the new NSManagedObject subclasses which Xcode generates are broken. I also tried to fix the subclasses manual but this doesn't work. The…
Remco Beugels
  • 1,153
  • 1
  • 12
  • 21
65
votes
3 answers

xcode 8 push notification capabilities and entitlements file setting

when using xcode 8 doing the push notification setting, unlike xcode 7, xcode 8 need developer turn on push notifications capabilities switch ( located at TARGETS -> AppName -> Capabilities as following pic ), then it will generate…
64
votes
17 answers

Xcode 8.0 Swift 3.0 slow indexing and building

I've installed Xcode 8.0 and converted Swift 2.2 to 3.0 (that process also took a lot of time, I just left my Mac running all night). I have not a big project (about 20 files). I am also using Pods. Indexing of previous Xcode version (< 8.0) worked…
Danny
  • 3,975
  • 4
  • 22
  • 35
63
votes
10 answers

Model is running iOS 10.2 (14C92), which may not be supported by this version of Xcode

I am facing this error, i am done with research on that. I conclude the result, i need one file for device support 10.2(14C92) Please share that file. GoTo: Right click on Xcode 8 or Newer version of your Xcode, select "Show Package Contents",…
Piyush Sanepara
  • 1,417
  • 2
  • 18
  • 23
63
votes
2 answers

System group container for systemgroup.com.apple.configurationprofiles path

When i run my application in ios 10 using xcode 8 i am getting below message in debug console but everything is working fine. My application is using camera and photo library, and i had added " Privacy - Camera Usage Description " and "Privacy -…
Vaisakh
  • 2,919
  • 4
  • 26
  • 44
62
votes
8 answers

Xcode 8 Objective-C category warning

I'm using Xcode 8 and Swift 3.0. What does this error message mean? ld: warning: Some object files have incompatible Objective-C category definitions. Some category metadata may be lost. All files containing Objective-C categories should be built…
jherg
  • 1,696
  • 2
  • 13
  • 15
61
votes
4 answers

Xcode 9 Bug: Cannot find cdtool

After installing Xcode 9 beta, Xcode 8 gives me an error when compiling a project: Cannot find cdtool at '/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/Xcode/Agents/cdtool': Cannot find a simulator…
Jason C. Howlin
  • 3,858
  • 3
  • 21
  • 29
60
votes
3 answers

Error in iOS 10 : Unable to copy asset information from https://mesu.apple.com/assets/ for asset type

2016-10-05 13:36:21.383340 MyApp[1867:72704] 0x60000015e350 Copy matching assets reply: XPC_TYPE_DICTIONARY { count = 1, transaction: 0, voucher = 0x0, contents = "Result" => : 29 } 2016-10-05…
Rahul Mayani
  • 3,761
  • 4
  • 25
  • 40
59
votes
5 answers

This iPhone 6 is running iOS 10.1 (14B55c), which may not be supported by this version of Xcode

I'm trying to run the app after I updated Xcode to v8 and iOS to v10, but this error message pops up & prevents me from doing so: This iPhone 6 is running iOS 10.1 (14B55c), which may not be supported by this version of Xcode. What should I do…
Code Farmer
  • 1,335
  • 3
  • 12
  • 21