Jump to content

21 posts in this topic

Recommended Posts

Posted
  On 3/13/2017 at 10:55 PM, i0s_tweak3r said:

Sorry for double post. I just don't understand why it would compile before with incorrect code and build a deb, now the code is correct, it compiles, but won't build.

 

I just made and shared this tweak this AM.

https://iosgods.com/topic/47308-free-pro-version-of-sketches-app/

What error are you getting now?

  • Replies 20
  • Created
  • Last Reply

Top Posters In This Topic

Posted (edited)
  On 3/13/2017 at 11:02 PM, Joka said:

What error are you getting now?

The same "Error 2"
  Quote

/var/mobile/proobjcreference/theos/makefiles/targets/Darwin-arm64/iphone.mk:46: Targeting iOS 4.0 and higher is not supported with iphone-gcc. Forcing clang.

/var/mobile/proobjcreference/theos/makefiles/targets/Darwin-arm64/iphone.mk:56: Deploying to iOS 3.0 while building for 6.0 will generate armv7-only binaries.

Making all for tweak ProObjCReference...

make[2]: Nothing to be done for `internal-library-compile'.

Making stage for tweak ProObjCReference...

make: *** [internal-package] Error 2

 

I can compile either of the projects I built today, but get error with same name when trying to build.

 

The first project I built and shared is set up the same way, and builds and compiles fine.

  Quote

/var/mobile/prosketchesfree/theos/makefiles/targets/Darwin-arm64/iphone.mk:46: Targeting iOS 4.0 and higher is not supported with iphone-gcc. Forcing clang.

/var/mobile/prosketchesfree/theos/makefiles/targets/Darwin-arm64/iphone.mk:56: Deploying to iOS 3.0 while building for 6.0 will generate armv7-only binaries.

Making all for tweak ProSketchesFree...

make[2]: Nothing to be done for `internal-library-compile'.

Making stage for tweak ProSketchesFree...

dpkg-deb: building package 'com.yourcompany.prosketchesfree' in './com.yourcompany.prosketchesfree_0.0.1-4_iphoneos-arm.deb'.

 

Updated by i0s_tweak3r
Posted
  On 3/14/2017 at 12:20 AM, i0s_tweak3r said:

The same "Error 2"

I can compile either of the projects I built today, but get error with same name when trying to build.

 

The first project I built and shared is set up the same way, and builds and compiles fine.

Show us your makefile.

Posted (edited)
  On 3/14/2017 at 12:08 AM, Pro said:

Try getting rid of the #include at the top of your Tweak.xm, as there's no need for it. Also, show us your Makefile

Here's the makefile that won't build.

 

  Quote

include theos/makefiles/common.mk

ARCHS = armv7s arm64

export ARCHS = armv7 armv7s arm64

export TARGET = iphone:clang:9.2:9.0

 

TWEAK_NAME = ProObjCReference

ProObjCReference_FILES = Tweak.xm

 

include $(THEOS_MAKE_PATH)/tweak.mk

 

after-install::

install.exec "killall -9 Springboard"

 

And I just removed include from tweak.xm, made it compile again and make Errors.txt
  Quote

/var/mobile/proobjcreference/theos/makefiles/targets/Darwin-arm64/iphone.mk:46: Targeting iOS 4.0 and higher is not supported with iphone-gcc. Forcing clang.

/var/mobile/proobjcreference/theos/makefiles/targets/Darwin-arm64/iphone.mk:56: Deploying to iOS 3.0 while building for 6.0 will generate armv7-only binaries.

Making all for tweak ProObjCReference...

Preprocessing Tweak.xm...

Constants from lexical variables potentially modified elsewhere are deprecated at /private/var/theos/bin/lib/aliased.pm line 42.

Constants from lexical variables potentially modified elsewhere are deprecated at /private/var/theos/bin/lib/aliased.pm line 42.

Constants from lexical variables potentially modified elsewhere are deprecated at /private/var/theos/bin/lib/aliased.pm line 42.

Constants from lexical variables potentially modified elsewhere are deprecated at /private/var/theos/bin/lib/aliased.pm line 42.

Constants from lexical variables potentially modified elsewhere are deprecated at /private/var/theos/bin/lib/aliased.pm line 42.

Constants from lexical variables potentially modified elsewhere are deprecated at /private/var/theos/bin/lib/aliased.pm line 42.

Constants from lexical variables potentially modified elsewhere are deprecated at /private/var/theos/bin/lib/aliased.pm line 42.

Constants from lexical variables potentially modified elsewhere are deprecated at /private/var/theos/bin/lib/aliased.pm line 42.

Compiling Tweak.xm...

Linking tweak ProObjCReference...

ld: warning: ignoring file /var/mobile/proobjcreference/theos/sdks/iPhoneOS9.3.sdk/usr/lib/dylib1.o, missing required architecture arm64 in file /var/mobile/proobjcreference/theos/sdks/iPhoneOS9.3.sdk/usr/lib/dylib1.o (2 slices)

Stripping ProObjCReference...

Signing ProObjCReference...

Making stage for tweak ProObjCReference...

