Welcome to the Apple Developer Forums
Find answers, ask questions, and share comments on a variety of development topics with fellow developers and Apple engineers. Search for keywords or tags to get started.

Learn more about the forums >

Top Posts

Post marked as solved
15k 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
123k 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
6.3k Views

Xcode 12 is slow when launching apps (even sample projects)

Running a project from Xcode 12 seems to be very slow during launch. Even the example projects from Apple. Basically it feels as if the app is stuck on the launch screen? However, if I unplug from my Mac and just launch via tapping on the App icon, it's super fast. Anyone is having the same issue?
Asked
by terenze.
Last updated .
Post marked as solved
5.6k Views

Xcode freezes after upgrade to 12.3

I have upgrade Xcode to last release on 15 december 2020. Now it freezes every minutes for 5 minutes it's unusable. Are there some solutions?
Asked
by Tillmoss.
Last updated .
Post marked as Apple Recommended
1.6k 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
21k Views

Problems with WiFi on macOS Big Sur

I've updated to Big Sur from Catalina and I'm having trouble when connecting to WiFi networks. At first no network appeared and now even though it has connected silently to my usual network, it is showing as no connected, but internet actually works. Anyone having this kind of problems so far? I haven't seen anything related on the forums nor the release notes.
Asked
by rodero95.
Last updated .
Post marked as solved
2k 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
2.7k Views

PUBG lags on IOS 14 IPhone XR

Really I’m gonna Die if you not fix it ASAP ios 13.7 was best when I updated to iOS 14 then everything Gone to Hell pubg lags in game between matches only iOS 14 and iOS 14.1 users facing PUBG lag render issue fix it or I will never update your shit updates in my life in-between matches it start frame drops and we die like a noob because of this so bring new update and iOS 14.2 must fix it 😡
Asked
by VFlick.
Last updated .
Post marked as solved
2.1k Views

Xcode 12.3 is not Responding a few seconds after Opening it

I updated to Xcode 12.3 on my MacBook Pro 2018 13" yesterday and face a strange Issue now. Problem: Every Time I open Xcode, it will first work fine. However, after a few Actions / Seconds, the Screen is freezing and the Circle Loading Indicator is displayed. The App is not responding anymore and I have to force close it. More Information: The Freezing is Xcode specific. I can use all other Programs while Xcode is frozen and the Circle is spinning. It doesn't seem like a Ressource Problem This not only happens with existing Projects, I created a new one and encountered the same Problem I alredy reinstalled Xcode, does not solve the Problem I already deleted the ~/Library/Developer Folder *(like a few other posts recommended)* and Installed the Components on Xcode Start again. Still the same Problem. Has anyone an Idea on how to solve this Problem? Thanks for your help.
Asked
Last updated .
Post marked as solved
5.4k Views

SwiftUI Previews not working with Firebase

SwiftUI previews don't seem to work in Xcode 12, beta 5, when using Firebase Analytics. The app builds and runs fine to simulator or device, but fails generating SwiftUI preview for a widget with the following message: ld: in /Users/../.../Pods/FirebaseAnalytics/Frameworks/FIRAnalyticsConnector.framework/FIRAnalyticsConnector(FIRAnalyticsConnector_e321ed8e3db06efc9803f6c008e67a34.o), building for iOS Simulator, but linking in object file built for iOS, file '/Users/.../.../Pods/FirebaseAnalytics/Frameworks/FIRAnalyticsConnector.framework/FIRAnalyticsConnector' for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation) It was working fine in beta 4. Anyone else seen this? Any ideas?
Asked
Last updated .
Post marked as solved
4.6k Views

App rejected from TestFlight Review but no feedback?

Hi, we submitted an iPhone app for TestFlight review last week so that we could distribute to our beta test group. It was rejected over the weekend but we have not received any rejection emails containing details or for that matter can't find any reason online? Have raised a question online to the iTunes review team and awaiting response but wondering if any other developers have had similar issues recently with not receiving communications from the review team? I am obviously checking SPAM folders and received OK the state change email when the app was first uploaded but nothing since? Thanks in advance Graeme
Asked
by wispaws.
Last updated .
Post marked as solved
13k Views

[Apple Watch] Unable to Check for Update - Not connected to the internet error

Hi. I am pairing my Apple Watch Series 5 to my iPhone running ios 14. The pairing is successful but unable to proceed with the set up because an update is needed to be downloaded first. I updated the os for watch but I keep on getting “Unable to Check for Update - Checking for a software update failed because you are not connected to the internet”. I am definitely connected to the internet. Watch was reset to factory defaults and I am now pairing it as a new device but it fails due to the issue mentioned above.
Asked
Last updated .
Post marked as solved
2.1k Views

Disable keyboard avoidance for SwiftUI view

I'm having trouble disabling keyboard avoidance for a SwiftUI view that is embedded in a UIHostingController. When the UITextField becomes first responder, the SwiftUI view jumps out of the way for the keyboard, and I want it to stay in place. To test this out, set the ViewController as the rootViewController in a UIKit App Delegate. import SwiftUI struct ContentView: View {     var body: some View {         Text("I want this text to stay put.") /* THIS DOESN'T WORK         .ignoresSafeArea(.keyboard) */     } } class ViewController: UIViewController {     override func viewDidLoad() {         super.viewDidLoad()         let textField = UITextField(frame: CGRect(x: 10, y: 100, width: 200, height: 50))         textField.backgroundColor = .white         textField.placeholder = "Tap here!"         view.addSubview(textField)         let button = UIButton(type: .system, primaryAction: UIAction(title: "Dismiss Keyboard", handler: { _ in             textField.resignFirstResponder()         }))         button.frame = CGRect(x: 220, y: 100, width: 140, height: 50)         view.addSubview(button)         let hostingController = UIHostingController(rootView: ContentView())         hostingController.view.frame = CGRect(x: 10, y: UIScreen.main.bounds.size.height - 510, width: UIScreen.main.bounds.size.width - 20, height: 500)         view.addSubview(hostingController.view)     } }
Asked
Last updated .
Post marked as solved
7.7k Views

macOS Big Sur Not Enough Free Space

Hi! I've been attempting to install macOS Big Sur for the past day now and every time I try, it says I do not have enough free space. In the installer it says that I have 33.86 GB available, but in reality, I have about 108 GB available. That 33.86 GB keeps fluctuating too, every time I run it it changes. I've attempted to restart my computer, delete more items off of my HD, delete the installer and profile and try again, all with no luck. Any ideas on how to solve this?
Asked
by gavinmdev.
Last updated .

Top Users

User Avatar for: KMT

KMT

Reputation: 20,489
Posts: 22,807
Solved: 1,517
Apple Recommended: 0
User Avatar for: Claude31

Claude31

Reputation: 16,168
Posts: 13,035
Solved: 1,186
Apple Recommended: 0
User Avatar for: OOPer

OOPer

Reputation: 13,095
Posts: 4,074
Solved: 896
Apple Recommended: 0
User Avatar for: QuinceyMorris

QuinceyMorris

Reputation: 7,245
Posts: 3,325
Solved: 572
Apple Recommended: 0
User Avatar for: Max108

Max108

Reputation: 7,033
Posts: 4,381
Solved: 503
Apple Recommended: 0