Compile with Xcode 15.1 help #89
-
From this link, I understand that SKIE is supported only from Xcode 14.3 and newer versions. I added the SKIE plugin to the KMP module, and the XCFramework is generated successfully. However, when integrating it into the consumer iOS application using Xcode 15.1, I encounter the following build error:
Interestingly, when I add the same XCFramework in Xcode 15.4, it works fine. Is there a way to make it compile with Xcode 15.1 or any known issue? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Hi! I'm not aware of any existing issue that could cause that so this is most likely a new bug. We will need to find out a reproducer. Can you please send us the code mentioned in the error message?
Also: What version of Kotlin and SKIE do you have? |
Beta Was this translation helpful? Give feedback.
Hi! The zip you sent does not contain all the files needed to build the project. For example the libs.versions.toml file is missing.
However, based on the full error I think the issue might be a mismatch between Xcode versions. The Kotlin compiler probably uses a newer version of Xcode than 15.1. This might not cause an issue with pure Obj-C code but it's a problem for Swift because there is no forward compatibility (see https://developer.apple.com/forums/thread/749540).
Kotlin usually uses the "default" Xcode version so you can check which one it is by running this command:
xcode-select -p
.