mikaelbo / ProxySwitcher

Easily enable / disable WiFi proxy on a jailbroken iOS device
MIT License
67 stars 18 forks source link

Trouble Building #2

Closed DimPipal closed 6 years ago

DimPipal commented 6 years ago

Hi

I'm new to theos but I think i have everything setup as per your guide, i imported the 9.3 SDK

I'm getting the following errors:

==> Compiling MBWiFiProxyInfo.m (armv7)…
While building module 'UIKit' imported from /opt/theos/Prefix.pch:20:
While building module 'QuartzCore' imported from /opt/theos/include/UIKit/UIKit-Structs.h:15:
In file included from <module-includes>:18:
/opt/theos/sdks/iPhoneOS9.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAValueFunction.h:11:1: error: duplicate interface definition for class 'CAValueFunction'
@interface CAValueFunction : NSObject <NSCoding>
^
/opt/theos/include/QuartzCore/CAValueFunction.h:13:12: note: previous definition is here
@interface CAValueFunction : NSObject {
           ^
While building module 'UIKit' imported from /opt/theos/Prefix.pch:20:
While building module 'QuartzCore' imported from /opt/theos/include/UIKit/UIKit-Structs.h:15:
In file included from <module-includes>:18:
/opt/theos/sdks/iPhoneOS9.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAValueFunction.h:20:31: error: property has a previous declaration
@property(readonly) NSString *name;
                              ^
/opt/theos/include/QuartzCore/CAValueFunction.h:17:39: note: property declared here
@property(readonly, assign) NSString* name;
                                      ^
While building module 'UIKit' imported from /opt/theos/Prefix.pch:20:
In file included from <module-includes>:1:
In file included from /opt/theos/sdks/iPhoneOS9.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.h:12:
In file included from /opt/theos/sdks/iPhoneOS9.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibility.h:13:
In file included from /opt/theos/sdks/iPhoneOS9.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityAdditions.h:10:
In file included from /opt/theos/sdks/iPhoneOS9.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPickerView.h:11:
In file included from /opt/theos/sdks/iPhoneOS9.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITableView.h:11:
In file included from /opt/theos/include/UIKit/UISwipeGestureRecognizer.h:10:
In file included from /opt/theos/sdks/iPhoneOS9.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISwipeGestureRecognizer.h:9:
In file included from /opt/theos/include/UIKit/UIGestureRecognizer.h:6:
/opt/theos/include/UIKit/UIKit-Structs.h:15:9: fatal error: could not build module 'QuartzCore'
#import <QuartzCore/QuartzCore.h>
 ~~~~~~~^
In file included from <built-in>:1:
/opt/theos/Prefix.pch:20:12: fatal error: could not build module 'UIKit'
                        #import <UIKit/UIKit.h>
                         ~~~~~~~^
4 errors generated.
make[3]: *** [/Users/dim/Documents/ProxySwitcher/.theos/obj/debug/armv7/MBWiFiProxyInfo.m.baf1934b.o] Error 1
make[2]: *** [/Users/dim/Documents/ProxySwitcher/.theos/obj/debug/armv7/ProxySwitcher.dylib] Error 2
make[1]: *** [internal-library-all_] Error 2
make: *** [ProxySwitcher.all.tweak.variables] Error 2
DimPipal commented 6 years ago

ignore me, my theos install was broken, closing this.

mikaelbo commented 6 years ago

Glad you were able to fix it :)

lgariv commented 4 years ago

I am facing the same problem all of the sudden, on a previously working installation (by previously working I mean one hour ago). Any idea what happened?