apple-watch
App Icon has Unassigned Image error
I had the same issue! The solution that worked for me was pretty easy: Just select the unassigned image and delete it via delete button. Clean and Build. Done. Hope this helps!
Xcode attach to process doesn’t display NSLog
I can reproduce that with a simple test app, sans WatchKit. The app consists of a NSTimer that prints “Timer fired” every second. (This code is 100% correct ;). Nothing shows in the log after I have manually attached to the process. As far as I know NSLog outputs to stderr, I guess attaching the … Read more
iOS WatchOS – what is the difference between WatchKit App and WatchKit App extension?
Current answer (valid from Xcode 14): the separate 2 targets don’t exist anymore, the new default watchOS app template combines the WatchKit App and WatchKit App Extension targets into a single Watch App target, which can store both code and resources, similar to iOS app targets. See the Xcode 14 release notes (relevant excerpt below). … Read more
ERROR ITMS-90512: Invalid sdk value… 8.2 is higher than maximum allowed value of 10.3?
Update: it’s fixed! I have submitted a bug to Apple. They have replied that they are aware of the problem and have people looking into it. They will contact me when they have resolved the issue. I’ll post an update here when they do.
FBSOpenApplicationErrorDomain Code=3
iOS Simulator -> Reset Contents and Settings… Worked for me iOS Simulator -> Reset Contents and Settings… -> Reset
Non-Public Library SockPuppetGizmo
You have not done anything wrong. I created an empty sample project, archived it, and can confirm the SockPuppetGizmo framework is linked by default. This is either a bug with Xcode linking or with the validation in iTunes connect. I suggest we all file a radar to bring this to Apple’s attention ASAP. otool -L … Read more
How to detect Swiping UP, DOWN, LEFT and RIGHT with SwiftUI on a View
You could use DragGesture .gesture(DragGesture(minimumDistance: 0, coordinateSpace: .local) .onEnded({ value in if value.translation.width < 0 { // left } if value.translation.width > 0 { // right } if value.translation.height < 0 { // up } if value.translation.height > 0 { // down } }))