Posts

Post not yet marked as solved
0 Replies
800 Views
Is it possible to get the Y location and height on screen of the Digital Crown? I capture the crownDidRotate event to perform my own actions, and want to show my own visual indicator next to the crown, like the one that comes up with you scroll a list. I could hard code the values based on the watch model, just wondered if there was a way to get this programmatically so I don't have to update it for newer models if the location changes. Thanks
Posted
by coderkid.
Last updated
.
Post not yet marked as solved
2 Replies
1.2k Views
I've been having this issue with X-Code for years and have never found a fix. I've seen many people post this issue but no solutions that work. When typing in X-Code, ever few letters I type the editor just hangs, sometimes the rainbow beachball spinner even comes up. Just pressing return takes a second to complete. Any ideas? There's got to be a fix for this
Posted
by coderkid.
Last updated
.
Post not yet marked as solved
12 Replies
5.1k Views
I'm trying to connect to a web socket server using WatchKit. I already have a Javascript app and a Windows application that can connect to this WebSocket server, but with iOS and WatchOS it fails with the errors below. Any idea how I can figure out what's wrong? I already added the App Transport Security Settings to my plist file. Connection 1: default TLS Trust evaluation failed(-9807) Connection 1: TLS Trust encountered error 3:-9807 Connection 1: encountered error(3:-9807) Connection 1: unable to determine interface type without an established connection
Posted
by coderkid.
Last updated
.
Post not yet marked as solved
0 Replies
801 Views
I developed an iOS app that communicates with an OS X app over Bluetooth. There appears to be a speed difference in transferring data depending on which one I make the peripheral. The iOS app is going to be sending data quickly to the OS X app and needs to be received with no delay. If I make the iOS app the peripheral and the OS X app the central this works relatively well. If I make the iOS app the central and the OS X app the peripheral then the data is sent with a lag, as if it is being buffered. Because I plan to use this on WatchOS too, I need to make the iOS app the central and the OS X app the peripheral. I'm setting CBCharacteristicWriteWithoutResponse when I send the data. I also tried to open a L2CAP channel but saw the same performance issue. Is this a known limitation or is there something I could be doing wrong?
Posted
by coderkid.
Last updated
.
Post not yet marked as solved
1 Replies
751 Views
I have been struggling with this error. My build succeeds but won't run. I've tried every suggestion I've ready in every article I could find and nothing has worked. This happens if I run it on the simulator or device. Any tips? ============================== The file “APP NAME” couldn’t be opened because you don’t have permission to view it. Domain: NSCocoaErrorDomain Code: 257 Failure Reason: You don’t have permission. Recovery Suggestion: To view or change permissions, select the item in the Finder and choose File > Get Info. User Info: {     NSFilePath = "/Users/Me/Library/Developer/Xcode/DerivedData/Main-ekzzcailcbrpykazzxdtbnpsjuhr/Build/Products/Debug-iphoneos/APP NAME.app"; } - The operation couldn’t be completed. Permission denied Domain: NSPOSIXErrorDomain Code: 13 Failure Reason: Permission denied
Posted
by coderkid.
Last updated
.
Post not yet marked as solved
0 Replies
670 Views
Is there any way to switch spaces on MacOS using code? It used to be possible by just emulating the keyboard shortcut, but now the OS ignores them. I just want to scroll between them like when you press Command-Left/Right, not necessarily select a specific desktop. Thanks
Posted
by coderkid.
Last updated
.
Post not yet marked as solved
6 Replies
3.7k Views
Anywhere that shows my app in OS X, such as under System Preferences, there is no name for the application, it's just blank. How do I get my applicaiton title to show up? I thought I had everything set correctly
Posted
by coderkid.
Last updated
.
Post not yet marked as solved
0 Replies
781 Views
My OS X app requires disk access, scripting access, and creates virtual keyboard events. It runs fine with the release version that’s running in the Application directory, but when I try to run it from XCode none of these things work. When I run Applescript I get: Not authorized to send Apple eventsI’ve added all the necessary permissions for my app as well as XCode. How can I get this working?
Posted
by coderkid.
Last updated
.