xcode6

Xcode 6: Build hangs and Interface Builder Cocoa Touch Tool starts allocating all RAM

北城余情 提交于 2019-12-18 10:46:17
问题 I’m having an issue to which I haven’t been able to find a solution just by searching here or on Google. I’m building a project which is shared by multiple developers. For some reason I’m the only one with this issue. I checked out the code several times and even re-installed Xcode. So what happens is that when I build the project the build process hangs forever. A process called “Interface Builder Cocoa Touch Tool” runs and starts accumulating RAM until it reached the Mac’s limit (which is

iOS Simulator 7.1 crash running on Yosemite with weak linked new frameworks (Symbol not found: _objc_isAuto)

☆樱花仙子☆ 提交于 2019-12-18 10:43:19
问题 I have just updated to xCode 6.1 and had to reinstall my iOS 7 simulators. I can run my app on all the simulators apart from the 5s iOS 7.1 sim. I get this crash dyld: Symbol not found: _objc_isAuto Referenced from: /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation Expected in: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.1.sdk/usr/lib/libobjc.A.dylib in /System/Library/Frameworks/CoreFoundation

iOS Simulator 7.1 crash running on Yosemite with weak linked new frameworks (Symbol not found: _objc_isAuto)

时光总嘲笑我的痴心妄想 提交于 2019-12-18 10:42:12
问题 I have just updated to xCode 6.1 and had to reinstall my iOS 7 simulators. I can run my app on all the simulators apart from the 5s iOS 7.1 sim. I get this crash dyld: Symbol not found: _objc_isAuto Referenced from: /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation Expected in: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.1.sdk/usr/lib/libobjc.A.dylib in /System/Library/Frameworks/CoreFoundation

Next/Done button using Swift with textFieldShouldReturn

懵懂的女人 提交于 2019-12-18 10:33:58
问题 I have a MainView that adds a subview (signUpWindow) when a sign up button is pressed. In my signUpWindow subview (SignUpWindowView.swift), I set up each field with a function, as an example: func confirmPasswordText() { confirmPasswordTextField.frame=CGRectMake(50, 210, 410, 50) confirmPasswordTextField.placeholder=("Confirm Password") confirmPasswordTextField.textColor=textFieldFontColor confirmPasswordTextField.secureTextEntry=true confirmPasswordTextField.returnKeyType = .Next

unable to dequeue a cell with identifier Cell - must register a nib or a class for the identifier or connect a prototype cell in a storyboard

淺唱寂寞╮ 提交于 2019-12-18 10:11:28
问题 I am fairly new to coding in general and really new to Xcode (Swift). I understand that I need to register a nib or a class but I don't understand 'where or how?'. import UIKit class NotesListViewController: UITableViewController { @IBOutlet weak var menuButton: UIBarButtonItem! override func viewDidLoad() { super.viewDidLoad() NSNotificationCenter.defaultCenter().addObserver(self, selector: "preferredContentSizeChanged:", name: UIContentSizeCategoryDidChangeNotification, object: nil) // Side

UIStatusBarStyle not working in Swift

二次信任 提交于 2019-12-18 09:58:13
问题 I'm trying to change the Status Bar color in my Swift app to white, but am hitting a brick wall. I have 3 ViewControllers that are each embedded in a NavigationController (could that be the issue? I've already tried to place the code in the NavigationController class.) I've tried both of the following pieces of code in the didFinishLaunchingWithOptions of my AppDelegate.swift file but neither worked. application.statusBarStyle = .LightContent and UIApplication.sharedApplication()

Simulator error FBSSystemServiceDomain code 4

两盒软妹~` 提交于 2019-12-18 09:55:20
问题 I'm trying to run an app in the simulator but get this error message: Unable to run app in Simulator An error was encountered while running (Domain = FBSSystemServiceDomain, Code = 4) I've not seen any previous references to this from googling around. Its using XCode 6 Beta, the app is in Swift which links to a Obj-C static library. It runs fine on the device. Any ideas? 回答1: Go to the iOS Simulator menu and select Reset Content and Settings. Alternatively, you could quit and reopen the

Integrate iAd pre-roll video integration in my app?

痴心易碎 提交于 2019-12-18 09:39:20
问题 I want to integrate an iAd Pre-Roll video Ad to my application. When I run this application, it gives me this error: Domain=ADErrorDomain Code=0 "The operation couldn’t be completed. (ADErrorDomain error 0.) I want to know if this code is correct or incorrect. Thanks for your help. import UIKit import MediaPlayer import iAd class ViewController: UIViewController { var moviePlayer : MPMoviePlayerController! override func viewDidLoad() { super.viewDidLoad() let url = NSBundle.mainBundle()

Custom UITableviewcell shows “fatal error: Can't unwrap Optional.None” issue in swift

强颜欢笑 提交于 2019-12-18 09:33:58
问题 I need to load a custom cell in a UITableView. I created a custom subclass of UITableViewCell named "CustomTableViewCell". I have added a UITabelViewCell to the tableview (using drag and drop) as shown in figure. Then in file inspector I set the class of that UITabelViewCell to be "CustomTableViewCell". Here is my code: class ViewController: UIViewController,UITableViewDelegate,UITableViewDataSource { @IBOutlet var tableView : UITableView var items = String[]() override func viewDidLoad() {

Overlapping cells in static tableview built using storyboard

一笑奈何 提交于 2019-12-18 09:16:20
问题 All, I'm using the Xcode 6 beta to build an iOS8 project using storyboard and swift. In the storyboard, I've created a Table View Controller as my primary view when the application loads and have added a label to the first cell and a label to the second cell. The table looks fine in the storyboard, but when I run the application, the cells overlap. This is a brand new project with no other changes made or code added. You can see both the storyboard and the running application in the photo