Post

Replies

Boosts

Views

Activity

Reply to Why is libarchive.2 a deprecated or private API
It's same issue for me. when I upload the file to the server, I try to archive the file. #include "archive.h" #include "archive_entry.h" .... archive_entry_set_mtime(entry, st.st_mtime, st.st_mtime * 1000); Error: Your app uses or references the following non-public or deprecated APIs: archive_entry_set_mtime • Contents/MacOS/Myapp/_archive_entry_set_mtime • Contents/Resources/MyappExt.app/Contents/MacOS/MyappExt/_archive_entry_set_mtime • Contents/XPCServices/MyService-xpc.xpc/Contents/MacOS/MyService-xpc/_archive_entry_set_mtime ...
May ’22
Reply to Why is libarchive.2 a deprecated or private API
It's same issue for me. when I upload the file to the server, I try to archive the file. #include "archive.h" #include "archive_entry.h" .... archive_entry_set_mtime(entry, st.st_mtime, st.st_mtime * 1000); Error: Your app uses or references the following non-public or deprecated APIs: archive_entry_set_mtime • Contents/MacOS/Myapp/_archive_entry_set_mtime • Contents/Resources/MyappExt.app/Contents/MacOS/MyappExt/_archive_entry_set_mtime • Contents/XPCServices/MyService-xpc.xpc/Contents/MacOS/MyService-xpc/_archive_entry_set_mtime ...
Replies
Boosts
Views
Activity
May ’22