Releases: ITzTravelInTime/SwiftCPUDetect
Releases · ITzTravelInTime/SwiftCPUDetect
2.0 Beta 1
WARNING: This release breaks code compatibility with previous library versions (before 2.0.0)
- Complete library rework, you will need to change your code to use this library version.
- The library is now split into 2 targets for better organisation.
- Partial linux support (still work in progress).
- Added a swift-friendly uname reimplementation.
- Rewritten the sysctl-rarelated code and all the detection code in general.
- Removed lots of code redundancies and repetitions for better maintainability.
1.3.0
CpuArchitecture.actualCurrent()
is now deprecated and has been replaced byCpuArchitecture.machineCurrent()
, code compatibility has been maintained, but a warning message will be generated. It's strongly recommended to update your code to the new syntax since the next major updates will see the old syntax removed.- Improved some function descriptions.
1.2.0
- Added detection for Arm v7 for the
CpuArchitecture.currentExecutableArchitectures
- Added a DEMO playground for quick testing and demonstration
- Divided the source code into multiple files
- Added a new
HWInfo
class to get info about the current cpu and the system - New cpu architecture detection method that works across multiple Apple OSes
- Revisioned the available cpu architecture values for
CpuArchitecture
- Now this library is tested to work on macOS and iOS, it should work on tvOS and watchOS too
- Updated the example code inside the REAME and updated the project's description
1.1.3
- Improved printing management
- Fix compiling for non mac-platforms
1.1.0
-Improved printing and added the possibility to disable printing.
-Improved detection of the cpu architecture while using Rosetta to run the current app/program.
-Added listing of the cpu architectures supported by the current bundle.
-Added an isIntel
function to CpuArchitecture
for better coherence with the rest of the offered functions.
1.0.1
Fixed Apple Silicon detection bug
1.0.0
First release of this project, to learn more about it check out the README file.