2012-08-12 Xcode 4.4 won't quit
I've had a problem with Xcode 4.3 and 4.4 where it will not quit after stopping the simulator. The problem . . . is that Xcode thinks that tasks are running (even with the . . . not running). The only solution is to force-quit Xcode, which is a pretty major interruption in your . . . Failure to stop executing task in Xcode 4.3] . . . . . .
2K - last updated 2013-02-20 15:18 UTC by 1461
2012-11-11 Starting with storyboard
I've never seriously worked with the storyboard before in Xcode, so here's a summary of what I've gathered . . .
2K - last updated 2012-11-14 08:15 UTC by 1461
2013-10-25 What is new in OS X Mavericks
I'm running a little comparison of the file system of a Mavericks install and a Mountain Lion install, . . . (like /usr/bin/cc) will instead call this Xcode installation utility * Keychain Circle Notification . . .
5K - last updated 2013-12-06 10:09 UTC by 1461
2015-01-16 RestKit Error
Today I got a weird exception in the Xcode console of my iOS project: *** Terminating app due to uncaught . . .
1K - last updated 2015-01-16 08:41 UTC by 1461
2015-04-30 edit in vi from Xcode
Purely looking at the editing part, I find vi much more powerful than Xcode. If you want to do a quick . . . terminal, and edit away! [[image:quick_vi_from_Xcode.gif]] . . .
1K - last updated 2015-04-30 10:45 UTC by 1461
2015-05-03 HealthKit error when uploading to the App Store
Currently I'm getting an error when uploading a new binary to the App Store: '''Apps that use the entitlements . . . I removed all traces from the project in Xcode. When I have a solution, I'll post it here. Edit: . . .
1K - last updated 2015-05-03 14:45 UTC by 1461
2015-06-19 QuickLook for mobileprovision files
[http://furbo.org/2013/11/02/a-quick-look-plug-in-for-provisioning/ Craig Hockenberry wrote a Quick Look] . . . To debug provisioning profiles, don't let Xcode manage them. Instead when you need to run your . . . Profiles</tt> Now go to Xcode. Since version 6, you can view provisioning profiles . . . by going to menu Xcode -> Preferences. In the Accounts tab, select your . . .
2K - last updated 2015-06-19 13:09 UTC by 1461
2015-08-07 Swift Reflect example
Halfway last month, Erica Sadun wrote a blog entry where she used the <tt>reflect()</tt> function: [http://ericasadun.com/2015/07/14/swift-just-because/ . . . The built-in Swift reflect() function is used by Xcode to aid in debugging let mirror = reflect(item) . . .
2K - last updated 2015-08-07 15:27 UTC by 1461
2015-08-21 lastPathComponent is unavailable
You may get something like the following error when you open your Swift code in Xcode 7 beta: 'lastPathComponent' . . .
1K - last updated 2015-08-21 13:15 UTC by 1461
2015-08-27 Open underlying SQLite database when using Core Data
During development of an app using Core Data, you often want to have a quick peep in the underlying SQLite . . . your app, copy the string from the console in Xcode, then go to SQLPro and click the Open button. . . .
1K - last updated 2015-08-27 07:04 UTC by 1461
2015-08-31 Centered popover on the iPad
Below is a nice centered popover on the iPad: [[image:popover1.png]] You can do this by configuring the . . . the main view of the view controller This is in Xcode 6.4: [[image:xcode_popover.png]] It also nicely . . .
1K - last updated 2015-08-31 10:55 UTC by 1461
2015-09-15 Xcode eating up diskspace in Library folder
'''Edit 2015-09-25: Don't remove simulators as suggested below. It may stop Xcode from running Playgrounds.''' . . . Xcode can eat up quite an amount of disk space. An . . . Library/ Take the following steps: * Go to the Xcode menu bar, pick Window -> Projects. Remove old . . .
1K - last updated 2015-09-25 09:02 UTC by 1461
2015-11-20 Xcode tip
A nice tip for when you're pair programming and you're both sitting somewhat farther from the monitor . . . than usual: big fonts in Xcode. Go to Xcode -> Settings, then select the Fonts . . . style available called "Presentation". [[image:xcode_presentation_style.png]] . . .
1K - last updated 2015-11-20 09:15 UTC by 1461
2016-03-18 Updating Xcode
[http://ericasadun.com/2016/03/22/xcode-upgrades-lessons-learned/ Erica Sadun about updating Xcode]. . . . The Mac App Store prompted her to update Xcode, and that's what she did. Unfortunately, the . . . going to the [https://developer.apple.com/xcode/download/ Xcode downloads page], click on the . . . installation to, for example /Applications/Xcode-7.2.app so I always can go back. And from the . . . nicely compiles and deploys, I remove the old Xcode installation. As an aside, I really hope Apple . . .
2K - last updated 2016-03-23 07:06 UTC by 1461
2016-06-02 Good error messages in Xcode Run Scripts phase
Xcode has an option to run a script when building. This is necessary for example when using [https://github.com/Carthage/Carthage . . .
2K - last updated 2016-06-06 12:43 UTC by 1461
2016-11-08 AutoLayout in a playground
What got me confused today, was how to play with AutoLayout in a Playground. The trick is to first create . . . that use AutoLayout. The following works for Xcode 8.1: import UIKit let view = UIView(frame: CGRect(x: . . . view Screenshot: [[image:autolayout_in_Xcode_2016-11-08.png]] . . .
2K - last updated 2016-11-08 13:05 UTC by 1461
2017-04-04 UITextView with placeholders
For my current project, the user needs to select a template from a list. The template contains a number . . . an example Xcode project on GitHub] which shows how this can be . . .
1K - last updated 2017-04-04 11:36 UTC by 1461
2017-09-17 Replacing NSTimer in Swift 4
For repeated calling of a function, the Timer class is available (used to be called NSTimer). So perhaps . . . } When you move your project to Swift 4 (via Xcode 9), then first you get the following warning: . . .
2K - last updated 2017-09-17 10:09 UTC by 1461
2017-11-06 Xcode 9.1 unknown error
After upgrading to Xcode 9.1 (build 9B55), the following error would be shown in a modal dialog after . . . opening an Xcode project: An unknown error occurred the path 'xxxxxx' . . . is fixed by removing the path its reference from Xcode, then add it again. . . .
1K - last updated 2017-11-06 08:40 UTC by 1461
2018-08-27 Two useful Xcode shortcut keys
I found out about two extremely useful Xcode shortcut keys: Ctrl+Cmd+[ or ] to cycle through the active . . .
1K - last updated 2018-08-27 10:56 UTC by 1461
2019-08-01 border is deprecated Use a RoundedRectangle shape
Moving from Xcode 11 beta 4 to beta 5, you may get a warning when you have borders in your code: Text("In . . .
1K - last updated 2019-08-01 07:28 UTC by 1461
2019-09-16 Objective-C project without storyboard in Xcode 11
Create a new project and open the ViewController.h. Optionally add the following lines to viewDidLoad: . . .
2K - last updated 2019-09-16 07:03 UTC by 1461
2020-05-27 Fixing a slow build in Xcode
If your Xcode project isn't compiling as fast as you expect, open the build settings of target that you're . . .
1K - last updated 2020-05-27 08:26 UTC by 1461
2020-07-16 Error in SwiftUI preview
Today, one SwiftUI Preview would not show anything. The Diagnostics button showed the following error: . . . "x86_64", sdkRoot: "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.6.sdk") . . .
1K - last updated 2021-01-15 07:40 UTC by 1461
2021-01-22 Error in SwiftUI Previews part deux
Today Xcode refused to show previews for one view, displaying "Cannot preview this file" on top of the . . . temporarily fix the problem as follows: * Quit Xcode and simulator * Delete the ~/Library/Developer/Xcode/DerivedData . . . folder * Start Xcode and simulator * Remove all unittests from the . . .
1K - last updated 2021-01-22 10:40 UTC by 1461
2021-10-20 Generic parameter Destination could not be inferred
Xcode 13.0. If you're banging out SwiftUI code, and you got the following error message: Generic parameter . . .
1K - last updated 2021-10-20 10:53 UTC by 1461
2021-12-02 SwiftUI NavigationLink Extraneous argument label isActive in call
Today, in Xcode 13.1, I got the following error: Extraneous argument label 'isActive:' in call Accompanied . . .
1K - last updated 2021-12-02 15:26 UTC by bartvk
2022-03-03 Xcode Dependencies could not be resolved
Today, Xcode gave me the following error: Dependencies could not be resolved because root depends on . . .
2K - last updated 2022-03-03 10:27 UTC by bartvk
2022-05-23 Xcode Package.resolved file is corrupted or malformed
Today Xcode gave me the error "Package.resolved file is corrupted or malformed; fix or delete the file . . . file, doing a "clean build folder", then quit Xcode and the simulator. Then started Xcode again and . . . when you encounter this behavior. In our case, Xcode actually downgraded some dependant package in . . . Note that this is NOT the same as the error that Xcode 13.2.1 or lower shows when someone else opened . . . or higher. From that 13.3 version and upwards, Xcode will upgrade the Package.resolved file to a new . . .
2K - last updated 2022-05-23 09:10 UTC by bartvk
2022-09-14 Getting an unescaped JSON string from Xcode console
If you're debugging an app, you may want to copy raw JSON in Xcode, then paste it into a specialized . . . app. The problem is, Xcode doesn't make it obvious how to actually do this. . . . breakpoint at the appropriate line of code, and Xcode listed the variables in the Variables View. In . . .
1K - last updated 2022-09-14 09:20 UTC by bartvk
2022-09-15 Xcode linker error ld framework not found
Today I got the following error when trying to build my unittest for my Swift package: ld: framework . . . at my client. Now on to the solution... In Xcode, we selected the project, and selected the unittest . . .
1K - last updated 2022-09-15 13:26 UTC by bartvk
Xcode
= Xcode in general = If you get a weird error, first always try to restart Xcode. = Debugging = Some . . . tips: * When debugging with Xcode, always add a breakpoint on "all exceptions". . . . enable Zombie Objects] when you get EXC_BAD_ACCESS . . . numbers. This is your stacktrace, and Xcode failed to ''symbolicate'' it. Add a breakpoint . . . for all exceptions. In XCode 4, click menu View -> Navigators -> Show Breakpoints . . .
3K - last updated 2012-10-02 00:05 UTC by 1461
autolayout in Xcode 2016-11-08.png
image/png
71K - last updated 2016-11-08 13:14 UTC by 1461
quick vi from Xcode.gif
image/gif
565K - last updated 2015-04-30 10:37 UTC by 1461
xcode popover.png
image/png
134K - last updated 2015-08-31 10:54 UTC by 1461
xcode presentation style.png
image/png
136K - last updated 2015-11-20 09:14 UTC by 1461
36 pages found.