NSExceptional / Swizzle

A tweak to create basic tweaks from any app.
Other
42 stars 9 forks source link

Issues with the latest commit ?? #3

Closed Inc0n closed 6 years ago

Inc0n commented 6 years ago

using the commit before April 24th, I'm able to build successfully however with the newest commit, would cause the following:

Undefined symbols for architecture arm64:
  "_TBTrampoline", referenced from:
      -[TBMethodHook(IMP) IMPForHookedArguments] in TBMethodHook+IMP.m.4685d5ba.o
     (maybe you meant: _TBTrampolineLanding)
  "_TBTrampolineEnd", referenced from:
      -[TBMethodHook(IMP) _IMPFromTrampolineAddress:] in TBMethodHook+IMP.m.4685d5ba.o
  "_TBTrampolineFP", referenced from:
      -[TBMethodHook(IMP) IMPForHookedArguments] in TBMethodHook+IMP.m.4685d5ba.o
  "_landingIMP", referenced from:
      -[TBMethodHook(IMP) _IMPFromTrampolineAddress:] in TBMethodHook+IMP.m.4685d5ba.o
  "_originalIMP", referenced from:
      -[TBMethodHook(IMP) _IMPFromTrampolineAddress:] in TBMethodHook+IMP.m.4685d5ba.o
ld: symbol(s) not found for architecture arm64

please review & suggest

Inc0n commented 6 years ago

solved, need to rename

$(your_project_root)/TBTweakViewController/TBTweakViewController/Classes/TBTrampoline.s

to

TBTrampoline.S

NSExceptional commented 6 years ago

I just noticed I'm having this error too, where exactly did you make this change?

NSExceptional commented 6 years ago

Oh, I see. Rename the file, gotcha. Thanks!