mirror of https://github.com/opa334/TrollStore.git
Switch to 16.5 SDK, fix compilation error when XPC is already included
This commit is contained in:
parent
e16fe8e1e7
commit
ae32e41bad
|
@ -1,4 +1,4 @@
|
||||||
TARGET := iphone:clang:16.4:14.0
|
TARGET := iphone:clang:16.5:14.0
|
||||||
ARCHS = arm64
|
ARCHS = arm64
|
||||||
|
|
||||||
TARGET_CODESIGN = ../Exploits/fastPathSign/fastPathSign
|
TARGET_CODESIGN = ../Exploits/fastPathSign/fastPathSign
|
||||||
|
|
|
@ -1,16 +1,11 @@
|
||||||
@import Foundation;
|
@import Foundation;
|
||||||
|
|
||||||
|
#ifndef __XPC_H__
|
||||||
// Types
|
// Types
|
||||||
typedef NSObject* xpc_object_t;
|
typedef NSObject* xpc_object_t;
|
||||||
typedef xpc_object_t xpc_connection_t;
|
typedef xpc_object_t xpc_connection_t;
|
||||||
typedef void (^xpc_handler_t)(xpc_object_t object);
|
typedef void (^xpc_handler_t)(xpc_object_t object);
|
||||||
|
|
||||||
// Serialization
|
|
||||||
extern CFTypeRef _CFXPCCreateCFObjectFromXPCObject(xpc_object_t xpcattrs);
|
|
||||||
extern xpc_object_t _CFXPCCreateXPCObjectFromCFObject(CFTypeRef attrs);
|
|
||||||
extern xpc_object_t _CFXPCCreateXPCMessageWithCFObject(CFTypeRef obj);
|
|
||||||
extern CFTypeRef _CFXPCCreateCFObjectFromXPCMessage(xpc_object_t obj);
|
|
||||||
|
|
||||||
// Communication
|
// Communication
|
||||||
extern xpc_connection_t xpc_connection_create_mach_service(const char* name, dispatch_queue_t targetq, uint64_t flags);
|
extern xpc_connection_t xpc_connection_create_mach_service(const char* name, dispatch_queue_t targetq, uint64_t flags);
|
||||||
extern void xpc_connection_set_event_handler(xpc_connection_t connection, xpc_handler_t handler);
|
extern void xpc_connection_set_event_handler(xpc_connection_t connection, xpc_handler_t handler);
|
||||||
|
@ -18,6 +13,14 @@ extern void xpc_connection_resume(xpc_connection_t connection);
|
||||||
extern void xpc_connection_send_message_with_reply(xpc_connection_t connection, xpc_object_t message, dispatch_queue_t replyq, xpc_handler_t handler);
|
extern void xpc_connection_send_message_with_reply(xpc_connection_t connection, xpc_object_t message, dispatch_queue_t replyq, xpc_handler_t handler);
|
||||||
extern xpc_object_t xpc_connection_send_message_with_reply_sync(xpc_connection_t connection, xpc_object_t message);
|
extern xpc_object_t xpc_connection_send_message_with_reply_sync(xpc_connection_t connection, xpc_object_t message);
|
||||||
extern xpc_object_t xpc_dictionary_get_value(xpc_object_t xdict, const char *key);
|
extern xpc_object_t xpc_dictionary_get_value(xpc_object_t xdict, const char *key);
|
||||||
|
#endif
|
||||||
|
|
||||||
|
// Serialization
|
||||||
|
extern CFTypeRef _CFXPCCreateCFObjectFromXPCObject(xpc_object_t xpcattrs);
|
||||||
|
extern xpc_object_t _CFXPCCreateXPCObjectFromCFObject(CFTypeRef attrs);
|
||||||
|
extern xpc_object_t _CFXPCCreateXPCMessageWithCFObject(CFTypeRef obj);
|
||||||
|
extern CFTypeRef _CFXPCCreateCFObjectFromXPCMessage(xpc_object_t obj);
|
||||||
|
|
||||||
|
|
||||||
typedef enum {
|
typedef enum {
|
||||||
kAMFIActionArm = 0, // Trigger a prompt asking the user to enable developer mode on the next reboot
|
kAMFIActionArm = 0, // Trigger a prompt asking the user to enable developer mode on the next reboot
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
export EMBEDDED_ROOT_HELPER ?= 0
|
export EMBEDDED_ROOT_HELPER ?= 0
|
||||||
export LEGACY_CT_BUG ?= 0
|
export LEGACY_CT_BUG ?= 0
|
||||||
|
|
||||||
TARGET := iphone:clang:16.4:14.0
|
TARGET := iphone:clang:16.5:14.0
|
||||||
INSTALL_TARGET_PROCESSES = TrollStorePersistenceHelper
|
INSTALL_TARGET_PROCESSES = TrollStorePersistenceHelper
|
||||||
|
|
||||||
ifdef CUSTOM_ARCHS
|
ifdef CUSTOM_ARCHS
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
TARGET := iphone:clang:16.4:14.0
|
TARGET := iphone:clang:16.5:14.0
|
||||||
INSTALL_TARGET_PROCESSES = TrollStore
|
INSTALL_TARGET_PROCESSES = TrollStore
|
||||||
ARCHS = arm64
|
ARCHS = arm64
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue