Announcement: Join the Conversation
Find discussions by searching for keywords or tags.

Learn more about the forums >

Top Posts

Post marked as solved
6.3k Views

Aspiring Developer

I'm still learning how to code and would love to get recommendations on how to learn swift/swiftui for iOS/macOS app development. Any recommendations are welcome :)
Asked
Last updated .
Post marked as Apple Recommended
109k Views

Having issues authorizing payment for Apple Developer Program

Hey guysI’ve been trying to pay for Apple Developer Program enrollment for about a week and still no luck. As well as I got from a small talk with the customer support – Apple never got my money. So it seems like my payment authorization fails all the time. But I don’t know what’s really going on.Have any of you ever had issues like that?Or maybe you just know what’s going on and how to fix it?
Asked
by Quaaac.
Last updated .
Post marked as solved
3.7k Views

Using Core Data with SwiftUI App Protocol

Is it possible to use CoreData with the newly announces SwiftUI App Protocol for 100% SwiftUI apps. If I need to create an app with persistant storage, is there a way to achieve this with the new protocol? I like the idea of having my app fully compatable across all systems. Thanks.
Asked
Last updated .
Post marked as solved
8.4k Views

Installing macOS Big Sur beta

I installed the profile for macOS Big Sur, but I got updated to Catalina beta 10.15.6 beta instead. Is it possible to install the Big Sur beta already?
Asked
by atineoSE.
Last updated .
Post marked as Apple Recommended
864 Views

SwiftUI isPlaceholder not showing

I'm following the Widgets Code-Along and at the end of part 1 Izzy uses .isPlaceholder as an easy way to show the widget placeholder but when I try it, it doesn't seem to be available yet. Am I missing something or is this feature coming in a future beta?
Asked
by Micrograx.
Last updated .
Post marked as solved
4.8k Views

Parallels 15 (Mac): Updating macOS Catalina Beta to Big Sur Beta

When I select the main disk to install to, I get the error message: "The operation couldn't be completed. (BIErrorDomain error 3.)" Has anyone else experienced this? I wanted to try out the Big Sur beta, but didn't want to risk rendering my daily MBP unusable. Thanks!
Asked
Last updated .
Post marked as solved
894 Views

Big Sur Beta 7 breaks SMB?

After the upgrade from Beta 6 to Beta 7 I am not able to connect to any smb-shares any more. I tried it with a Windows Server, Synology DriveStation and a Debian implementation. I'm directly getting the message Error with connection.
Asked
Last updated .
Post marked as solved
561 Views

Xcode 12 Documentation window closes Xcode

When I try to open the Xcode Documentation inside Xcode 12 (downloaded from the app store), the whole app closes. Is anyone else seeing this
Asked
by snackdog.
Last updated .
Post marked as solved
553 Views

What are the downsides to using lazy stacks?

In Stacks, Grids, and Outlines in SwiftUI - https://developer.apple.com/videos/play/wwdc2020/10031, a recommendation is made to only use lazy stacks when you encounter performance bottlenecks. To quote the session, starting at 4:43: On the other hand, making the stacks within a given hero view lazy doesn't actually confer any benefits. The content is all visible at once, as soon as the view lands on screen. So everything has to be loaded at once, regardless of the container's default behavior. If you aren't sure which stack to use, use VStack or HStack. Adopt lazy stacks as a way to resolve performance bottlenecks that you find after profiling with Instruments. Are there negatives, performance or otherwise, to just always use lazy stacks? I'd like to understand why I shouldn't reach for LazyVStack and LazyHStack first. I understand from the example that using a lazy stack wouldn't confer any benefits, but would we incur any negatives?
Asked
Last updated .
Post marked as solved
428 Views

Collapse sidebar in SwiftUI (Xcode 12)

I'm trying to do a simple application in SwiftUI taking advantage of SwiftUI 2.0's new multiplatform project template, and I wish to add the option to collapse the sidebar as many other apps do. I've got an extremely simple sidebar I did following the Fruta example project, and I tried adding a boolean state variable that controls whether the sidebar should show or not, but that doesn't work because when the sidebar is hidden, the main view is turned translucent. On iPadOS, a button appears on top of the sidebar that allows to collapse it. How would I do this in macOS? Is there a way to natively achieve this in SwiftUI, or I'll need to resort to a UIKit workaround?  Please note I'm using macOS Big Sur, Xcode 12, and SwiftUI 2.0 Thanks in advance.
Asked
by Semiak.
Last updated .
Post marked as solved
1.2k Views

Widgets not working with TestFlight since Xcode 12 beta 3

I have noticed a strange problem today. I have uploaded a build of my app to TestFlight for internal testing using Xcode 12 beta 3. The app has widgets and if I run the app locally from Xcode widgets are working on device. However, when I install a beta from TestFlight the widgets are not suggested by iOS and I can see in the logs that the widgets are actually crashing (something is going on with WidgetKit in the crash logs). This has started only with beta 3, I have previously used TestFlight with widgets in beta 1 and beta 2. Does anyone else have this problem? My feedback number is FB8122742.
Asked
Last updated .
Post marked as solved
2.6k Views

Why is my provisioning profile failing qualification?

I am ready to upload my app from Xcode to App Store Connect. I am using Xcode 11.50 to archive my application. Yesterday, I used Xcode 12 Beta to upload the app, which worked fine at first, but noticed that App Store Connect is not accepting binaries from Xcode 12 Beta. I used Xcode 11.50 today and I keep getting this error while validating my app: Provisioning profile failed qualification: Profile doesn't include the com.apple.application-identifier and com.apple.developer.aps-enviornment entitlements. Provisioning profile failed qualification: Profile doesn't include the com.apple.application-identifier entitlement. What exactly do these errors mean? How can I fix them?
Asked
Last updated .
Post marked as Apple Recommended
2.5k Views

Convert Chrome/Firefox Extension to Safari

Hey everyone,I have a Chrome and Firefox extension that I'm trying to port over to Safari however I'm running into a few issues.I can't seem to find a way to run similar code to these two functions:chrome.extension.connect (or browser.runtime.connect in Firefox)chrome.tabs.query({active: true, currentWindow: true, url: ["http://*/*", "https://*/*"]}, function(tabs) (runs the same on firefox)Anyone know a workaround in safari that might be useful? I've scoured the web and can't seem to find a good solution.
Asked
by Dtrav1030.
Last updated .

Top Users

User Avatar for: KMT

KMT

Reputation: 19,488
Posts: 21,958
Solved: 1,497
Apple Recommended: 0
User Avatar for: Claude31

Claude31

Reputation: 12,544
Posts: 11,030
Solved: 1,021
Apple Recommended: 0
User Avatar for: OOPer

OOPer

Reputation: 8,880
Posts: 2,527
Solved: 685
Apple Recommended: 0
User Avatar for: QuinceyMorris

QuinceyMorris

Reputation: 7,085
Posts: 3,324
Solved: 570
Apple Recommended: 0