Details
-
User Story
-
Resolution: Unresolved
-
P2: Important
-
6.2, 6.3
-
None
Description
According to Apple documentation, XCFramework is a "is a distributable binary package created by Xcode that contains variants of a framework or library so that it can be used on multiple platforms (iOS, macOS, tvOS, and watchOS), including Simulator builds. An XCFramework can be either static or dynamic and can include headers."
XCFramework was introduced with XCode 11 in 2019. Now, with the introduction of Apple Silicon, XCFramework is getting more interesting, since it can also encompass different CPU architectures even for the same platform".
The main users for this would be those who provide an own SDK on top of Qt which should support multiple targets and architectures.
Apparently, the best-known way to use it is the XCode only. It looks like there are some tricks possible on the command line too https://developer.apple.com/forums/thread/126880
PS. Yes, I found QTBUG-86387 before posting this one, but I dicided to not change it and create a new one instead which will not be focused on qmake
Attachments
Issue Links
- blocks
-
QTBUG-126292 iOS simulator only works on x86_64
- Closed
- is required for
-
QTBUG-114320 Investigate mergable libraries
- Reported
- relates to
-
QTBUG-86387 Support consuming XCFramework with qmake
- Reported
-
QTBUG-101276 Support arm64 target for builds for iOS Simulator
- Reported
-
QTCREATORBUG-28228 Add support for xcframeworks
- Closed
- mentioned in
-
Page Loading...