I’m facing an issue while compiling a project with a CustomSDK on Xcode 16.0 Beta 6. The following error is displayed during the build process: Failed to build module 'CustomSDK'; this SDK is not supported by the compiler (the SDK is built with 'Apple Swift version 5.9 (swiftlang-5.9.0.128.108 clang-1500.0.40.1)', while this compiler is 'Apple Swift version 6.0 effective-5.10 (swiftlang-6.0.0.9.10 clang-1600.0.26.2)'). Please select a toolchain which matches the SDK. Steps I have taken so far: Set the BUILD_LIBRARY_FOR_DISTRIBUTION build setting to YES in the post_install script to ensure forward compatibility. Cleaned the project and deleted Derived Data. Verified that the latest SDK version was compiled using Swift 5 in Xcode 15.2, which should ensure compatibility with future versions. Tried re-adding the SDK pod and rebuilt the project. Despite these steps, the issue persists on Xcode 16 Beta 6. I suspect the problem could be related to a beta version of Xcode
Search results for
Swift 6
49,210 results found
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
I am developing an app that will only be targeted for the iphone 5/6/6+ screen sizes, and therefore I have a identical designs for the different screens across the app. Because the iphone 5/6/6+ have equal w/h ratio's, I want the the whole screen tor resize identically to match the ratio of the device. For example, I am designing a view controller in storyboard for an iphone 6, and would like whatever is displayed on the view controller to appear the same way on the iphone 5 and 6+, just resized/downsized with the same aspect ratio. How should I achieve this? I am pretty sure that size classes should not be used since I am only targeting these devices and not ipads/iphone 4s.Thanks!
Hang on, maybe I misunderstood this. Can you use something like the respondsToSelector? I have no idea if it's there in Swift 5/6, but this SO page gives an example of how to use it: https://stackoverflow.com/questions/24167791/what-is-the-swift-equivalent-of-respondstoselector
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags:
How update software our iPhone 6 12.5.5 into 13 version
I feel my hair graying with each 6 minute build! And I regret using Swift everytime I see the Compiling Swift files when all I'm doing is running another set of tests without changes to the source files...
Topic:
Programming Languages
SubTopic:
Swift
Tags:
Please update ios 13 for iphone 6. It,s so bad that we can,t update our iphones.
Did you watch Stanford course for IOS ?developing for IOS10 with Swift, accessible on iTunes UniversityLEssons 5 or 6 I remember, that could help you.
Topic:
Programming Languages
SubTopic:
Swift
Tags:
Created a new project in Xcode 16.3. While adding breakpoints app is crashing every time in Xcode and playground both. Tried with swift 5 and swift 6 getting same error. Crash reason : Couldn't find the Objective-C runtime library in loaded images. Message from debugger: The LLDB RPC server has crashed. You may need to manually terminate your process lldb-rpc-server-2025-04-14-092736.txt
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags:
Swift Playground
Xcode
Playground Support
LLDB
The crash report you sent me has a similar crashing thread backtrace: Thread 6 name: Thread 6 Crashed: 0 libswiftCore.dylib … swift::TargetMetadata::isCanonicalStaticallySpecializedGeneri… 1 libswiftCore.dylib … swift_checkMetadataState + 44 (Metadata.cpp:5459) 2 libswiftCore.dylib … swift_getTypeByMangledNodeImpl(swift::MetadataRequest, swift::Demangle::__runti… 3 libswiftCore.dylib … swift::swift_getTypeByMangledNode(swift::MetadataRequest, swift::Demangle::__ru… 4 libswiftCore.dylib … swift_getTypeByMangledNameImpl(swift::MetadataRequest, __swift::__runtime::llvm… 5 libswiftCore.dylib … swift::swift_getTypeByMangledName(swift::MetadataRequest, __swift::__runtime::l… 6 libswiftCore.dylib … swift::_checkGenericRequirements(__swift::__runtime::llvm::ArrayRef const… 8 libswiftCore.dylib … (anonymous namespace)::DecodedMetadataBuilder::createBoundGenericType(swift::Ta… 9 libswiftCore.dyl
Topic:
App & System Services
SubTopic:
Core OS
Tags:
Can someone help me how to update my iphone 6 software to ios 13? i really need it
Same. XCode 7 Beta 6 ... trying to upload / submit a Swift 2.0 re-write of an app so that I can internally test.
Topic:
App & System Services
SubTopic:
Core OS
Tags:
If you are not directly before a release yes I think Xcode7 beta 6 is the better choice. Swift 2 has some important changes like the handling of errors. Your remaining error comes from me changing to Swift 2 error handling (The try!).
Topic:
Programming Languages
SubTopic:
Swift
Tags:
Hi, I coded an app on Xcode 6. But when Xcode 7 and swift 2 released, I migrated the project to Xcode 7 and converted to swift 2 syntax. But when I tried to upload the project to AppStore, Xcode said that I cannot submit builds from Xcode beta. Then, I've gone back to xcode 6 and swift 1.2. This time I uploaded successfuly, but I cannot see the builds on iTunes Connect. After few minutes I got this mail. It says I don't have any distribution certificates(I have). What is wrong? Why I cannot upload my builds?
Topic:
Code Signing
SubTopic:
Certificates, Identifiers & Profiles
Tags:
Signing Certificates
Provisioning Profiles
I am using swiftui lately in my iOS mobile app, The Mobile app already has a pipeline that detect any experimental features and throw an error I am using swift 5 and as you all know SwiftUI is using some of OpaqueTypeErasure utility types like some I heard that in swift 6 the OpaqueTypeErasure is not experimental anymore But upgrading the app swift version will be a very long process Also changing the pipeline will be a very long and tiring process So i want to know if there is a way to remove OpaqueTypeErasure from SwiftUI and what is the alternatives for bypassing the error that being thrown from the pipeline
This thread can be some help.Why works on swift 2 beta 1 not on beta 6(Read eskimo's replies, not mine...)
Topic:
Programming Languages
SubTopic:
Swift
Tags: