Should SKIE integrate with an XCFramework (not a r...
# touchlab-tools
d
Should SKIE integrate with an XCFramework (not a regular framework)? The docs don't specifically mention it and when I compile, I get the following error when linking…
w: Cannot infer a bundle ID from packages of source files and exported dependencies, use the bundle name instead: colossus. Please specify the bundle ID explicitly using the -Xbinary=bundleId=<id> compiler flag.
f
Hi! SKIE supports all framework types including XCFrameworks. The message you got is just a warning that shouldn’t cause an issue, but if you want to suppress it you can set the name explicitly using the compiler flag as mentioned in the message. Also, if I’m not mistaken, this is a warning from the Kotlin compiler that you would get even without SKIE.
d
OK, thanks for the quick response.
l
FYI, an XCFramework is nothing but a bundle that can contain multiple frameworks: https://developer.apple.com/documentation/xcode/creating-a-multi-platform-binary-framework-bundle (Note that "multiplatform" here in Apple's documentation is not talking about KMP.)