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
2
votes
2 answers

Migrating Core Data related code to Swift 2

I have some functions like this: func getAllEntities() -> [MyEntity]? { let fetchRequest = NSFetchRequest(entityName:"MyEntity") var error: NSError? let fetchedResults = context.executeFetchRequest(fetchRequest) as! [MyEntity]? if…
AppsDev
  • 12,319
  • 23
  • 93
  • 186
2
votes
1 answer

App launching and then closing from Testflight

I've got an app that runs perfectly well when run from the debugger. When uploading to TestFlight it goes through fine and am able to download using the Testflight app. However, the moment I launch the app, it displays the splash for 20 or so…
strangetimes
  • 4,953
  • 1
  • 34
  • 62
2
votes
2 answers

MR_importFromObject method is not working in XCode7.1 beta (Swift 2.0)

I want to create entity from dictionary using MR_ImportFromObject method. It worked before I update Xcode 6 to 7. But when I use Xcode7, ImportFromObject method is not working. Every call that method, willImport Delegate method is not called and…
Hyeonjin Jang
  • 257
  • 1
  • 3
  • 11
2
votes
1 answer

Is it possible to upload to App Store using Xcode 7.1 (beta)?

I'm just preparing my app for iOS 9, prior to the new release next week, using latest beta version of Xcode but it gives me this error message:
Maysam
  • 7,246
  • 13
  • 68
  • 106
2
votes
1 answer

GameplayKit: Fine tune control of GKAgent

I'm testing out gameplaykit using spritekit. I've added a GKAgent to my GKEntity and I am making my Entity seek my touches by creating an endAgent at touch position. This works great. The agent moves naturally and chases my touches. However, I…
hamobi
  • 7,940
  • 4
  • 35
  • 64
2
votes
1 answer

Why Contact Delegate isn't called in SceneKit?

I'm developing a game and I'm facing an issue with the contact delegate in SceneKit. I declared the right delegate in the ViewController and used this to set the delegate: sceneView.scene?.physicsWorld.contactDelegate = self It should work and…
2
votes
0 answers

Xcode 7 Interface Builder - Resizing descendands/ sibilings and ancestors

Where is this option in XCode 7?
tailec
  • 630
  • 1
  • 7
  • 20
2
votes
3 answers

UrbanAirship iOS SDK error in Xcode 7 when archiving: libUAirship-6.2.0.a (UAWalletAction.o)' does not contain bitcode

I have an iOS application in Swift with CocoaPods using the UrbanAirship iOS SDK via Pods as follows: pod 'UrbanAirship-iOS-SDK' We can verify the version installed in the Podfile.lock file: - UrbanAirship-iOS-SDK (6.2.0): -…
Eneko Alonso
  • 18,884
  • 9
  • 62
  • 84
2
votes
1 answer

context?.save(nil) coming up with error

Using Xcode 7 and swift 2.0 if get the following error on the context?.save(nil). Any help is appreciated "cannot use optional chaining on non-optional value of type 'NSManagedObjectContext' func newItem() { let context = self.context let…
Scubadivingfool
  • 1,227
  • 2
  • 10
  • 23
2
votes
2 answers

Cannot convert value of time 'Int' to expected argument type 'NSPropertyListReadOptions' in Swift 2

I'm upgrading my existing code to Swift 2, and I need some help with the saving of a Plist file This code was working in Xcode 6.3, but now with Xcode 7 and Swift 2 it shows me this error: Cannot convert value of time 'Int' to expected argument…
AJ152
  • 671
  • 2
  • 12
  • 28
2
votes
3 answers

Got error "The identity used to sign the executable is no longer valid."when debug on iPhone

I am using Xcode 7 beta 6 on Yosemite, but I have encounter the problem The identity used to sign the executable is no longer valid. Error when I am trying to build my app on my iPhone. The detailed information is: Please verify that your…
Mutawe
  • 6,464
  • 3
  • 47
  • 90
2
votes
3 answers

Cocoapods not linking correctly for 3rd, 4th target (Xcode 7 beta 6)

I'm having a problem with Cocoapods and Xcode 7 beta 6: I have a project with three different test targets (tests, UITests, IntegrationTests). My pods seem to be working just fine with the first target ("tests") but the other targets are having…
Zaphod
  • 1,387
  • 2
  • 17
  • 33
2
votes
0 answers

'GoogleMobileAds/GoogleMobileAdsDefines.h' file not found

I was building my project(objc-swift both using, deployment Target 8.1, Xcode7 beta6) and it includes Google Admob. Like above, it fails with those errors. I imported the GoogleMobileAds into my swift file. import UIKit import…
Jeonghan Joo
  • 225
  • 2
  • 10
2
votes
0 answers

Xcode 7 - prerelease: "dyld shared cache could not be mapped"

I am getting this error message in the log when I am running my project on a phone. The phone is an iPhone 5s - brand new (no other apps installed) with the latest iOS 8 release. The project have been running earlier but suddenly nothing works. And…
Simon Degn
  • 901
  • 1
  • 12
  • 40
2
votes
0 answers

Error in OpenCL kernel compilation

I've included an OpenCL kernel (.cl file) in my OS X framework, and I'm able to reference it from one of my implementation (.m) files. However, when I compile, I get the following error, related with the kernel: openclc: error: cannot specify -o…
insys
  • 1,288
  • 13
  • 26