FAQ Database Discussion Community

'stdarg.h' file not found error

I recently upgraded to xcode 6.3.1. I tried creating a sample project from "Master Detail application" template, but build failed with the below error. Device - Universal language - swift Not using Core Data Errors: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.2.sdk/usr/include/dispatch/dispatch.h:32:10: error: 'stdarg.h' file not found...

Core Location delegate methods not getting called in iOS 8.3 Xcode 6.3.1

I am trying to get the user's current location using the Core Location Framework in Xcode 6.3.1, I did following things: Added Core Location Framework under Target-> General-> Linked Frameworks & Libraries My ViewController.h file is as shown below, #import <UIKit/UIKit.h> #import <CoreLocation/CoreLocation.h> @interface ViewController : UIViewController<CLLocationManagerDelegate> @property (weak, nonatomic)...

Why aren't simulators showing in the Xcode 6.3.1 scheme selector?

I cannot seem to build for a simulator in Xcode 6.3.1 The scheme selector only lists iOS Device or my plugged in device as seen below: xcodebuild -showsdks lists it: OS X SDKs: OS X 10.9 -sdk macosx10.9 OS X 10.10 -sdk macosx10.10 iOS SDKs: iOS 8.3 -sdk iphoneos8.3 iOS...

Unable to connect to parse in iOS simulator

I have used parse.com as my backend for my iOS app and the app is unable to connect to parse when tested on a simulator but it works fine when I test it on my phone. Has anyone ever faced a similar issue it would be great if someone can...

Xcode 6.3: Estimated app's store size

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?...

How to back to previous view controller with parameters in swift

TableViewController B shows up when a button in ViewController A is tapped. A user selects an item in B and then is led back to A. I used the following code to go back to A from B. But how can I pass the selected item ([Int: String]) to A?...

How to select item in xcode that is off the view controller?

I am developing an app in xcode 6.3.1. I am having trouble with the layout because a button got pushed off the edge of the view controller and is now hidden.

Assigning PFUser with A PFObject Swift

How can I add a PFUser to a PFObject, here is my code now: var gameScore = PFObject(className: "SiteLog-\(jobName.text)") gameScore["TypeOfWorks"] = "\(typeOfWorks.text)" gameScore["DateAndTime"] = "\(formattedDate)" gameScore.saveInBackgroundWithBlock { (success: Bool, error: NSError?) -> Void in if (success) { // The object has been saved. println("sucessfully sent to parse!") } else {...

Property 'self.*' not initialized at super.init call

I just updated my xcode to 6.3.1. The problem is I got this weird error message since swift 1.2. I got this kind of error message /Users/MNurdin/Documents/iOS/xxxxx/Library/SideBar.swift:32:15: Property 'self.originView' not initialized at super.init call /Users/MNurdin/Documents/iOS/xxxxx/Library/SideBar.swift:38:20: Immutable value 'self.originView' may only be initialized once on this code let originView:UIView? override init()...

Is there a way to show the entire simulator screen?

This is what the screen displays on my MacBook. After I updated Xcode, it changed from showing the entire screen of the device to showing part of the screen. I now have to scroll to see everything that would be displayed on the screen. ...

Code in xcode 6 no longer working in xcode 6.3.1

before this to delete a cell value in UItableview i use the following code and it works as it should .... but now it give me an error. THE ERROR: Cannot invoke 'deletedObjects' with an argument list of type '(NSManagedObject)' on the following line: context.deletedObjects(results[indexPath.row] as NSManagedObject) How to fix...

SWIFT + Parse signUpInBackgroundWithBlock no longer works: Xcode 6.3.1 [duplicate]

This question already has an answer here: Parse SDK methods not working in Xcode 6.3 Beta 5 answers I'm using the latest parse code from the parse.com for user.signupInBackgroundWithBlock user.signUpInBackgroundWithBlock { (succeeded: Bool?, error: NSError?) -> Void in if let error = error { let errorString = error.userInfo?["error"] as?...