xcode4.4

Automatically @synthesized properties in Xcode 4.4

混江龙づ霸主 提交于 2019-11-28 08:55:58
From the Xcode 4.4 release notes: The compiler automatically calls @synthesize by default for unimplemented @properties What exactly does the new default synthesizer look like? Does it create a variable of the same name as the property (or does it prefix it with an underscore, which seems to be a good practice, but required extra typing so far)? the default is @synthesize propertyName = _propertyName 来源: https://stackoverflow.com/questions/11666008/automatically-synthesized-properties-in-xcode-4-4

Localization - Add additional language to localizable.strings file

假如想象 提交于 2019-11-28 08:26:22
I have found this post about how to add localization to an app. The answer is very extensive and very helpful. There is just one thing: When selecting the 'Localizable.strings' file I open the File Inspector and I click on the button 'Make localized..' within the Localization pane. In the pop-up I can select a language but there is actually only one language to select form; English. There are no other options. But OK, having the option English selected I click on the button 'Localize'. Now, in the file inspector, within the Localization pane I see the option English selected. My problem: I do

Is there any way to get the neat Objective-C literal indexing feature in Xcode 4.4?

☆樱花仙子☆ 提交于 2019-11-28 06:38:29
I read all about the new Objective-C literals, and used Xcode to convert my old code, but the indexing code didn't change. I changed it by hand but then it wouldn't compile. I saw a post that said we have to wait until iOS 6, but I want the indexing NOW! Is there any solution? David H Well, there is a way to do it! Add the indexing methods as a category to NSArray and NSDictionary, and you can get the feature for most of the classes you'd want it for. You can read up on ObjectiveC literals here . And thanks to James Webster's solution for @YES and @NO you can use them properly in your projects

CorePlot failed to build in XCode 4.4

≯℡__Kan透↙ 提交于 2019-11-27 15:15:43
I am using CorePlot 0.3, everything was ok until I upgraded XCode to 4.4 (2 days ago), CorePlot failed to build and I got some errors with message: 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 I have tried to search and it seems there are many people have a same problem, and I also found some suggestions and solution to fix it, I have applied to my CorePlot version but no luck, the issue appear in some classes such as: CPTPlot.m,

Xcode 4.4 error - Timed out waiting for app to launch

浪尽此生 提交于 2019-11-27 11:51:45
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? I had a similar issue when trying to debug an App with Ad-Hoc provisioning... Check which provisioning you're using, it seems ad-hoc

xcrun: Error: could not stat active Xcode path '/Volumes/Xcode/Xcode45-DP1.app/Contents/Developer'. (No such file or directory)

不想你离开。 提交于 2019-11-27 06:08:24
I've been beating my head against the desk all day trying to fix this!!! I have tried the suggested xcode-select -switch /path/to/xcode/ as suggested here but it still gives me this error! I have now completely removed XCode 4.4 and the command line tools as well, and running the xcrun still gives me this error! Even installing a new copy of Xcode and the command line tools produces this error!! Result of commands.. sh-3.2# xcode-select -print-path /Applications/Xcode.app/Contents/Developer sh-3.2# xcrun -find xcrun: Error: could not stat active Xcode path '/Volumes/Xcode/Xcode45-DP1.app

Localization - Add additional language to localizable.strings file

北城以北 提交于 2019-11-27 02:13:11
问题 I have found this post about how to add localization to an app. The answer is very extensive and very helpful. There is just one thing: When selecting the 'Localizable.strings' file I open the File Inspector and I click on the button 'Make localized..' within the Localization pane. In the pop-up I can select a language but there is actually only one language to select form; English. There are no other options. But OK, having the option English selected I click on the button 'Localize'. Now,

xcrun: Error: could not stat active Xcode path '/Volumes/Xcode/Xcode45-DP1.app/Contents/Developer'. (No such file or directory)

我与影子孤独终老i 提交于 2019-11-26 11:52:49
问题 I\'ve been beating my head against the desk all day trying to fix this!!! I have tried the suggested xcode-select -switch /path/to/xcode/ as suggested here but it still gives me this error! I have now completely removed XCode 4.4 and the command line tools as well, and running the xcrun still gives me this error! Even installing a new copy of Xcode and the command line tools produces this error!! Result of commands.. sh-3.2# xcode-select -print-path /Applications/Xcode.app/Contents/Developer