xcode4.5

Will installing XCode 4.5 remove iOS Simulator 5.1?

青春壹個敷衍的年華 提交于 2019-12-21 09:29:53
问题 I have 2 machines. On one of them I updated to xcode 4.5, but doing so uninstalled my iOS simulator for 5.1. I'm hesitant to update my other machine as I have a project that requires the 5.1 simulator. Are my assumptions correct or did I do something to remove the older simulator without knowing? 回答1: You can redownload the simulator in the Xcode preferences. 回答2: Download Xcode 4.3.3 for lion and open the dmg, and click and show package contents,and copy the Contents\Developer\platforms

CopyPNGFile error

前提是你 提交于 2019-12-21 07:36:28
问题 When I archive the application I get CopyPNGerror for all images in my project.I tried all means deleting all the images,adding them again,check Build Phases(copy bundle resources).No duplicates are found.I couldnot understand what to do further and submit the app.When I archive another application with same images archive is successful CopyPNGFile "/Users/admin/Library/Developer/Xcode/DerivedData/App1-auevnkwujohdqtflzyputmxbvrmt/Build/Intermediates/ArchiveIntermediates/App

Will removing support for armv7s architecture still work fine for the iPhone 5 screen?

橙三吉。 提交于 2019-12-21 05:22:00
问题 I am using Xcode 4.5 and using the base SDK, iOS6 and am porting my app for iPhone 5. Some of the libraries that I use for my app are still not built for armv7s architecture. Will removing support for armv7s architecture still work fine for the iPhone 5 screen? Or, will I see black letterboxes? It works fine on the simulator though. Would like to know if anyone got a chance to test this case. 回答1: Yes, it should work fine. The deciding factor for whether your code will letterbox is the

When recording using UIAutomation on a device, it hangs on 'Starting Capture…' . Works fine on Simulator

≯℡__Kan透↙ 提交于 2019-12-21 05:12:23
问题 Has anyone else had this problem? I'm new to UIAutomation. Am using Xcode4.5, trying to record commands on my iPad 3 running ios6. When I click the record button, it just hangs on 'Starting Capture...'. I had this problem initially when trying to run on the simulator and was able to solve it using. sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer. Can't seem to get it working on my device. Do the accessibility settings need to be set a certain way? I have multi-tasking

how to disable auto layout by default for xcode 4.5?

时光毁灭记忆、已成空白 提交于 2019-12-20 14:17:32
问题 A question here: Xcode 4.5 corrupting XIBs? illustrates the problem and solution for xcode 4.5 creating nib files that can not run on ios5. Does anyone have a solution to prevent the auto layout checkbox from being defaulted to on? I'm worried that in the process of development, I will forget to unchecked that box. 回答1: There's a way, but it's kinda convoluted and, I might add, not recommended. You can open your template files located in: /Applications/Xcode.app/Contents/Developer/Platforms

how to disable auto layout by default for xcode 4.5?

假装没事ソ 提交于 2019-12-20 14:17:10
问题 A question here: Xcode 4.5 corrupting XIBs? illustrates the problem and solution for xcode 4.5 creating nib files that can not run on ios5. Does anyone have a solution to prevent the auto layout checkbox from being defaulted to on? I'm worried that in the process of development, I will forget to unchecked that box. 回答1: There's a way, but it's kinda convoluted and, I might add, not recommended. You can open your template files located in: /Applications/Xcode.app/Contents/Developer/Platforms

IBOutlet link to embedded view controller

倾然丶 夕夏残阳落幕 提交于 2019-12-20 09:47:58
问题 I have a complex iPad view that I manage by having several view controllers. I previously (before iOS6/XCode 4.5) did this by allocating my view controllers in code, and hooked up the various views to them though links to the master view. What I would like to do is use the new container views to embed the view controllers in the storyboard file. I don't seem to be able to make an IBOutlet link to the embedded view controller to the master controller. Is it possible to do this? Or to retrieve

Can't exclude user interface state from commit in xcode

∥☆過路亽.° 提交于 2019-12-20 08:39:57
问题 I can't exclude user interface state file from commit. Every time I'm trying to push to github it asks me to commit first and insert user interface state file into the changes (even if I didn't move the mouse or interface at all it still is shown to commit!). I tried different methods, described in other similar topics. For example, I tried to add all possible cases of user interface into the .gitignore in root, like this: *.xcuserstate project.xcworkspace xcuserdata UserInterfaceState

In Objective-c how can we have a variable whose scope is the whole class (but doesn't include subclasses)

[亡魂溺海] 提交于 2019-12-20 05:50:25
问题 I created tons of subclasses of UITableViewCell. Each of which is a subclass of an additional BGBaseTableViewCell class. When asked for height, I think it'll be useful to tell users what's the typical size of the UITableViewCell. One way to do it is to specify that twice. One when I design the UITableViewCell in xib, and the second time when I hard coded the typical size. This is a design flaw because then I will need to remember to change the hard coded typical size when I change the stuff

Xcode 4.4 & 4.5 freezing on project close

百般思念 提交于 2019-12-20 04:15:39
问题 Ever since upgrading to Xcode 4.4 and again upgrading to 4.5 (running on Lion), Xcode appears to freeze for about 3-5 minutes every time I close my app project or quit. During this time, activity monitor shows that the CPU is pegged at 95%, although little disk activity is occurring. I have tried uninstalling and re-installing Xcode and this didn't make a difference. Anyone else experiencing this? Any suggestions what I could do? Thanks in advance! 回答1: This issue is reported: https:/