xcode4.6

com.apple.InterfaceBuilder error -1. Storyboard Can Not Be Opened

▼魔方 西西 提交于 2019-12-02 05:24:54
问题 I've run into a slight complication with a project and need some assistance. I recently purchased a Mac Mini and wish to begin working on some of my app projects from it. So I copied my files from one machine to the next. Both computers are running XCode Version 4.6.3. Of the 5 projects copied, 4 of them came over just fine. However, the 5th (and naturally the one I wished to work on) cannot open the Storyboard file. I receive the following error when I click on the Storyboard file within my

com.apple.InterfaceBuilder error -1. Storyboard Can Not Be Opened

a 夏天 提交于 2019-12-02 00:55:35
I've run into a slight complication with a project and need some assistance. I recently purchased a Mac Mini and wish to begin working on some of my app projects from it. So I copied my files from one machine to the next. Both computers are running XCode Version 4.6.3. Of the 5 projects copied, 4 of them came over just fine. However, the 5th (and naturally the one I wished to work on) cannot open the Storyboard file. I receive the following error when I click on the Storyboard file within my project: The document "MainStoryboard.storyboard" could not be opened. The operation couldn’t be

Xcode: Autosizing preview window missing

我是研究僧i 提交于 2019-12-01 11:07:42
I am learning iOS and using Apress - Beggining iOS 5 development book. The book says there is a window to preview UI elements's autosizing behaviour in size inspector as: but I can not see such a window. After searching in Xcode windows I realized that that windows actually appearing in a very short time period while switching size inspector to any other section in utilities tab. How can I make it constanly appear? Olcay Ertaş I have found the answer here Xcode 4.3 not presenting Autoresizing panel in Size Inspector Just uncheck "Use Auto Layout" option on file inspector tab: While you are

Xcode: Autosizing preview window missing

泄露秘密 提交于 2019-12-01 07:36:45
问题 I am learning iOS and using Apress - Beggining iOS 5 development book. The book says there is a window to preview UI elements's autosizing behaviour in size inspector as: but I can not see such a window. After searching in Xcode windows I realized that that windows actually appearing in a very short time period while switching size inspector to any other section in utilities tab. How can I make it constanly appear? 回答1: I have found the answer here Xcode 4.3 not presenting Autoresizing panel

Mach-O Linker Error on Xcode 4.6

混江龙づ霸主 提交于 2019-11-30 12:03:09
问题 I have an iOS app on Xcode 4.6 and when I recently tried to build and run in the iPhone 6.1 simulator I got a "Mach-O Linker Error." It continued to say: ld: 17 duplicate symbols for architecture i386 clang: error: linker command failed with exit code 1 (use -v to see invocation) Does anyone know how to solve this? Thanks so much! 回答1: Just go to "Build Phases" -> "Compile Sources" and look for duplicate of classes. 回答2: Check if you have " *.m " files in your #import ! It appears that was my

How do I get exception details in XCode 4.6?

风格不统一 提交于 2019-11-30 06:33:07
问题 I used to get exception details from apps running in the simulator like so: po $eax Ever since I upgraded to XCode 4.6 it's stopped working; I always get this error: error: warning: couldn't get object pointer (substituting NULL): Couldn't find '_cmd' with appropriate type in scope Couldn't materialize struct: Couldn't read eax (materialize) Errored out in Execute, couldn't PrepareToExecuteJITExpression I've seen people recommend using this: register read eax But that gives me this error: eax

Add time and date in custom/user Code Snippet in XCode

倖福魔咒の 提交于 2019-11-29 10:34:09
How can I add date time in my custom code snippet? I need frequent use to add my codes on other codes, and for others, I need to add my name and date time. I created a code snippet with shortcut _ase, but I am not finding any help on net how can I add time to it. You can't add date or time automatically using the native Xcode snippet grammar. Snippets do not have anything other than token substitution using the <#VisibleTokenName#> syntax. File templates are generated differently and have token substitution for a small subset of predefined tokens (like ___DATE___ ) in addition to the ability

Method returning value from asynchronous block with FacebookSDK

拜拜、爱过 提交于 2019-11-29 08:19:20
What I am trying to do is a Facebook wrapper for the Facebook iOS SDK. Basically the idea is that my ViewController should do nothing but showing ex. my friends that will be acquired with a simple call like self.friends = [FacebookWrapper myFriends]; [self.tableView reloadData]; My wrapper myFriends method should look like this + (NSArray *)myFriends { __block NSArray *friends = nil; [FBSession openActiveSessionWithReadPermissions:nil allowLoginUI:YES completionHandler:^(FBSession *session, FBSessionState status, NSError *error) { if(FB_ISSESSIONOPENWITHSTATE(status)) { [FBRequestConnection

“po” command in Xcode 4.6 is very slow the first time

牧云@^-^@ 提交于 2019-11-28 22:28:26
I upgraded to Xcode 4.6 and whenever I debug and I execute "po" for the first time to inspect an object, the debugger takes like 1 minute to return. After that, every "po" command will work fast as usual. Are you guys seeing this as well? Any fix? Thank you Upgrading to 4.6.2 fixed this problem for me in Xcode 来源: https://stackoverflow.com/questions/14760206/po-command-in-xcode-4-6-is-very-slow-the-first-time

Debugging Quicklook Plugin in Xcode 4.6

南笙酒味 提交于 2019-11-28 22:04:52
I am trying to debug a quicklook plugin in Xcode 4.6. I have created the executable in Edit Scheme. Now, when i build the project the plugin is not installed to the "/Library/Quicklook" path. Rather i didn't find it anywhere. I want to run the plugin in debug mode and want to hit the breakpoints so that i can figure out where the plugin crashes on different files. It would be great if someone share his knowledge. Thanks in advance. Mikhail Grebionkin You can use brake points and NSLog function for debugging QL plugin. But first you need to configure environment. Select your project on Project