When I try to build my app I receive the following error:
Unable to find a profile type for platform iOS and purpose development. You may need to reinstall Xcode.
Which I promptly did, but it does not fix the issue. Neither does cleaning build folder, rebooting, restarting, etc. Anybody encountered this before?
Overview. Xcode 13 includes SDKs for iOS 15, iPadOS 15, tvOS 15, watchOS 8, and macOS Big Sur 11.3. The Xcode 13 release supports on-device debugging for iOS 9 and later, tvOS 9 and later, and watchOS 2 and later. Xcode 13 requires a Mac running macOS 11.3 or later.
While apps built with Xcode 13 will be required, the newest version of the SDK will still support older Apple software, including iOS 14, iPadOS 14 and macOS Big Sur. Apple is currently on Xcode version 13.3, which was released on March 14 alongside iOS 15.4, iPadOS 15.5, and other updates on Monday.
Starting April 25, 2022, iOS, iPadOS, and watchOS apps submitted to the App Store must be built with Xcode 13, which includes the SDKs for iOS 15, iPadOS 15, and watchOS 8.
I fixed this by removing "Allow Multi-Platform Builds" in Build Settings.
I got the same problem, it was building only on simulator and not in device. This happened after I installed a new package in SPM (SwiftLint).
And this is what worked for me:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With