Questions tagged [xcode7-beta5]

Apple's Xcode 7 beta 5 is a prerelease version of Xcode 7 released on August 6, 2015.

82 questions
4
votes
1 answer

Is there a better way to see which Git branch I am on in the XCode 7 Interface?

I'd like to be able to see which Git branch I am currently working on at a glance in the XCode 7 (beta 5) interface without going through the menu system. Is this possible? I want to see the equivalent of running git branch from the command line…
codecowboy
  • 9,835
  • 18
  • 79
  • 134
4
votes
4 answers

Xcode UI Testing - Drag and Drop

I'm trying to create XCTestCase to test reordering in my outline view (in OS X app). When I use UI Test Recording feature, Xcode prints this: window.outlines.staticTexts[""].click() I tried dragging the cell both inside…
egor.zhdan
  • 4,555
  • 6
  • 39
  • 53
4
votes
0 answers

RestKit with cocoapod with use_frameworks! can't use AFNetworkReachability

My pod file looks like this: source 'https://github.com/CocoaPods/Specs.git' platform :ios, '8.0' use_frameworks! pod 'RestKit' pod 'CocoaLumberjack' On top of my App delegate I added: #import In the…
lawicko
  • 7,246
  • 3
  • 37
  • 49
4
votes
1 answer

xcode 7 not displaying data in parse table view in simulator, but works in device

I'm using Parse's table view class, I have my custom cell for the table view, everything worked fine in Xcode 6.3.2. I just updated my Xcode to 7 beta, because I want to run tests on my device without paying 100$ for developer account, anyways, the…
Itai Spector
  • 652
  • 11
  • 24
4
votes
1 answer

Trouble Saving with CoreData and Swift 2.0

Problem I'm trying to simply save a record and then fetch it but I think I'm doing something wrong here as my record isn't saving. The output window just shows an empty array. I'm using the boiler-plate AppDelegate CoreData stack in Xcode 7 beta 5.…
Dan Beaulieu
  • 19,406
  • 19
  • 101
  • 135
4
votes
1 answer

How to unit-test this custom UITextField in Swift?

I have created a custom UITextField like this import Foundation import UIKit class NoZeroTextField: UITextField, UITextFieldDelegate { required init(coder aDecoder: NSCoder) { super.init(coder: aDecoder) self.delegate = self …
Dan
  • 11,077
  • 20
  • 84
  • 119
3
votes
2 answers

variable was written but never used in Swift 2.0 & Xcode 7

When I create a variable without String() to initialize the variable an error shows up alerting, "variable not initialize", same error shows up when I directly assign var username: String = usernameTextfieldSigup.text! And when I initialize the…
suisied
  • 426
  • 1
  • 6
  • 19
3
votes
0 answers

Xcode 7 beta Code Signing Watch OS 2

I've added a new Watch OS 2 target to my build. The project works fine and compiles when testing on my Apple Watch. However, when I try to archive the project for distribution, I get a code signing error about the provisioning profile not being…
3
votes
2 answers

NSDate dateByAddingUnit compulsory options - nil not compiling

So I've just tried what I thought was a simple operation - Adding one day to an NSDate: Following this answer also on SO which provides the following solution, whilst not exactly what I want (but has the same logic) does not work: let twoDaysAgo =…
AJ9
  • 1,256
  • 1
  • 17
  • 28
3
votes
2 answers

Wrong size class in UICollectionViewCell on iOS 9

I have a storyboard that was created in Xcode 6 with collection views, and the cells have different size class variations like different font size ... (The collections and the cells created in the storyboard) when I run the app on iOS 9 with Xcode 7…
Oleg Sherman
  • 2,772
  • 1
  • 21
  • 20
3
votes
1 answer

Xcode always popup verifying when open

I install Xcode 7 beta, but not remove the version 6.4. And when I quit Xcode, then open my project by Xcode 7, it always show popup verifying about 3->4 minus before open the project. How can I fix that?(My Mac: 10.10.4,install Xcode beta 5)
lee
  • 7,955
  • 8
  • 44
  • 60
3
votes
2 answers

Are inout variables of protocol type prohibited?

The following code: protocol SomeProtocol {} class SomeClass: SomeProtocol {} private func doSomethingWith(inout someVar: SomeProtocol) {} private var someGlobalVar = SomeClass() // inferring SomeClass's…
mesmerizingr
  • 1,417
  • 1
  • 18
  • 25
3
votes
1 answer

Using Object Initializers in Swift to replace AllocWithZone

I recently updated my Xcode from Xcode 7 beta 4 to Xcode 7 beta 5 and began to have an error that wasn't present before. That being: "AllocWithZone is unavailable in Swift: use Object Initializers instead." Here is the code where the error is found:…
Bret Smith
  • 88
  • 10
2
votes
0 answers

Adding 3rd party framework in Xcode 7

Xcode 7's setting are a bit different. I reference the framework in the file tree. in Framework Search Path: /Applications/Adobe\ Gaming\ SDK\ 1.3/AIRSDK\ 18/runtimes/air/mac set Allow Non-modular Includes in Framework Modules : yes in my header…
Mistergreen
  • 1,052
  • 1
  • 8
  • 16
2
votes
1 answer

fabs vs. fabsl, should I ever have to type fabsl in my source?

I'm rewriting some Mac code that embeds a freeware library originally written in C. The compiler is complaining that since I'm using long double, I should use fabsl rather than fabs. So I went and changed them. However, reading a few pages on the…
Maury Markowitz
  • 9,082
  • 11
  • 46
  • 98