xcode
configure: error: C compiler cannot create executables- React Native
You need to run the below command to squash the error sudo xcode-select -s /Applications/Xcode.app/Contents/Developer/ Note: Depending on your Xcode version installed, sometimes you have to add it to the path, for example sudo xcode-select -s /Applications/Xcode_12.0.app/Contents/Developer/
Xcode 14 stuck at Launching App on Simulator after few runs
I was facing this issue on an M2 Macbook Air, every build would open the simulator the first time, but on a second run it would hang on a black screen during “Launching app.” It turns out the “fix” was to disable “Open using Rosetta” (Applications > Xcode > Right click > Get Info) which … Read more
Xcode Cloud: unable to open configuration settings file
Guess what? XCode is garbage but doc can help us here. This what I’m using to smoothly build my workflow. I’l share exact bash scripts here. Why it’s failing? First open logs on your workflow window side bar. Check if you’re installing necessary dependencies before running archive process. You’re using virtual machine so any dependencies … Read more
Is there a way to run xcode 14 on macOS Sonoma?
Starting the binary directly did not work for me, the system would still refuse to run the app. What did work however was to Right click the app and select “Show Package Contents” Navigate to Contents folder Open the Info.plist file Alter CFBundleVersion from 21815 to 22265 Save change Right app and select “Open” If … Read more
SwiftUI: Stop an Animation that Repeats Forever
I figured it out! An animation using .repeatForever() will not stop if you replace the animation with nil. It WILL stop if you replace it with the same animation but without .repeatForever(). ( Or alternatively with any other animation that comes to a stop, so you could use a linear animation with a duration of … Read more