DyCI / dyci-main

Dynamic Code Injection Tool for Objective-C
MIT License
1.12k stars 121 forks source link

Crash when using sqlite framework ?? #83

Closed KorolZhu closed 9 years ago

KorolZhu commented 9 years ago

my app has used sqlite database , after i add dyci framework , my app crashed. why ?

PaulTaykalo commented 9 years ago

http://www.kith.org/logos/things/sitpuz/situations.html

In the game of situation puzzles, a mysterious situation is presented to a group of players, who must then try to find out what's going on by asking further questions. The person who initially presented the situation can only answer "yes" or "no" to questions (or occasionally "irrelevant").

Short answer - because dyci broke something.

If you can create an example project, where I can reproduce this issue, then, probably, this will be fixed.
If not, then, you'll need to find the answer by yourself

Also you can try to check this https://github.com/DyCI/dyci-main/wiki/Class-filtering-:-we-need-to-go-deeper

KorolZhu commented 9 years ago

Hello, thank you for answer my question. I just create an example project。 https://github.com/zerozhu/DyciSqliteDemo

When you remove reference of dyci.framework , it will not crash. you add dyci.framework, it will crash.

PaulTaykalo commented 9 years ago

@zerozhu I've reproduced the crash. This happens if dyci.framework is used as a workaround you can try to use cocoapods to integrate dyci

PaulTaykalo commented 9 years ago

@zerozhu Fixed in https://github.com/DyCI/dyci-main/commit/823e92051a900a9d388933c2853bca1556e2d453

// Framework https://github.com/DyCI/dyci-main/commit/123d8fef2d29c52880c2a0eb667c3438c59b6da0

Thanks

KorolZhu commented 9 years ago

OK, Thanks, I will try to use cocoapods to integrate dyci

PaulTaykalo commented 9 years ago

@zerozhu It's already fixed, so feel free to use whatever you prefer