Xcode 4: How do you view the console?
You need to click Log Navigator icon (far right in left sidebar). Then choose your Debug/Run session in left sidebar, and you will have console in editor area.
You need to click Log Navigator icon (far right in left sidebar). Then choose your Debug/Run session in left sidebar, and you will have console in editor area.
Finally found the answer on somebody’s Twitter. Schemes are stored per user by default, but if you go to Manage Schemes and click the “Shared” checkbox on the far right for each one, they’ll show up in the xcshareddata directory instead of your xcuserdata directory, where they’ll be seen and used by everyone. Hopefully this … Read more
I use this command: sudo /Developer/Library/uninstall-devtools –mode=all Edit (1 year later): If you’ve downloaded Xcode from the App Store, it’s self-contained, as @mediaslave suggests. You can just drag it to the trash or use AppZapper (or a similar utility) to remove the developer tools. If you’re looking to update it, you can also do that … Read more
You should be looking at the same place you get NSLOGS And you should Go to Product -> Edit Scheme -> Then from the left panel select Run YOURAPP.app and go to the main panel’s Arguments Tab. There you can add an Argument Passed On Launch. You should add -com.apple.CoreData.SQLDebug 4 (number between 1 and … Read more
I just had the same problem. It has been fixed. It came after I submitted an app and installed a few certificates to sign the app. Quick Fix: Open up KEYCHAIN ACCESS > click on MY CERTIFICATES> in there you will probably see iPhone Developer: . You will probably see it TWICE! Select the one … Read more
If you like your code to look as good as it runs, you’ve undoubtedly used #pragma mark – and #pragma mark <name> to provide a nice visual grouping in the Xcode class dropdown list. Xcode 4 now combines these into a single #pragma mark – <name>. More on pragma mark.
I had the same problem. But I have resolved it. Yes, you can disable auto layout at runtime for a specific UIView, instead of disabling it for the whole xib or storyboard which is set by default in Xcode 4.3 and later. Set translatesAutoresizingMaskIntoConstraints to YES, before you set the frame of your subview: self.exampleView.translatesAutoresizingMaskIntoConstraints … Read more
You wouldn’t change the existing templates. In other words, don’t modify anything under the /Developer hierarchy (or wherever you installed your developer tools). Instead, clone the templates you want to have customized variants of. Then change their names and the information in them. Finally, put them in the appropriate location in your account’s Library/Application Support … Read more
If you get this sort of thing appearing suddenly, it usually means the project is missing some frameworks it needs. Libraries and dependent projects can require frameworks, so if you’ve added one recently then that can cause this error. To add frameworks, right click on the project name in the project view, select Add, then … Read more
You need to click on the scheme button, then hit “Manage Schemes”. Once you do so, you’ll have a window like this: Select the scheme you want to change, and hit Return. Now the scheme name will be editable, and you can change it to your hearts desire. Then hit Return again to save it.