Skip to content
Guest Big Announcement

Featured Replies

  • Author

I followed the guide on https://github.com/theos/theos/wiki/Installation-iOS but get the error:

 

iPhone:~/ooo root# make
> Making all for tweak ooo…
==> Compiling Tweak.xm (armv7)…
While building module 'Foundation' imported from /var/root/theos/Prefix.pch:11:
While building module 'CoreFoundation' imported from /var/root/theos/sdks/iPhoneOS9.3.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:6:
While building module 'Darwin' imported from /var/root/theos/sdks/iPhoneOS9.3.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:11:
In file included from <module-includes>:185:
/var/root/theos/sdks/iPhoneOS9.3.sdk/usr/include/pthread.h:1:1: error: unknown type name 'pthread'; did you mean 'pthread_t'?
pthread/pthread.h
^
/var/root/theos/sdks/iPhoneOS9.3.sdk/usr/include/sys/_pthread/_pthread_t.h:30:28: note: 'pthread_t' declared here
typedef __darwin_pthread_t pthread_t;
                           ^
While building module 'Foundation' imported from /var/root/theos/Prefix.pch:11:
While building module 'CoreFoundation' imported from /var/root/theos/sdks/iPhoneOS9.3.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:6:
While building module 'Darwin' imported from /var/root/theos/sdks/iPhoneOS9.3.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:11:
In file included from <module-includes>:185:
/var/root/theos/sdks/iPhoneOS9.3.sdk/usr/include/pthread.h:1:8: error: expected unqualified-id
pthread/pthread.h
       ^
While building module 'Foundation' imported from /var/root/theos/Prefix.pch:11:
While building module 'CoreFoundation' imported from /var/root/theos/sdks/iPhoneOS9.3.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:6:
While building module 'Darwin' imported from /var/root/theos/sdks/iPhoneOS9.3.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:11:
In file included from <module-includes>:188:
/var/root/theos/sdks/iPhoneOS9.3.sdk/usr/include/pthread_impl.h:1:1: error: unknown type name 'pthread'; did you mean 'pthread_t'?
pthread/pthread_impl.h
^
/var/root/theos/sdks/iPhoneOS9.3.sdk/usr/include/sys/_pthread/_pthread_t.h:30:28: note: 'pthread_t' declared here
typedef __darwin_pthread_t pthread_t;
                           ^
While building module 'Foundation' imported from /var/root/theos/Prefix.pch:11:
While building module 'CoreFoundation' imported from /var/root/theos/sdks/iPhoneOS9.3.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:6:
While building module 'Darwin' imported from /var/root/theos/sdks/iPhoneOS9.3.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:11:
In file included from <module-includes>:188:
/var/root/theos/sdks/iPhoneOS9.3.sdk/usr/include/pthread_impl.h:1:8: error: expected unqualified-id
pthread/pthread_impl.h
       ^
While building module 'Foundation' imported from /var/root/theos/Prefix.pch:11:
While building module 'CoreFoundation' imported from /var/root/theos/sdks/iPhoneOS9.3.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:6:
While building module 'Darwin' imported from /var/root/theos/sdks/iPhoneOS9.3.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:11:
In file included from <module-includes>:194:
/var/root/theos/sdks/iPhoneOS9.3.sdk/usr/include/pthread_spis.h:1:1: error: unknown type name 'pthread'; did you mean 'pthread_t'?
pthread/pthread_spis.h
^
/var/root/theos/sdks/iPhoneOS9.3.sdk/usr/include/sys/_pthread/_pthread_t.h:30:28: note: 'pthread_t' declared here
typedef __darwin_pthread_t pthread_t;
                           ^
While building module 'Foundation' imported from /var/root/theos/Prefix.pch:11:
While building module 'CoreFoundation' imported from /var/root/theos/sdks/iPhoneOS9.3.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:6:
While building module 'Darwin' imported from /var/root/theos/sdks/iPhoneOS9.3.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:11:
In file included from <module-includes>:194:
/var/root/theos/sdks/iPhoneOS9.3.sdk/usr/include/pthread_spis.h:1:8: error: expected unqualified-id
pthread/pthread_spis.h
       ^
While building module 'Foundation' imported from /var/root/theos/Prefix.pch:11:
While building module 'CoreFoundation' imported from /var/root/theos/sdks/iPhoneOS9.3.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:6:
While building module 'Darwin' imported from /var/root/theos/sdks/iPhoneOS9.3.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:11:
In file included from <module-includes>:203:
/var/root/theos/sdks/iPhoneOS9.3.sdk/usr/include/sched.h:1:1: error: unknown type name 'pthread'; did you mean 'pthread_t'?
pthread/sched.h
^
/var/root/theos/sdks/iPhoneOS9.3.sdk/usr/include/sys/_pthread/_pthread_t.h:30:28: note: 'pthread_t' declared here
typedef __darwin_pthread_t pthread_t;
                           ^
