xcode5

XCode 5 crash on loading the project

末鹿安然 提交于 2020-01-02 23:12:21
问题 My Xcode 5 crashes each time i want to open a project. I deleted the derived data, the cache, the preferences and reinstall xcode. I don't know what i should do know. I can't work. Here is the failure message. PLease help me. I looked a lot about this in the internet. Crashed Thread: 0 Dispatch queue: com.apple.main-thread Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Application Specific Information: ProductBuildVersion: 5A1413 ASSERTION FAILURE

Terminating with uncaught exception of type NSException (xcode 6)

限于喜欢 提交于 2020-01-02 10:03:06
问题 Terminating app due to uncaught exception: 'NSInternalInconsistencyException', reason: '-[UIViewController _loadViewFromNibNamed:bundle:] loaded the "ViewController" nib but the view outlet was not set. I am getting this error in xcode 6. I know how to set view outlet in xcode 5 or below version (go to connection inspector drag outlet radio button to file's Owner then it pop with a view and then click on view sets the outlet) but view popup is not comming in xcode 6 (beta). Is it a xcode 6

Terminating with uncaught exception of type NSException (xcode 6)

*爱你&永不变心* 提交于 2020-01-02 10:02:52
问题 Terminating app due to uncaught exception: 'NSInternalInconsistencyException', reason: '-[UIViewController _loadViewFromNibNamed:bundle:] loaded the "ViewController" nib but the view outlet was not set. I am getting this error in xcode 6. I know how to set view outlet in xcode 5 or below version (go to connection inspector drag outlet radio button to file's Owner then it pop with a view and then click on view sets the outlet) but view popup is not comming in xcode 6 (beta). Is it a xcode 6

Appengine cloud endpoint messages and iOS Core Data

荒凉一梦 提交于 2020-01-02 09:12:42
问题 I have an endpoint message from Google Cloud Endpoint that I would like to persist in iOS Core Data. The endpoint message look like this .h #if GTL_BUILT_AS_FRAMEWORK #import "GTL/GTLObject.h" #else #import "GTLObject.h" #endif @class GTLFarmercloudendpointChicken; @class GTLFarmercloudendpointPig; @class GTLFarmercloudendpointCow; // ---------------------------------------------------------------------------- // // GTLFarmercloudendpointFarmer // @interface GTLFarmercloudendpointFarmer :

Exclude a file from Xcode when searching

旧巷老猫 提交于 2020-01-02 04:55:24
问题 Is it possible to exclude files in a project from Xcode when searching? I have some JSON files in my project and Xcode constantly locks up if it finds matches in these files. 回答1: You can define custom search scope for your search. Custom scope can be define, save, and reuse specific location and file criteria for searches. Now you can add as as many file names as you want. More details on how to use custom search scope can be found here- https://developer.apple.com/Library/ios/recipes/xcode

Xcode custom compiler which wraps and does a passthru to clang

ε祈祈猫儿з 提交于 2020-01-02 04:29:07
问题 I'm trying to implement a certain pre-compilation effect on objective-C code (explained here). I've managed to get a custom compiler in place in Xcode 5 following these helpful instructions. However my passthru attempt to clang results in an error: My custom compiler's executable: #!/bin/bash clang "$@" Error message: While building module 'UIKit' imported from /Users/Club15CC/Google Drive/Code/Frogger/Frogger/Frogger-Prefix.pch:14: ... In file included from /Applications/Xcode.app/Contents

Xcode Developer Preview: Cannot Run on Device

蓝咒 提交于 2020-01-01 19:01:29
问题 When trying to run any project in an Xcode Developer Preview (Xcode 5 DP6 in my case), the app is not started and the following error message appears: Could not launch "" - No such file or directory (/private/var/mobile/Applications/741F0826-E354-4E13-9CC3-0FB3A66E8798/.app) 回答1: The solution was very simple in my case, in Terminal just execute sudo xcode-select -switch /Applications/Xcode5-DP6.app/Contents/Developer/ with the path for the currently used Xcode Developer Preview. Do not forget

xcode-select -switch doesn't work: active developer path does not exist

感情迁移 提交于 2020-01-01 09:06:12
问题 I have installed Xcode 5 developer preview 3. Before it i had developer preview 2 and now, sometimes in my terminal I see error, for example when I try to autocomplete some commands by tab: error: active developer path ("/Applications/Xcode5-DP2.app/Contents/Developer") does not exist, use xcode-select to change I try to change this directory by executing command: sudo xcode-select -switch /Applications/Xcode5-DP3.app/Contents/Developer Now xcode has correct path because command sudo xcode

how to set iOS 6/7 Deltas programmatically

天大地大妈咪最大 提交于 2020-01-01 08:04:57
问题 I was developing a UISplitView app by using Xcode 4.6 when I left iOS6 I had design: Now I migrate to new Xcode5 and now I have this design: UINavigationBar overlaps completelly my UISearchBar... Leo Natan told me about using a iOS 6/7 Deltas but since I'm creating and adding my UISplitViewControllers programmatically, this may doesn't work I need to set the iOS 6/7 programmatically but I don't know how, any help I'll appreciate 回答1: In iOS 7 there are now extended edges, and that's why

Why isn't my Asset Catalog returning R4 images?

不羁的心 提交于 2020-01-01 07:35:25
问题 I'm in the process of migrating my images to an Asset Catalog. My app needs to access the Launch Image after launch and display it on the screen. Easy enough, but I have different images for short and tall iPhones, and my iPhone 5 is loading the short launch image when I call [UIImage imageNamed:@"LaunchImage"] . Okay so maybe I can't do this with a Launch Image. I'll try putting some images in a normal Image Set instead. No dice. Using an iPhone 5, when I call [UIImage imageNamed:@"Derp"] OR