We have built a binary framework built with Xcode 14.1 using Xcode 13.4.1 getting below error.
BUILD_LIBRARY_FOR_DISTRIBUTION ENABLED ALSO.
this SDK is not supported by the compiler (the SDK is built with
'Apple Swift version 5.7.1 (swiftlang-5.7.1.135.3
clang-1400.0.29.51)', while this compiler is 'Apple Swift version
5.6.1 (swiftlang-5.6.0.323.66 clang-1316.0.20.12)'). Please select a toolchain which matches the SDK.
Related
When I create a build of my framework from Xcode 13 and integrate it with app in Xcode 14 it gives this error:
Failed to build module 'MySDK'; this SDK is not supported by the
compiler (the SDK is built with 'Apple Swift version 5.7.2
(swiftlang-5.7.2.135.5 clang-1400.0.29.51)', while this compiler is
'Apple Swift version 5.5.1 (swiftlang-1300.0.31.4
clang-1300.0.29.6)'). Please select a toolchain which matches the SDK.
The build should be created from the same Xcode version to avoid this error. But I want create one compatible build for all versions.
Good Day,
Lastweek i updated my Xcode from 8.2 to 8.3, In my project i used swift 2.3 version. I tried to use multiple version of xcode to my Mac but when i use the older version of Xcode i can't run the project on devices that has iOS Version 10.3.1
I don't know how to run swift 2.3 to iOS Version 10.3.1
Note: My Project still not uploaded on App Store.
Thanks
You need DeveloperDiskImage for iOS version 10.3 to run your project on device(iOS 10.3) using xcode 8.2.
Download Xcode 8.3.2 from here and copy 10.3 (14E269) folder inside DeviceSupport from the downloaded Xcode using path Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/ and paste it into Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/ path in your existing Xcode 8.2 in Finder.
It's said in release note clearly that Xcode 8.3 no longer supports Swift 2.3 version. So you need to migrate your projects containing Swift 2.3 code to Swift 3 syntax by opening the project and choosing Edit > Convert > To Current Swift Syntax.
Running "swift -version" reveals that:
Xcode 8.2.1 is using Swift 3.0.2
BUT
Xcode 8.3 Beta is using Swift 3.0.
This is a nuisance as Realm has different Swift frameworks for 3.0 and 3.0.2 - which means using a project created with Xcode 8.2.1 using the Realm framework for 3.0.2 won't build if using Xcode 8.3.
Is there a way to change Xcode 8.3 beta to use Swift 3.0.2?
When trying to publish the application I get this error.
Why Is That? help!
XCode version 6.1.1
base SDK 7.1
deployment target 4.3
From the document Apple referenced:
Xcode 5.0.1 can build your app with both 32-bit and 64-bit binaries
included. This combined binary requires a minimum deployment target of
iOS 5.1.1 or later."
Assume that applies to the current Xcode version.
I'm using Titanium SDK 3.1.3, XCode 5, and have simulators for both iOS 6.1 and iOS 7.
I'm trying to build an iOS 6.1 app in the simulator via the Titanium CLI but I get the following error:
[ERROR] Invalid --ios-version value '6.1'
Accepted values:
7.0
Which is odd because the release notes for the SDK says "You will still be able to compile iOS 6 apps with Xcode 5. Additionally, Xcode 5.0 requires Mac OS X 10.8.4 or later."
Thanks in advance for your inputs.
My bad — a proper SDK was missing inside Xcode's folders:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/iPhoneOS6.1.sdk