Post

Replies

Boosts

Views

Activity

Reply to Animation Error: 'animation' was deprecated in iOS 15.0: Use withAnimation or animation(_:value:) instead.
You forgot to add the value parameter to the third animation modifier. struct ContentView: View { @EnvironmentObject var oD: ObservableData var body: some View { Button(action: { print("ButtonAction") }){ Image(systemName: (oD.presetsSettings ? "checkmark.circle" : "gear")) .frame(width: 20, height: 20) .animation(.easeInOut(duration: 0.35).delay(0), value: oD.presetsSettings) .rotationEffect((oD.presetsSettings ? .degrees(-10) : .degrees(80))) .animation(.easeInOut(duration: 0.30), value: oD.presetsSettings) .rotationEffect((oD.presetsSettings ? .degrees(-20) : .degrees(20))) .animation(oD.presetsSettings ? .linear(duration: 0.15).repeatForever(autoreverses: true) : .linear(duration: 0.2), value: oD.presetsSettings) }
Mar ’23
Reply to iOS 16.4 update broke Xcode 14.2
There are two options here, as this occurs often when an iOS Release is done and Xcode is behind. For those who can install the beta or the release candidate: Install the Xcode 14.3 RC 2 over the Software Downloads page. This version includes the iOS 16.4 version. For those cannot install the newest Xcode version: Download the 14.3 RC2, "show the package contents" of the app (context menu on app-file or right click on file). Navigate to "Xcode-14.3.0-Release.Candidate.2.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/". Copy the 6.4 directory in the same directory for your current Xcode version.
Mar ’23