FAQ Database Discussion Community


iOS 8.2 not supported in Xcode 6.3 beta

ios,xcode,ios8.2,xcode6.3
As stated in the title, upgraded today to iOS 8.2 and my device is not supported in Xcode 6.3 beta. Even though Xcode 6.3 supports iOS 8.3, I also cannot install iOS 8.2 simulator. I cannot quit using Xcode 6.3 beta because I have quite of a lot of code...

Getting black screen on Watchkit simulator and “Waiting to Attach” when adding to existing project

ios,objective-c,watchkit,xcode6.3
I'm interested in adding a Watchkit Extension to my existing app already in the app store. I've done my research, followed some tutorials, and now am ready to actually implement. The problem I'm having is, I can't seem to add a Watchkit App to my existing project and get it...

Missing argument for parameter #1 in call when using findObjectsInBackgroundWithTarget

ios,xcode,swift,xcode6.3
I am trying to get an array of PFObjects, [PFObject], from Parse and seeing the issue below. What am I missing? Error is Missing argument for parameter #1 in call func loadData() { rooms = [PFObject]() users = [PFUser] () self.tableView.reloadData() let pred = NSPredicate(format: "user1 = %@ OR user2...

Submit a build using Xcode

xcode,itunesconnect,xcode6.3
When you're done coding your app, if I'm right, you upload your build to iTunes Connect using either Xcode or Application Loader. What I'm asking is, How exactly would I go about submitting my build to iTunes Connect using Xcode (6.3.2)? (saw a close vote that thought I was unclear...

Terminating app due to uncaught exception: 'An instance of class UITableView was deallocated while key value observers were still registered with it

objective-c,uitableview,key-value-observing,xcode6.3
I have created button and i have given action on button In action [self.navigationController popViewControllerAnimated:YES]; But whenever i click on the button it gives me this exception even after using ARC in my project . I am stuck at this point from last two days So if somebody knows solution...

How to set multiple UIlabel in same line for all iphone devices

ios,ios8,xcode6.3,ios-autolayout
I am setting constraints for 4 UILabels but its not working properly in iphone 5s and it's showing properly in 6 and 6 plus. How to set proper constraints? its going right side in iphone 5s. First label, I have set x position and then space between labels. Then I...

How to limit number of rows selected in uitableview

ios,objective-c,uitableview,xcode6.3
I am creating a tableView where I want to limit number of rows selected to 5. If 6th row is selected then a alert will appear stating that I can select only 5 rows. I can check and uncheck the rows but minimum 1 row and maximum 5 rows should...

Xcode project environment variables

ios,xcode,swift,xcode6,xcode6.3
How to distinguish multiple environments in iOS app? My Swift app uses external API connection and we have two API URLs - testing and productive. Is there any way how to use one variable and set its value for testing in Xcode and another value for the AppStore release? Currently...

How to center 2 labels horizontally side by side in XCode 6?

autolayout,xcode6.3
This is a result I need: Width of labels are not fixed. They may be equal, first may be larger then second, and the second may be larger than first. I have found some solutions in other questions, but it does not satisfy me, because I do not want to...

After adding Watch Kit Target: com.apple.actool.errors “No such file or directory” with Image Assets

ios,xcode,ios8,watchkit,xcode6.3
I just made a branch in my iOS project and added a target for an WatchKit App in there. When I hit build and run now I get this strange error: : error: Failed to read file attributes for "/Users/philip.brechler/Documents/motortalk/ForumApp/ForumApp/Images.xcassets /Users/philip.brechler/Documents/motortalk/ForumApp/MOTOR-TALK WatchKit App/Images.xcassets /Users/philip.brechler/Documents/motortalk/ForumApp/MOTOR-TALK WatchKit Extension/Images.xcassets" Failure Reason: No such...

XCode 6.3.2 View is not shown in storyboard

ios,xcode6.3
I have a simple view controller that have a UIImageview as background view.I add it from storyboard. It is shown well before. But,I open this project today and find that the imageView just disappear in storyboard. I also notice that the imageview become gray in here Thanks The answer I...

Xcode struck in validation process? [closed]

ios,itunesconnect,xcode6.3
I use Xcode 6.3 , and I am trying to Validate and then submit an app to the apple store . I press Validate but its being validate but its stuck in that point , and then after long time waiting its rejected for "time out".What is the problem here...

restkit.h file not found when archiving using xcode 6

