【发布时间】:2016-04-23 10:56:15
【问题描述】:
代码在 armv7 上运行良好,但为 arm64 编译会抛出“必须在需要之前从模块‘Darwin.POSIX.sys.xattr’中导入‘setxattr’声明”错误。
u_int8_t b = 1;
setxattr([path fileSystemRepresentation],
"com.apple.MobileBackup", &b, 1, 0, 0);
有什么帮助吗?
【问题讨论】:
标签: ios objective-c armv7 arm64