While building module 'Foundation' imported from /var/root/theos/Prefix.pch:11:
While building module 'CoreFoundation' imported from /var/root/theos/sdks/iPhoneOS9.3.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:6:
While building module 'Darwin' imported from /var/root/theos/sdks/iPhoneOS9.3.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:11:
In file included from <module-includes>:203:
/var/root/theos/sdks/iPhoneOS9.3.sdk/usr/include/sched.h:1:8: error: expected unqualified-id
pthread/sched.h
       ^
While building module 'Foundation' imported from /var/root/theos/Prefix.pch:11:
While building module 'CoreFoundation' imported from /var/root/theos/sdks/iPhoneOS9.3.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:6:
In file included from <module-includes>:2:
/var/root/theos/sdks/iPhoneOS9.3.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:11:10: fatal error: could not build module 'Darwin'
#include <sys/types.h>
 ~~~~~~~~^
While building module 'Foundation' imported from /var/root/theos/Prefix.pch:11:
In file included from <module-includes>:2:
/var/root/theos/sdks/iPhoneOS9.3.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:6:10: fatal error: could not build module 'CoreFoundation'
#include <CoreFoundation/CoreFoundation.h>
 ~~~~~~~~^
While building module 'Foundation' imported from /var/root/theos/Prefix.pch:11:
While building module 'ObjectiveC' imported from /var/root/theos/sdks/iPhoneOS9.3.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:6:
In file included from <module-includes>:2:
/var/root/theos/sdks/iPhoneOS9.3.sdk/usr/include/objc/./NSObjCRuntime.h:8:10: fatal error: could not build module 'Darwin'
#include <TargetConditionals.h>
 ~~~~~~~~^
While building module 'Foundation' imported from /var/root/theos/Prefix.pch:11:
While building module 'Dispatch' imported from /var/root/theos/sdks/iPhoneOS9.3.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSDateIntervalFormatter.h:6:
In file included from <module-includes>:2:
/var/root/theos/sdks/iPhoneOS9.3.sdk/usr/include/dispatch/dispatch.h:25:10: fatal error: could not build module 'Darwin'
#include <Availability.h>
 ~~~~~~~~^
While building module 'Foundation' imported from /var/root/theos/Prefix.pch:11:
While building module 'Dispatch' imported from /var/root/theos/sdks/iPhoneOS9.3.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSDateIntervalFormatter.h:6:
While building module 'os' imported from /var/root/theos/sdks/iPhoneOS9.3.sdk/usr/include/dispatch/dispatch.h:48:
In file included from <module-includes>:2:
/var/root/theos/sdks/iPhoneOS9.3.sdk/usr/include/os/base.h:24:10: fatal error: could not build module 'Darwin'
#include <sys/cdefs.h>
 ~~~~~~~~^
While building module 'Foundation' imported from /var/root/theos/Prefix.pch:11:
While building module 'Security' imported from /var/root/theos/sdks/iPhoneOS9.3.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLCredential.h:9:
In file included from <module-includes>:2:
In file included from /var/root/theos/sdks/iPhoneOS9.3.sdk/System/Library/Frameworks/Security.framework/Headers/Security.h:24:
/var/root/theos/sdks/iPhoneOS9.3.sdk/System/Library/Frameworks/Security.framework/Headers/SecBase.h:32:10: fatal error: could not build module 'Darwin'
#include <Availability.h>
 ~~~~~~~~^
In file included from <built-in>:1:
/var/root/theos/Prefix.pch:11:11: fatal error: could not build module 'Foundation'
                #import <Foundation/Foundation.h>
                 ~~~~~~~^
While building module 'UIKit' imported from /var/root/theos/Prefix.pch:20:
In file included from <module-includes>:2:
In file included from /var/root/theos/sdks/iPhoneOS9.3.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.h:8:
/var/root/theos/sdks/iPhoneOS9.3.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKitDefines.h:8:9: fatal error: could not build module 'Darwin'
#import <Availability.h>
 ~~~~~~~^
While building module 'UIKit' imported from /var/root/theos/Prefix.pch:20:
While building module 'CoreGraphics' imported from /var/root/theos/sdks/iPhoneOS9.3.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibility.h:8:
In file included from <module-includes>:2:
In file included from /var/root/theos/sdks/iPhoneOS9.3.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.h:8:
/var/root/theos/sdks/iPhoneOS9.3.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGBase.h:8:10: fatal error: could not build module 'Darwin'
#include <stdbool.h>
 ~~~~~~~~^
While building module 'UIKit' imported from /var/root/theos/Prefix.pch:20:
While building module 'CoreImage' imported from /var/root/theos/sdks/iPhoneOS9.3.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIColor.h:11:
In file included from <module-includes>:2:
In file included from /var/root/theos/sdks/iPhoneOS9.3.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.h:8:
/var/root/theos/sdks/iPhoneOS9.3.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImageDefines.h:10:10: fatal error: could not build module 'Darwin'
#include <TargetConditionals.h>
 ~~~~~~~~^
While building module 'UIKit' imported from /var/root/theos/Prefix.pch:20:
While building module 'CoreImage' imported from /var/root/theos/sdks/iPhoneOS9.3.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIColor.h:11:
While building module 'CoreVideo' imported from /var/root/theos/sdks/iPhoneOS9.3.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIImage.h:10:
In file included from <module-includes>:2:
/var/root/theos/sdks/iPhoneOS9.3.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CoreVideo.h:16:10: fatal error: could not build module 'Darwin'
#include <TargetConditionals.h>
 ~~~~~~~~^
While building module 'UIKit' imported from /var/root/theos/Prefix.pch:20:
While building module 'CoreText' imported from /var/root/theos/sdks/iPhoneOS9.3.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSText.h:10:
In file included from <module-includes>:2:
In file included from /var/root/theos/sdks/iPhoneOS9.3.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.h:20:
/var/root/theos/sdks/iPhoneOS9.3.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTDefines.h:12:10: fatal error: could not build module 'Darwin'
#include <Availability.h>
 ~~~~~~~~^
While building module 'UIKit' imported from /var/root/theos/Prefix.pch:20:
While building module 'QuartzCore' imported from /var/root/theos/sdks/iPhoneOS9.3.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewLayout.h:11:
In file included from <module-includes>:2:
In file included from /var/root/theos/sdks/iPhoneOS9.3.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:6:
In file included from /var/root/theos/sdks/iPhoneOS9.3.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CALayer.h:6:
In file included from /var/root/theos/sdks/iPhoneOS9.3.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAMediaTiming.h:6:
/var/root/theos/sdks/iPhoneOS9.3.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CABase.h:11:10: fatal error: could not build module 'Darwin'
#include <stdbool.h>
 ~~~~~~~~^
While building module 'UIKit' imported from /var/root/theos/Prefix.pch:20:
While building module 'QuartzCore' imported from /var/root/theos/sdks/iPhoneOS9.3.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewLayout.h:11:
While building module 'OpenGLES' imported from /var/root/theos/sdks/iPhoneOS9.3.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEAGLLayer.h:7:
In file included from <module-includes>:2:
/var/root/theos/sdks/iPhoneOS9.3.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/EAGL.h:8:10: fatal error: could not build module 'Foundation'
#include <Foundation/Foundation.h>
 ~~~~~~~~^
While building module 'UIKit' imported from /var/root/theos/Prefix.pch:20:
While building module 'QuartzCore' imported from /var/root/theos/sdks/iPhoneOS9.3.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewLayout.h:11:
While building module 'Metal' imported from /var/root/theos/sdks/iPhoneOS9.3.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAMetalLayer.h:7:
In file included from <module-includes>:2:
In file included from /var/root/theos/sdks/iPhoneOS9.3.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.h:8:
/var/root/theos/sdks/iPhoneOS9.3.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLDefines.h:8:9: fatal error: could not build module 'Darwin'
#import <Availability.h>
 ~~~~~~~^
While building module 'MachO' imported from /var/root/theos/include/substrate.h:29:
In file included from <module-includes>:2:
/var/root/theos/sdks/iPhoneOS9.3.sdk/usr/include/mach-o/arch.h:32:10: fatal error: could not build module 'Darwin'
#include <stdint.h>
 ~~~~~~~~^
24 errors generated.
make[3]: *** [/var/root/ooo/.theos/obj/armv7/Tweak.xm.503355ac.o] Error 1
make[2]: *** [/var/root/ooo/.theos/obj/armv7/ooo.dylib] Error 2
make[1]: *** [internal-library-all_] Error 2
make: *** [ooo.all.tweak.variables] Error 2

 

 

 

Cant find a solution, can u help me?

Create an account or sign in to comment

Featured Content

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.