Skip to content

saveMachineStateToURL only available to arm64 machine ? #192

Closed Answered by t0k4rt
t0k4rt asked this question in Q&A
Discussion options

You must be logged in to vote

Yes I could have tried that first ^^

When compiling the code it triggers a warning that leads me to apple vz framework header with this:

#if defined(__arm64__)

- (void)restoreMachineStateFromURL:(NSURL *)saveFileURL completionHandler:(void (^)(NSError * _Nullable errorOrNil))completionHandler NS_SWIFT_NAME(restoreMachineStateFrom(url:completionHandler:)) API_AVAILABLE(macos(14.0));

- (void)saveMachineStateToURL:(NSURL *)saveFileURL completionHandler:(void (^)(NSError * _Nullable errorOrNil))completionHandler NS_SWIFT_NAME(saveMachineStateTo(url:completionHandler:)) API_AVAILABLE(macos(14.0));
#endif

So indeed these two methods are limited to arm64 ... that information could have been m…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by t0k4rt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants