xcode4.4

Xcode 4.4 error - Timed out waiting for app to launch

守給你的承諾、 提交于 2019-12-17 10:33:20
问题 yesterday I installed Xcode 4.4. I'm working on a project which needs to run on ios 4.1 upwards, supporting iOS device with camera. Until I installed Xcode 4.4 everything went well, and I can test app on iphone 3gs and 4s. After I installed Xcode 4.4 I was unable to test app on iphone 3gs, and everytime I try to do it, xcode shows me that message: - Could not lauch "appname". timed out for app to lauch - Does someone have any idea how to get rid of that error? 回答1: I had a similar issue when

Xcode 4.4 error - Timed out waiting for app to launch

最后都变了- 提交于 2019-12-17 10:33:08
问题 yesterday I installed Xcode 4.4. I'm working on a project which needs to run on ios 4.1 upwards, supporting iOS device with camera. Until I installed Xcode 4.4 everything went well, and I can test app on iphone 3gs and 4s. After I installed Xcode 4.4 I was unable to test app on iphone 3gs, and everytime I try to do it, xcode shows me that message: - Could not lauch "appname". timed out for app to lauch - Does someone have any idea how to get rid of that error? 回答1: I had a similar issue when

clang: error: -Z-reserved-lib-stdc++: 'linker' input unused when '-c' is present after update to xCode 4.4 [closed]

☆樱花仙子☆ 提交于 2019-12-12 16:08:22
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 2 years ago . I've just updated xcode to the 4.4 version and the project I am currently working on is complaining with: clang: error: -Z-reserved-lib-stdc++: 'linker' input unused when '-c' is present Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang failed with exit code 1

Simulator keeps crashing in Xcode 4.4

▼魔方 西西 提交于 2019-12-12 14:22:05
问题 When ever I run my app in Xcode 4.4 the simulator fails to open, "iOS Simulator quit unexpectedly." It runs on perfectly on the device though. 回答1: I solved by installing xcode 4.5 and ios sdk 6. Now all work fine. 回答2: You may have had a bad build on the Simulator, which is now messing things up. Clean your code (Product > Clean in XCode) Reset your simulator settings (iOS Simulator menu > Reset Content and Settings) That should do it. 回答3: I Had the same problem i just did following steps

XCode 4.4 iOS 5.1 Simulator problems

醉酒当歌 提交于 2019-12-12 07:46:04
问题 i updated my mac book to mountain lion and Xcode to the 4.4 version. In the pre version I had no problems with closing the iOS simulator and Xcode stopped automatically the building process but now if I close the iOS simulator the build process in Xcode is still running and I have to force quit Xcode because it freezes. Does anyone recognize this bug, or can you help me to solve this problem? 回答1: As a workaround, I've noticed that Running (⌘ + R) and then Bulding (⌘ + B) product succesfully

attempt to call symbol that is not present in system libraries (llvm_gcda_start_file)

扶醉桌前 提交于 2019-12-11 04:37:01
问题 I'm trying to follow the instructions in XCode - Code Coverage? and Code Coverage on Xcode 4.4.1 The .gcno files are generated in DerivedData, but I can't get it to generate the .gcda files. When I press the home button the logs say: Detected an attempt to call a symbol in system libraries that is not present on the iPhone: fopen$UNIX2003 called from function llvm_gcda_start_file in image MyApp. (lldb) 回答1: As per Xcode Code Coverage and fopen$UNIX2003 and Code coverage with Xcode 4.2 -

Getting a nil path from NSBundle

风格不统一 提交于 2019-12-10 17:42:01
问题 I have created a new folder in my project in which I have copied an image (called "io.jpg"). I also have checked on build phases -> copy bundle resources and the file is there. So I am trying to get the path of this image: NSBundle* bundle=[NSBundle mainBundle]; NSString* path=[bundle pathForResource: @"io" ofType: @"jpg"]; NSLog(@"%@",path); But it prints (null), I also have tried this way: NSBundle* bundle=[NSBundle mainBundle]; NSString* path=[bundle pathForImageResource: @"io"]; NSLog(@"%

New Objective-c Literals in 4.4

一个人想着一个人 提交于 2019-12-10 09:26:46
问题 I can write @42 , which creates an NSNumber with int value 42. Can I do this with a variable, like @someIntVar ? Obviously I tried it and it doesn't work (which sucks because then I have to go through [NSNumber numberWithInt:someIntVar] ). Is it possible with a slightly different syntax? 回答1: I strongly suggest you read the official clang documentation on the matter: http://clang.llvm.org/docs/ObjectiveCLiterals.html But, to box a variable, or any expression, you can use parentheses: id num =

Xcode 4.4 unable to rename classes/variables

ε祈祈猫儿з 提交于 2019-12-08 19:04:09
问题 On both Xcode 4.4 and 4.4.1 I'm experiencing the same issue in that with the specific project I'm working on, I don't seem to be able to rename any classes or variables from the Refactor menu option. Each time I try and do a rename, I type in the new name for the class/variable and click Preview at which point the bottom left begins a spinner with Finding files... . However, I then get a message saying: The selection is not a type that can be renamed. Make a different selection and try again.

How do I resolve avoid duplicate symbols in common transitive Xcode dependencies?

不羁的心 提交于 2019-12-07 15:18:32
问题 I have the following Xcode project dependencies: A -> C B -> C When I build these separately, everything works fine. However, I want to add A and B to the same Xcode project, creating the following dependency graph: / -> A -> C D-< \ -> B -> C This causes duplicate symbol errors, and is basically DLL hell. What is a good way to resolve this while allowing the projects to be independent? I realize that I could break up A and B 's dependency on C , and then remake that dependency in D , but I