Post

Replies

Boosts

Views

Activity

Reply to Xcode 13.2 Instantiating CLLocationButton crashes in Simulator
After removing references to the code that you don't supply... ...and tweaking what remains, this works for me: private func setupUserLocationButton() { let button = CLLocationButton() button.icon = .arrowOutline button.label = .none button.cornerRadius = 25.0 button.addTarget(self, action: #selector(userLocationButtonTapped), for: .touchUpInside) view.addSubview(button) // setting up constraints for CLLocationButton to be on the top right corner button.translatesAutoresizingMaskIntoConstraints = false NSLayoutConstraint.activate([ button.topAnchor.constraint(equalTo: view.safeAreaLayoutGuide.topAnchor, constant: 16.0), button.trailingAnchor.constraint(equalTo: view.safeAreaLayoutGuide.trailingAnchor, constant: -16.0) ]) } Maybe take it from there, and re-add your customizations, one-by-one? Xcode 13.2 (13C90) (From the Developer website, not the broken App Store version 13.2)
Dec ’21
Reply to Heads-up: Xcode 13.2 takes a super-long time to install.
Also note (aargh!) that the App Store Xcode 13.2 (13C90) appears to be broken, if you use Swift Packages. As discussed here: https://developer.apple.com/forums/thread/696504 The current workaround is to download Xcode 13.2 directly from the Releases (Applications) section of the Apple Developer website: https://developer.apple.com/download/release/ This issue has now been included in the updated Xcode 13.2 Release Notes: https://developer.apple.com/documentation/xcode-release-notes/xcode-13_2-release-notes
Dec ’21
Reply to 2017 project doesn't display project settings
It looks like your Navigator pane may be hidden? Look for an icon at the top-left of the Xcode window (directly to the right of the red-amber-green icons), which will show/hide the Navigator. Alternatively, if you are asking about the particular view of the file you are looking at, right-click on the file, and look at the options under "Open As".
Dec ’21
Reply to Get file path from .onDrop on macOS SwiftUI app
To get the file URL after a drop operation, try this: .onDrop(of: [.fileURL], isTargeted: nil) { providers in if let provider = providers.first(where: { $0.canLoadObject(ofClass: URL.self) } ) { let _ = provider.loadObject(ofClass: URL.self) { object, error in if let url = object { print("url: \(url)") } } return true } return false } (Tested on macOS)
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Dec ’21
Reply to Does app store work on ios 6.1.6?
I guess you are talking about an iPod Touch, but which version (perhaps 4th generation)? iOS 6 is now 9 years old. It seems very unlikely that any current apps will run on such an old version of iOS. The fact that you can't even launch the App Store seems to support this view. You should double-check if your device will run a more recent version of iOS. If not, then I think it's game over.
Dec ’21
Reply to iOS 15: Critical Alert Notification
A "Critical Alert" appears even when the device is in Do Not Disturb mode, or silenced. They cannot be silenced, as they are considered "Critical"! If you want to be able to silence your alert, then it must not be a Critical Alert. See https://developer.apple.com/documentation/usernotifications/unnotificationsettings/2963116-criticalalertsetting
Dec ’21
Reply to Apple Configurator for iOS not detected on mac
On the Mac, have you definitely gone beyond the "Language" selection screen, to the "Select your Country or Region" screen? Apple say: To add a Mac to your organization: Navigate to the "Select your Country or Region" screen in Setup Assistant on the Mac. Bring the iPhone that's running Apple Configurator near the Mac. Use the iPhone to scan the image that appears on the Mac, or enter the six-digit PIN manually.
Dec ’21
Reply to Picker Label not showing anymore
And does my solution still work?
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Dec ’21
Reply to Xcode 13.2 and autocompletion
This autocomplete still works for me. Xcode 13.2 (13C90) (From the Developer website, not the broken App Store version 13.2) Maybe the App Store Xcode 13.2 has further issues? See https://developer.apple.com/forums/thread/696504
Replies
Boosts
Views
Activity
Dec ’21
Reply to Xcode 13.2 Instantiating CLLocationButton crashes in Simulator
After removing references to the code that you don't supply... ...and tweaking what remains, this works for me: private func setupUserLocationButton() { let button = CLLocationButton() button.icon = .arrowOutline button.label = .none button.cornerRadius = 25.0 button.addTarget(self, action: #selector(userLocationButtonTapped), for: .touchUpInside) view.addSubview(button) // setting up constraints for CLLocationButton to be on the top right corner button.translatesAutoresizingMaskIntoConstraints = false NSLayoutConstraint.activate([ button.topAnchor.constraint(equalTo: view.safeAreaLayoutGuide.topAnchor, constant: 16.0), button.trailingAnchor.constraint(equalTo: view.safeAreaLayoutGuide.trailingAnchor, constant: -16.0) ]) } Maybe take it from there, and re-add your customizations, one-by-one? Xcode 13.2 (13C90) (From the Developer website, not the broken App Store version 13.2)
Replies
Boosts
Views
Activity
Dec ’21
Reply to stuck on verifying screen/ Package Dependencies
Yes. There is a serious issue with the latest App Store version of Xcode 13.2. See this thread: https://developer.apple.com/forums/thread/696504 The workaround is to download an updated Xcode 13.2 from Apple Developer (Applications): https://developer.apple.com/download/release/
Replies
Boosts
Views
Activity
Dec ’21
Reply to Heads-up: Xcode 13.2 takes a super-long time to install.
Also note (aargh!) that the App Store Xcode 13.2 (13C90) appears to be broken, if you use Swift Packages. As discussed here: https://developer.apple.com/forums/thread/696504 The current workaround is to download Xcode 13.2 directly from the Releases (Applications) section of the Apple Developer website: https://developer.apple.com/download/release/ This issue has now been included in the updated Xcode 13.2 Release Notes: https://developer.apple.com/documentation/xcode-release-notes/xcode-13_2-release-notes
Replies
Boosts
Views
Activity
Dec ’21
Reply to making an app for watchOS using pc/unity
Option 3 Mac (the hardware platform) Xcode (the software development environment) SwiftUI (the app's user interface) MVVM (the software architecture)
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Dec ’21
Reply to 2017 project doesn't display project settings
It looks like your Navigator pane may be hidden? Look for an icon at the top-left of the Xcode window (directly to the right of the red-amber-green icons), which will show/hide the Navigator. Alternatively, if you are asking about the particular view of the file you are looking at, right-click on the file, and look at the options under "Open As".
Replies
Boosts
Views
Activity
Dec ’21
Reply to How to convert Lotus Notes to Outlook
Reported as spam.
Replies
Boosts
Views
Activity
Dec ’21
Reply to Get file path from .onDrop on macOS SwiftUI app
To get the file URL after a drop operation, try this: .onDrop(of: [.fileURL], isTargeted: nil) { providers in if let provider = providers.first(where: { $0.canLoadObject(ofClass: URL.self) } ) { let _ = provider.loadObject(ofClass: URL.self) { object, error in if let url = object { print("url: \(url)") } } return true } return false } (Tested on macOS)
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Dec ’21
Reply to Can you make Xcode more modular and tools independent from each other?
All providers of modern software development tools are trying to make it environment/ide independent. Except Apple, who concentrate on providing the best experience within the Apple ecosystem... 🤤
Replies
Boosts
Views
Activity
Dec ’21
Reply to Does app store work on ios 6.1.6?
I guess you are talking about an iPod Touch, but which version (perhaps 4th generation)? iOS 6 is now 9 years old. It seems very unlikely that any current apps will run on such an old version of iOS. The fact that you can't even launch the App Store seems to support this view. You should double-check if your device will run a more recent version of iOS. If not, then I think it's game over.
Replies
Boosts
Views
Activity
Dec ’21
Reply to iOS 15: Critical Alert Notification
A "Critical Alert" appears even when the device is in Do Not Disturb mode, or silenced. They cannot be silenced, as they are considered "Critical"! If you want to be able to silence your alert, then it must not be a Critical Alert. See https://developer.apple.com/documentation/usernotifications/unnotificationsettings/2963116-criticalalertsetting
Replies
Boosts
Views
Activity
Dec ’21
Reply to NavigationLink issue
when I switch from one view to another, the content is moved to the bottom every time This issue would be caused by the code in "heartTextSquareView", which you have not shared.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Dec ’21
Reply to testflight
Talk to your software developer.
Replies
Boosts
Views
Activity
Dec ’21
Reply to Apple Configurator for iOS not detected on mac
On the Mac, have you definitely gone beyond the "Language" selection screen, to the "Select your Country or Region" screen? Apple say: To add a Mac to your organization: Navigate to the "Select your Country or Region" screen in Setup Assistant on the Mac. Bring the iPhone that's running Apple Configurator near the Mac. Use the iPhone to scan the image that appears on the Mac, or enter the six-digit PIN manually.
Replies
Boosts
Views
Activity
Dec ’21