标签: theos

为theos构建系统启用ARC

我目前正在使用theos构建系统为越狱的iPhone编写应用程序和调整.有没有办法让我为特定项目启用自动引用计数?

我用谷歌搜索并试图破译theos makefile,但我找不到任何东西.

objective-c ios automatic-ref-counting theos

4
推荐指数
1
解决办法
2417
查看次数

从Springboard获取应用程序图标图像(越狱)

我正在使用theos开发锁屏应用程序,部分功能需要手机上某些应用程序的图标图像.如何获取这些图标图像并将其显示在手机的锁屏上?

到目前为止,我已经尝试了所有我能想到的东西,并且没有运气地搜索了跳板标题.我一直在尝试从我通过谷歌找到的建议中检索来自SBApplication和SBIconModel的图像,但我仍然没有运气.

任何帮助是极大的赞赏.谢谢!

iphone objective-c jailbreak logos theos

4
推荐指数
1
解决办法
1115
查看次数

arm7和arm64的Theos

我正在努力让这些人在OSX Mavericks上工作.我最近购买了iPhone 5s,从那时起就越狱了.现在我想让Theos工作,所以我可以再次开始进行一些调整.我有它在OSX Lion和IOS 5和6上工作.我有一个非常简单的程序,应该在应用程序启动时显示UIAlert.问题是,当我运行make命令试图编译我的代码时,我得到这个错误:

Making all for tweak test...
 Preprocessing Tweak.xm...
 Compiling Tweak.xm...
 Linking tweak test...
Undefined symbols for architecture armv7:
  "_OBJC_CLASS_$_UIAlertView", referenced from:
      objc-class-ref in Tweak.xm.b0410391.o
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [obj/test.dylib.1cc22e7c.unsigned] Error 1
make[1]: *** [internal-library-all_] Error 2
make: *** [test.all.tweak.variables] Error 2
Williams-MacBook-Pro-2:test williamfsmillie$ 
Run Code Online (Sandbox Code Playgroud)

这是我的Tweak.xm代码:

%hook SBApplicationIcon

-(void)launch{
    UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"TEST" message:@"message...." delegate:self cancelButtonTitle:@"OK" otherButtonTitles:nil]; …
Run Code Online (Sandbox Code Playgroud)

objective-c cydia jailbreak theos

4
推荐指数
2
解决办法
6910
查看次数

如何使用Theos / Logos挂接到框架(CoreLocation)

是否可以连接到框架(例如CoreLocation),以便链接到框架的所有应用程序都能看到补丁?

目前,我可以通过以下步骤插入特定的应用程序:

  • iphone/tweak在Theos中创建一个
  • 将设置bundle identifier为目标应用
  • %hook classname与框架交互的调用

但是,这仅将调整项暴露给单个应用程序。我可以直接修补框架吗?bundle identifier在这种情况下我应该使用什么?

iphone jailbreak ios theos

3
推荐指数
1
解决办法
1409
查看次数

Theos:如何用块参数挂钩方法?(CDUnknownBlockType)

%hook HTTPClient
- (CDUnknownBlockType)completionForSuccess:(CDUnknownBlockType)arg1 {
}
%end
Run Code Online (Sandbox Code Playgroud)

我想知道在CDUnknownBlockType这里放置什么(从类转储生成)。我不知道该块的参数,因此无法放置确切的签名。是否可以改为使用MSHookMessage通用指针作为参数?通用void *指针在这里对我不起作用,因为消息不匹配。

有没有办法获取块的签名?

objective-c tweak logos ios theos

3
推荐指数
1
解决办法
1456
查看次数

theos跳板

有没有人有这种经历?

我只关注http://brandontreb.com/beginning-jailbroken-ios-development-your-first-tweak/,但是每个make命令最终都是:没有springboard/springboard.h文件或目录.怎么解决这个?

还有一件事,任何人都可以给我Saurik的libsubstrate.dylib动态库的下载链接吗?我做了很多搜索,一无所获.

非常感谢任何建议!

tweak jailbreak theos

2
推荐指数
1
解决办法
2091
查看次数

导入<AppKit/AppKit.h>不起作用

我正在使用IOSOpenDev对Xcode进行cydia调整,我试图导入<AppKit/AppKit.h>但是我收到了这个错误!
'AppKit/AppKit.h' file not found'
这是我的代码,当有人试图截图时,它会改变闪光颜色

#include <AppKit/AppKit.h>

%hook SBScreenFlash

-(void)flashColor:(id)color {

NSDictionary *prefs=[[NSDictionary alloc] initWithContentsOfFile:@"/var/mobile/Library/Preferences/com.junyi00.screenshotcolor.plist"];

if ([[prefs objectForKey:@"enable"] boolValue]){
    color = [NSColor blueColor];
    %orig(color); }
else {
    %orig; }
}

%end
Run Code Online (Sandbox Code Playgroud)

