Post

Replies

Boosts

Views

Activity

Reply to How can I remove duplicates from a Picker
Make an array of the unique enum descriptions, and use that in your ForEach. You could write a method to calculate this... ...or just do it manually in your Race enum e.g. (in Race enum) static var uniqueValues: [Race] { [.Ainur, .Balrog, .Dwarf, .Eagle] } then (in Picker) ForEach (Race.uniqueValues, id: \.self, content: { race in
Topic: UI Frameworks SubTopic: SwiftUI Tags:
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 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 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 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 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 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 How can I remove duplicates from a Picker
Make an array of the unique enum descriptions, and use that in your ForEach. You could write a method to calculate this... ...or just do it manually in your Race enum e.g. (in Race enum) static var uniqueValues: [Race] { [.Ainur, .Balrog, .Dwarf, .Eagle] } then (in Picker) ForEach (Race.uniqueValues, id: \.self, content: { race in
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Dec ’21
Reply to Apple developer group
You might find Apple's Developer "System Status" page useful: https://developer.apple.com/system-status/ e.g. it shows this "Resolved Outage" yesterday, for App Store Connect You might also consider Downdetector.
Replies
Boosts
Views
Activity
Dec ’21
Reply to The value for key CFBundleShortVersionString in the Info.plist file must contain a higher version than that of the previously approved version
There are two separate parts to this: In Xcode > TARGETS > General > Identity: Leave the "Version" number as it is Increase the "Build" number
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
Reply to testflight
Talk to your software developer.
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 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 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 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 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 How to convert Lotus Notes to Outlook
Reported as spam.
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 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 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 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