Hello everyone!
Got stacked with issues of creating universal static lib for all of possible platforms? Is it possible to create fat *.a library file that will contain all of possible versions:
- Simulator arm64
- Simulator x86_64
- iPhone arm64
Hello everyone!
Got stacked with issues of creating universal static lib for all of possible platforms? Is it possible to create fat *.a library file that will contain all of possible versions:
Hello,
You have to use XCFrameworks.
With the introduction of M1, lipo cannot be used anymore, because it will complain that arm64 simulator and iPhone arm64 are the same thing.
Thx for rapid reply. Appreciate it. About lipo complaining perfectly aware. This is the reason why wrote the question here.
My library written with Objective-C because it's using in C++ project. Is it possible to create XCFramework for Objective-C source code? Is there any examples of XCFramework for Objective-C?
Sorry, I didn't see your response earlier.
I've made a small example here (to show a Swift problem I had, the Objective-c part works fine though): https://github.com/theodelrieu/xcframework_swift_issue
Hello,
You have to use XCFrameworks.
With the introduction of M1, lipo cannot be used anymore, because it will complain that arm64 simulator and iPhone arm64 are the same thing.
Thx for rapid reply. Appreciate it. About lipo complaining perfectly aware. This is the reason why wrote the question here.
My library written with Objective-C because it's using in C++ project. Is it possible to create XCFramework for Objective-C source code? Is there any examples of XCFramework for Objective-C?
Sorry, I didn't see your response earlier.
I've made a small example here (to show a Swift problem I had, the Objective-c part works fine though): https://github.com/theodelrieu/xcframework_swift_issue