我调查了opt/IOSOpenDev/include,opt/theos/include并且无法找到AppKit.h
我如何解决这个问题?请帮忙

objective-c tweak cydia theos

1
推荐指数
1
解决办法
8048
查看次数

Theos make:***[internal-install]错误1

我将开始开发越狱调整.我从这个教程开始:http: //brandontreb.com/beginning-jailbroken-ios-development-building-and-deployment/

我用这个命令得到以下错误

sudo make package install

/Users/.../fooproject/theos/makefiles/targets/Darwin/iphone.mk:41:
Deploying to iOS 3.0 while building for 6.0 will generate armv7-only binaries.
Making all for application fooProject...
Copying resource directories into the application wrapper...
make[2]: Nothing to be done for `internal-application-compile'.
Making stage for application fooProject...
dpkg-deb: Baue Paket »com.alex.fooproject« in »./com.alex.fooproject_0.0.1-12_iphoneos-  arm.deb«.
make install requires that you set THEOS_DEVICE_IP in your environment. It is also      recommended that you have public-key authentication set up for root over SSH, or you'll …
Run Code Online (Sandbox Code Playgroud)

jailbreak theos

0
推荐指数
2
解决办法
4037
查看次数

在Theos中构建时内部包错误2

我一直在制作:*[internal-package]在尝试构建调试时遇到错误2.我以前从来没有遇到过这个问题,而且没有说明什么是错的.这是它说的:

Ethans-Mac-mini:alienblue ethanarbuckle$ sudo make package
/Users/ethanarbuckle/Desktop/alienblue/theos/makefiles/targets/Darwin/iphone.mk:46: Deploying to iOS 3.0 while building for 6.0 will generate armv7-only binaries.
Making all for tweak AlienBlue...
make[2]: Nothing to be done for `internal-library-compile'.
Making stage for tweak AlienBlue...
dpkg-deb: building package `com.ethanarbuckle.alienblue++' in `./com.ethanarbuckle.alienblue++_0.0.1-9_iphoneos-arm.deb'.
make: *** [internal-package] Error 2
Run Code Online (Sandbox Code Playgroud)

任何人都可以了解发生的事情吗?

objective-c package building theos

0
推荐指数
1
解决办法
2519
查看次数

Theos构建失败:dpkg-deb:subprocess tar -cf返回错误退出状态2

Theos未能建立一个包,但它会'做'它就好了.它会在启用消息时返回以下内容:

dpkg-deb: building package `com.ethanarbuckle.alienblue++' in `./com.ethanarbuckle.alienblue++_0.0.1-19_iphoneos-arm.deb'.
dpkg-deb: ignoring 2 warnings about the control file(s)
dpkg-deb (subprocess): failed to exec tar -cf: No such file or directory
dpkg-deb: subprocess tar -cf returned error exit status 2
make: *** [internal-package] Error 2
Run Code Online (Sandbox Code Playgroud)

我没有在网上找到解决方案,每个人都说它有焦油问题,但焦油工作正常.有谁知道如何解决这一问题?

自从我升级到osx 10.9以来它没有用,我确信这是所有这一切的原因:P

objective-c dpkg jailbreak theos

0
推荐指数
1
解决办法
1563
查看次数

与小牛队和iOS 7的Theos错误

我设置了theos并开始越狱调整..我在网上看到rpetrich的标题只与他的theos fork兼容.所以我从github克隆了他的theos fork并将他的标题转储到/include文件夹中..

然后我不得不LDID和libsubstrate.dylib添加到文件夹狄奥,我也从下面的说明iPhoneDevWiki

然后我按照教程进行了简单的调整

信息:我正在尝试使用iOS7 SDK在小牛上运行此功能

问题: 我完全按照教程!但由于某种原因,我得到这个错误:

Sahils-MacBook-Pro:welcomewagon Sahil$ make
/Users/Sahil/Documents/tweaks/welcomewagon/theos/makefiles/targets/Darwin/iphone.mk:48:               Deploying to iOS 3.0 while building for 6.0 will generate armv7-only binaries.
Making all for tweak WelcomeWagon...
make[2]: Nothing to be done for `internal-library-compile'.
Run Code Online (Sandbox Code Playgroud)

这甚至意味着什么> Nothing to be done for 'internal-library-compile'.

我的代码是:

Tweak.xm:

#import <SpringBoard/SpringBoard.h>

%hook SpringBoard

-(void)applicationDidFinishLaunching:(id)application {
%orig;

UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"Welcome" 
    message:@"Welcome to your iPhone Brandon!" 
    delegate:nil 
    cancelButtonTitle:@"Thanks" 
    otherButtonTitles:nil];
[alert show];
[alert release];
}

%end …
Run Code Online (Sandbox Code Playgroud)

iphone jailbreak ios theos

0
推荐指数
1
解决办法
1140
查看次数