kabiroberai / theos-jailed

A Theos module to develop jailed tweaks for iOS 8 and up
Other
360 stars 65 forks source link

Import a 3rd party library inside Theos Jailed project #51

Closed istornz closed 5 years ago

istornz commented 5 years ago

Hello all,

First, thanks for the amazing project ! I want to import a private 3rd party library called SocketRocket inside a jailed Theos project. I tried to copy the SocketRocket.framework file inside /opt/theos/include/PrivateFrameworks/ and adding

ADDITIONAL_CFLAGS += -I$(THEOS)/include/PrivateFrameworks

inside the Makefile but when I try to compile I have

Tweak.xm:3:9: fatal error: 'SocketRocket/SocketRocket.h' file not found
#import <SocketRocket/SocketRocket.h>

Best regards, Dimitri

kabiroberai commented 5 years ago

Hey! Firstly apologies for the late response – I forgot to reply when you opened the issue. For future reference, be sure to check out the Usage page on the wiki for more info on importing frameworks.