make: *** [internal-package] Error 2

 

Updated by i0s_tweak3r
Posted (edited)

I googled internal package error 2 and found a project that compiled but wouldn't build like mine. Its problem was using symbols in the com.yourcompanyname.yourtweakname, which I used an "_" in. I used NIC to make new version without symbols in name, and copied tweak.xm to new patch, with the updated code from the beginning of this thread. It compiled, built the deb and installed- unfortuneately I'm back to the original problem. Tweak doesn't work.

 

The hooks with more then one argat the bottom of the tweak.xm are what's not working. The flex patch I based the tweak off of does work, so I'm confident I have all the right hooks, the code is just returning the %orig for both args it seems.

 

Something is wrong here I believe

  Quote

%hook LBCategoryViewController

-(void) configureNormalCellForInAppPurchase:(id)arg1 fromIndexPath:(id)arg2 {

arg1 = NULL;

return %orig;

}

 

-(void) configureGlossaryCellForInAppPurchase:(id)arg1 fromIndexPath:(id)arg2 {

arg1 = NULL;

return %orig;

}

%end

Updated by i0s_tweak3r
Posted
  On 3/14/2017 at 12:25 PM, ZahirSher said:

@@i0s_tweak3r

 

Did you try making deb using putty (computer)

No. I have putty, but project hasn't left my mobile device. It built the .deb properly and it installed. I just don't have the code quite right I don't think. I don't think it's returning the arg1's as null.

Posted
  On 3/14/2017 at 4:27 PM, i0s_tweak3r said:

No. I have putty, but project hasn't left my mobile device. It built the .deb properly and it installed. I just don't have the code quite right I don't think. I don't think it's returning the arg1's as null.

Can you upload your project folder?

Posted (edited)
  On 3/15/2017 at 12:16 PM, ZahirSher said:

Can you upload your project folder?

Yeah no prob. I edited tweak.xm hoping this would work but I still can't seem to make arg1 null in the bottom hooks.

 

%hook MyTransactionObserver-(bool) purchased {return TRUE;}%end%hook MyTransactionObserver-(void) setPurchased:(bool)arg1 {return %orig(TRUE);}%end%hook MyTransactionObserver-(void) failedTransaction:(id)arg1 {return %orig(NULL);}%end%hook LBCategoryViewController-(void) configureNormalCellForInAppPurchase:(id)arg1 fromIndexPath:(id)arg2 {return %orig(NULL, arg2);}%end%hook LBCategoryViewController-(void) configureGlossaryCellForInAppPurchase:(id)arg1 fromIndexPath:(id)arg2 {return %orig(NULL, arg2);}%end

Link to app for tweak: Objective C Reference Lite by Lucian Boboc

https://appsto.re/us/XQJ3y.i

 

Edit: Downloaded iOS 9.0 sdk, changed target in makefile and just used first two hooks in tweak.xm,it compiled and now works.

