Post

Replies

Boosts

Views

Activity

Reply to Xcode16 openURL is invalid
It has been deprecated for quite a while. It is worth treating deprecations as an error and start updating the code when you become aware of it. We got hit by URL returning nil for bad url's, we internally used an invalid url for many years for internal navigation. Waiting till it broke to fix it cost us a lot of time and work.
Topic: UI Frameworks SubTopic: UIKit Tags:
Aug ’24
Reply to SwiftUI - Device orientation
You can enable upside down for the phone, but I think the default was done because laying on your back while holding the phone above you can easily look to the phone like upside down. Apple created the size categories years ago and never updated them. I think the Apple intent is you layout your content to fit the screen and not really think of it as orientation. On the ipad the user can have two apps open and one might be the size of a phone. The stage manager increases the possible sizes.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Aug ’24
Reply to Xcode16 openURL is invalid
It has been deprecated for quite a while. It is worth treating deprecations as an error and start updating the code when you become aware of it. We got hit by URL returning nil for bad url's, we internally used an invalid url for many years for internal navigation. Waiting till it broke to fix it cost us a lot of time and work.
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Aug ’24
Reply to Remote Xcode15 Cann't Debug Local Device(iOS17)
If you can connect to the same network as the mac is on, it should be able to see it.
Replies
Boosts
Views
Activity
Aug ’24
Reply to SwiftUI - Device orientation
You can enable upside down for the phone, but I think the default was done because laying on your back while holding the phone above you can easily look to the phone like upside down. Apple created the size categories years ago and never updated them. I think the Apple intent is you layout your content to fit the screen and not really think of it as orientation. On the ipad the user can have two apps open and one might be the size of a phone. The stage manager increases the possible sizes.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Aug ’24
Reply to SwiftUI - Device orientation
iPhones generally default to not supporting upside down with iPads supporting all orientations. I'm not familiar with other platform support.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Aug ’24
Reply to [ERROR] failed to get service endpoint creating for for item at URL
This post might help https://forums.developer.apple.com/forums/thread/91835
Topic: UI Frameworks SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jul ’24
Reply to What can be done about XCode always spinning its wheels and stuck on installing/attaching to app?
Something that has worked for me is to right click on the device in the devices and simulators screen and select unpair device. It should immediately start pairing and the phone prompt you to trust the computer. It might be worth unplugging and plugging it back into your mac first, if this doesn't work.
Replies
Boosts
Views
Activity
Jul ’24
Reply to How is an iOS app on the App Store able to detect other apps?!?!
They can use the app delegate can open url to find some apps. https://developer.apple.com/documentation/uikit/uiapplication/1622952-canopenurl There are limits on it for privacy reasons.
Topic: Privacy & Security SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jul ’24
Reply to Augmented Reality app unable to load the image from the camera
I would test it with iOS versions it is known to work with to be sure it isn't broken. It looks like you are using at least one third party framework. I would see if there is an updated version available.
Replies
Boosts
Views
Activity
Jul ’24
Reply to VisionOS 2 - Passthrough in screen capture
Aside from a new enterprise api for internal apps, that isn't allowed due to privacy concerns, Never mind, I missed you got the approval.
Topic: Spatial Computing SubTopic: ARKit Tags:
Replies
Boosts
Views
Activity
Jun ’24
Reply to Xcode 16.0 beta (16A5171c) misidentifys the parameter 'module' in the method as a keyword caused the compilation failure.
You need to enclose the module variable name in backward tick marks. module
Replies
Boosts
Views
Activity
Jun ’24
Reply to Xcode Beta1 Compilation Error: Reserved Keyword 'module' Issue
Enclose the variable name in back tic marks.
Replies
Boosts
Views
Activity
Jun ’24
Reply to Xcode16 Beta Compilation Error: Reserved Keyword 'module' Issue
Have you tried enclosing module in 'module'? That is supposed to ket you use keywords as variable names. I'm on my phone and that might be the wrong tick. It is the one below the ~ on U.S. english keyboards.
Replies
Boosts
Views
Activity
Jun ’24
Reply to Unsupported SDK or Xcode version (XCode 15.4 running on MacOS 15)
It might be worth checking that you are running the right copy of the xcode tools.
Replies
Boosts
Views
Activity
Jun ’24
Reply to Charts showing yesterday as todays data
It likely is an issue with the timezone, You might need to ensure you are using a consistent timezone for converting the dates.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jun ’24
Reply to UI Test and Screentime
You could use the XCUIElementSnapshotProviding class snapshot function to see what the ui test is seeing. https://developer.apple.com/documentation/xctest/xcuielementsnapshot
Replies
Boosts
Views
Activity
Jun ’24