ios,restkit,xcode6.3,archiving
i need your help everyone. i am having an error when archiving an app with restkit. On build it is perfectly ok, but when archiving it generates an error below: [App location...]/AppDelegate.m:3:9: 'RestKit/RestKit.h' file not found [App location...]/RestKit/Code/CoreData/CoreData.h:22:9: 'ObjectMapping.h' file not found Cheers!...

Build error when trying to override an initializer in Xcode 6.3 Beta 3

swift,xcode6.3
The following code shows build error in Xcode 6.3 Beta 3. The code works in Xcode 6.2 and Xcode 6.3 Beta 2. class MyView: UIView { override init() { super.init() // Some init logic ... } override init(frame: CGRect) { super.init(frame: frame) } required init(coder aDecoder: NSCoder) { fatalError("init(coder:) has...

Xcode 6.3 freezes when I quit the Main.storyboard

xcode,freeze,xcode6.3
I'm experiencing a very strange error: my Xcode is freezing when I quit a certain storyboard of a certain project. When i open Xcode, the xib shows up normally, I can even edit it and save it. But when I'm trying to open another file, any other file, it freezes...

Preview and Resizing in Xcode 6.3

ios,uistoryboard,preview,xcode6.3
I am using Xcode 6.3, but I am not able get preview and Resizing button. The resizing button should be present at last in the attached image. There is 4 buttons in this panel before xcode 6.3 I am not able to see the last button of the following image:...

Difference between a connection failed or no response in an https connection in iPhone

swift,nsurlconnection,xcode6.3,nsurlerrordomain
We have used NSURLConnection for establishing the connection with the server. Can we differentiate between a connection failed or no response received from the server in an https connection in iOS 8(Xcode 6.3)? If yes, then please help us with this.

One storyboard not seeing localization .strings while the other one localizes perfectly

ios,ios8,localization,xcode6,xcode6.3
I have two storyboards in my app, and I'm trying to add Turkish language option to both using localizable strings. My main storyboard maps just fine; when I change simulator language to Turkish, it loads the Turkish strings and displays them perfectly. However, my other storyboard still displays in English....

Implement Search bar and search display for the table view with sections

uitableview,swift,uisearchbar,uisearchdisplaycontroller,xcode6.3
I am trying to implement search bar with search display feature in swift for the table view given below. Screenshot of the table view I am getting issue because my string array is in the following format. ["section name1" : ["list1", "list2"] ,"section name2" : ["list3", "list4"]] I have added...

Cannot subscript a value of [AnyObject]? with an index of type Int

ios,xcode,swift,xcode6.3
This is in a class extending PFQueryTableViewController and I am getting the following error. The rows will be PFUser only. Why am I not able to cast it? Is there a way around this? The error is: Cannot subscript a value of [AnyObject]? with an index of type Int ...for...

How to remove 100s of warnings “implicit conversion loses integer precision: 'NSInteger' (aka 'long') to 'int'” I got after updating to arm64?

objective-c,compiler-warnings,nsregularexpression,arm64,xcode6.3
Problem: Yesterday I converted a large project of mine to support arm64 and after that I got 500+ warnings at once. About 70% of them are where NSInteger is being assigned to int or vice versa, and remaining are where NSUInteger is formatted in NSString like this: NSInteger a =...

Attempting to load Webview with PDF, receiving link from Parse

ios,xcode,swift,xcode6,xcode6.3
I am attempting to load a lunch menu PDF into a web view for a high school app that I am updating. Currently, it can load a PDF into the web view and display it just fine, but I want to speed up the monthly update process by having my...

In Xcode playground, control the string representation in the right side column?

swift,xcode6,swift-playground,xcode6.3
I thought the Printable protocol would do it, but it doesn't. Is there another protocol? I want it to show the 3 numbers, not "C._GLKVector3" ...

Editing Video Effects panel on VLC for Mac

objective-c,xcode,osx,vlc,xcode6.3
Ok so this question is actually in two parts. I coded a video filter for VLC and I would like to add a control to the Video Effects panel on the OS X UI. So far I've been able to link my plugin the the UI by hijacking one of...

Ambiguous use of “value” while implementing UIStepper

iphone,swift,xcode6.3
I am trying to implement a simple stepper which reflects its value onto a label. While using "Int(sender.value)" I am getting an error "Ambiguous use of value" // ViewController.swift // Stepper // // Created by Prabhu Konchada on 19/06/15. // Copyright (c) 2015 Prabhu. All rights reserved. // import UIKit...

Table view issues in swift iOS

uitableview,swift,uisearchbar,xcode6.3
I am trying to create a table view in which it has list of dishes with sections and when we select a row it should go to new table view which consist list of popular restaurants which serves that specific food. I have created the table view with sections, but...

Xcode 6.3: Estimated app's store size

ios,xcode,apple,xcode6.3,xcode6.3.1
After archiving an app. version and on the organiser window there was a button, clicking it calculates and displays the estimated size of the app. on the store. In this version, 6.3, that button disappeared! Is there still a way to know the estimated app. size?...

Hide a UIViewController (Screen) in swift

swift,uiviewcontroller,uitabbarcontroller,segue,xcode6.3
As you can see the screen flow as follows: After clicking on the 'button2' of 'screen A', app shows 'screen B' from same storyboard which has a tab bar. After clicking on the 'red tab' of 'screen B', app shows the 'green button'(right corner). After clicking on the 'green...

Change frame size of table programmatically

iphone,json,uitableview,ios8,xcode6.3
I am trying to do the example on https://github.com/kingiol/XCMultiSortTableView where I am putting json values. I used navigational bar but then the header data is getting hidden. I tried changing the frame size in XCMultiSortTableView.m file but the position of header doesn't change. I am getting output as But I...

Xcode 6.3 beta - Your executable contains unsupported architecture '[armv7k]'

ios,xcode,arm,apple-watch,xcode6.3
I'm updating my existing app to include support for Apple Watch (at this stage just handling of notifications), however when I archive my app and try to submit it to the app store for review I continually get this error. I've tried playing around with the build settings and I've...

Count number of selected rows in uitableview

objective-c,iphone,uitableview,ios8,xcode6.3
What I actually want to do is to count the number of rows selected after selecting and deselecting the row. I get the total count but when I deselect the row I want to get count as how many other rows are still selected. My code is as follows //countId...

Trying to set picture as a mandatory field during signup with Parse

ios,swift,parse.com,xcode6.3,pffile
I am still new to coding. I have setup my signup screen but I wanted to make it mandatory to upload a profile picture during signup. I've tried to add and "if statement" to show an alert if the photo isn't uploaded but I haven't been successful getting it to...

PFFile Not Loading onto Table View

swift,parse.com,xcode6.3,ios8.2
I'm working on a Parse query that pulls geo-based names and photos then loading them onto a table view. The first part of the query is coming through without an issue. I'm stuck on the second part of pulling/loading photos. I could be going wrong with a missing call for...

Name is not displayed in UITableView

objective-c,uitableview,ios8,xcode6.3
I am trying to do an example on https://github.com/singhson/Expandable-Collapsable-TableView where a storyboard is used. I am trying to do it using xib files. What changes should I make in cellForRowAtIndexPath so that I can get the desired output? I tried something like this - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath {...

Xcode 6.3.2 unexpectedly crashing on App Store submission

crash,xcode6.3
I was about to submit my app for TestFlight testers , the Xcode has crashed for 6th consecutive time and it is still crashing , I'm just hanged in the middle . Any suggestions what to do ? Thank you in advance for the help. Process: Xcode [1917] Path: /Applications/Xcode.app/Contents/MacOS/Xcode...

xcode 6.3 deprecated UIsearchDisplayController, how to silence warning

swift,deprecated,uisearchdisplaycontroller,xcode6.3
This line has caused compiler Warnings of searchDisplayController deprecation: as of Xcode 6.3 update. ISSUE LINE if tableView == self.searchDisplayController!.searchResultsTableView IN func tableView(tableView: UITableView, numberOfRowsInSection section: Int) -> Int { if tableView == self.searchDisplayController!.searchResultsTableView {return self.filteredPlayers.count} else {return self.results.count;} } I resolved this warning in other lines similar in format...

viewDidLayoutSubviews is getting called infinitely after switching to xcode 6

ios,cocoa-touch,xcode6.3
My perfectly working iOS app stopped working properly after switching to xcode 6. I found out that in one of my view controllers viewDidLayoutSubviews method is getting called infinitely until the memory level reaches to some point when the app is crashing due to that. Does anyone have any ideas...

Redrawing NSView in latest Swift (Xcode 6.3)

swift,xcode6.3
How to do it? setNeedsUpdate seems to be absent, and I couldn't find any recent articles on doing it, at least, in Swift.