Updated by i0s_tweak3r

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Our picks

    • Rust Riders: Idle Apocalypse v0.1.0 [+3 Jailed Cheats]
      Modded/Hacked App: Rust Riders: Idle Apocalypse By Andriy Pidvirnyy
      Bundle ID: com.lumamind.rustriders
      App Store Link: https://apps.apple.com/us/app/rust-riders-idle-apocalypse/id6742499714?uo=4



      🤩 Hack Features

      - Instant Break
      - Never Die
      - Add Resource
      • 1 reply
    • Rust Riders: Idle Apocalypse v0.1.0 [+3 Cheats]
      Modded/Hacked App: Rust Riders: Idle Apocalypse By Andriy Pidvirnyy
      Bundle ID: com.lumamind.rustriders
      App Store Link: https://apps.apple.com/us/app/rust-riders-idle-apocalypse/id6742499714?uo=4



      🤩 Hack Features

      - Instant Break
      - Never Die
      - Add Resource
      • 0 replies
    • The Battle Cats v14.3.0 [ Cat Food + More ]
      Modded/Hacked App: The Battle Cats By ponos corporation
      Bundle ID: jp.co.ponos.battlecatsen
      App Store Link: https://apps.apple.com/us/app/the-battle-cats/id850057092?uo=4


      🤩 DIY Features

      - Cat Food

      - Cat EXP

      Booster - Energy & Other Things Same Method Use To Get Unlimited Everything
      • 4 replies
    • Gunfire Ops - War shooter v1.0.9 [+3 Jailed Cheats]
      Modded/Hacked App: Gunfire Ops - War shooter By VIVA GAMES S.L.
      Bundle ID: com.vivastudios.sniper.crisis.tactical.shooter
      App Store Link: https://apps.apple.com/us/app/gunfire-ops-war-shooter/id6476885406?uo=4



      🤩 Hack Features

      - Never Die
      - Add Currency (Enable and switch page)
      - No Reload

      • 2 replies
    • Gunfire Ops - War shooter v1.0.9 [+3 Cheats]
      Modded/Hacked App: Gunfire Ops - War shooter By VIVA GAMES S.L.
      Bundle ID: com.vivastudios.sniper.crisis.tactical.shooter
      App Store Link: https://apps.apple.com/us/app/gunfire-ops-war-shooter/id6476885406?uo=4



      🤩 Hack Features

      - Never Die
      - Add Currency (Enable and switch page)
      - No Reload
      • 1 reply
    • Zombie Drift Survival Racing v1.3.1 [+6 Jailed Cheats]
      Modded/Hacked App: Zombie Drift Survival Racing By NOSURRENDER YAZILIM VE TICARET ANONIM SIRKETI
      Bundle ID: com.nosurrenderstudio.rougelikesurvival
      App Store Link: https://apps.apple.com/us/app/zombie-drift-survival-racing/id6702024869?uo=4



      🤩 Hack Features

      - Never Die
      - One Hit Kill
      - Debug Menu
      • 2 replies
    • Zombie Drift Survival Racing v1.3.1 [+6 Cheats]
      Modded/Hacked App: Zombie Drift Survival Racing By NOSURRENDER YAZILIM VE TICARET ANONIM SIRKETI
      Bundle ID: com.nosurrenderstudio.rougelikesurvival
      App Store Link: https://apps.apple.com/us/app/zombie-drift-survival-racing/id6702024869?uo=4

       

      🤩 Hack Features

      - Never Die
      - One Hit Kill
      - Debug Menu
       
      • 0 replies
    • Omega Royale - Tower Defense v1.4.0 [+2 Jailed Cheats]
      Modded/Hacked App: Omega Royale - Tower Defense By Tower Pop Oy
      Bundle ID: com.towerpop.omegaroyale
      iTunes Store Link: https://apps.apple.com/us/app/omega-royale-tower-defense/id6447241072?uo=4

       

      🚀 Hack Features

      - Omega ViP Active
      - Always Can Cast Skill (Even when it's on cooldown)


      🍏 Jailbreak iOS hacks: https://iosgods.com/forum/5-game-cheats-hack-requests/
      🤖 Modded Android APKs: https://iosgods.com/forum/68-android-section/
      • 32 replies
    • Omega Royale - Tower Defense v1.4.0 [+2 Cheats]
      Modded/Hacked App: Omega Royale - Tower Defense By Tower Pop Oy
      Bundle ID: com.towerpop.omegaroyale
      iTunes Store Link: https://apps.apple.com/us/app/omega-royale-tower-defense/id6447241072?uo=4


       

      🚀 Hack Features

      - Omega ViP Active
      - Always Can Cast Skill (Even when it's on cooldown)


      🍏 For Non-Jailbroken & No Jailbreak required hacks: https://iosgods.com/forum/79-no-jailbreak-section/
      🤖 Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      • 33 replies
    • Three Kingdoms All-Star : Idle v1.4 +3 Cheat
      Modded/Hacked App: Three Kingdoms All-Star : Idle By Highbrow
      Bundle ID: com.highbrow.games.tki
      iTunes Store Link: https://apps.apple.com/us/app/three-kingdoms-all-star-idle/id6737404289?uo=4

       


      🤩 Hack Features

      - No Skill Cooldown
      • 22 replies
    • Matchington Mansion Cheats v1.179.0 +5
      Modded/Hacked App: Matchington Mansion By Magic Tavern, Inc.
      Bundle ID: com.matchington.mansion
      iTunes Store Link: https://apps.apple.com/us/app/matchington-mansion/id1216575026?uo=4

       

      📌 Mod Requirements

      - Jailbroken iPhone or iPad.
      - iGameGod / Filza / iMazing.
      - Cydia Substrate, ElleKit, Substitute or libhooker depending on your jailbreak (from Sileo, Cydia or Zebra).

       

      🤩 Hack Features

      - Infinite Moves
      - Infinite Lives
      - Infinite Booster
      - Infinite Coin (Spend some/ Get some)
      - Infinite Stars (Complete task without needing Stars)

       

      Non-Jailbroken Hack: https://iosgods.com/topic/75130-matchington-mansion-v11750-jailed-cheats-3/

       

      ⬇️ iOS Hack Download Link: https://iosgods.com/topic/75127-matchington-mansion-cheats-v11770-5/
      • 795 replies
    • The Sims FreePlay Cheats v5.92.0 +5
      Modded/Hacked App: The Sims™ FreePlay By Electronic Arts
      Bundle ID: com.ea.sims3deluxe.ipad.inc
      iTunes Store Link: https://itunes.apple.com/us/app/the-sims-freeplay/id466965151?mt=8&uo=4&at=1010lce4


      Hack Features:
      - Infinite Simcash
      - Infinite SP
      - Infinite LSP
      - Max ViP Point
      - Unlock Everything


      Hack Download Link: https://iosgods.com/topic/72103-arm64-the-sims-freeplay-cheats-v5414-4-iosgods-exclusive/
      • 3,289 replies
×
  • Create New...

Important Information

We would like to place cookies on your device to help make this website better. The website cannot give you the best user experience without cookies. You can accept or decline our cookies. You may also adjust your cookie settings. Privacy Policy - Guidelines