Search results for

Swift 6

49,210 results found

Post

Replies

Boosts

Views

Activity

Failed to build module 'CustomSDK'; SDK not supported by compiler due to Swift version mismatch on Xcode 16 Beta 6
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
6
0
4.8k
Sep ’24
desiging an app for iphone 5/6/6+ screens
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!
6
0
725
Nov ’15
LLDB RPC server crash in Xcode 16.3
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
4
0
308
Apr ’25
Reply to App crash when archive by Xcode 14.3.1, but Xcode 14.2 not
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:
Sep ’23
Xcode 6 uploading build problem
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?
1
0
262
Aug ’15
How to Remove OpaqueTypeErasure from SwiftUI
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
3
0
668
Nov ’24