Jump to content

21 posts in this topic

Recommended Posts

  • Replies 20
  • Created
  • Last Reply

Top Posters In This Topic

Posted (edited)

What error are you getting now?

The same "Error 2"

/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.

/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

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)

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.

 

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

/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

%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

@@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

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)

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

    • Summoners War Cheats v8.7.2 +7
      Hacked App: Summoners War By Com2uS Corp.
      iTunes Link: https://itunes.apple.com/us/app/summoners-war/id852912420?mt=8&uo=4&at=1010lce4
      Bundle ID: com.com2us.smon.normal.freefull.apple.kr.ios.universal

      Hack Features:
      - Damage Multiplier 
      - Godmode
      - Monster Count Unlink
      - Max Accuracy
      - No Skill Cooldown
      - First Turn
      - Build buildings without having required level
      - Antiban
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 6,865 replies
    • Hollywood Story: Fashion Star Cheats v13.1 +4
      Modded/Hacked App: Hollywood Story®: Fashion Star By Nanobit d.o.o.
      Bundle ID: com.nanobitsoftware.hollywoodstory
      iTunes Store Link: https://apps.apple.com/us/app/hollywood-story-fashion-star/id876656488?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 Cash
      - Infinite Gems
      - Infinite Golden Tickets
      - Infinite Stars Point

       

      ⬇️ iOS Hack Download Link: https://iosgods.com/topic/73408-hollywood-story-fashion-star-cheats-v1211-4/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 788 replies
    • Zooba: Zoo Battle Royale Game v5.9.1 Jailed Cheats +2
      Modded/Hacked App: Zooba: Zoo Battle Royale Games By Wildlife Studios Limited
      Bundle ID: com.fungames.battleroyale
      iTunes Store Link: https://apps.apple.com/us/app/zooba-zoo-battle-royale-games/id1459402952?uo=4


      Hack Features:
      - Map Hacks
      - Allow Shoot in Water


      Jailbreak required hack(s): https://iosgods.com/topic/131104-arm64-zooba-zoo-battle-royale-game-cheats-all-versions-2/


      iOS Hack Download Link: https://iosgods.com/topic/131134-arm64-zooba-zoo-battle-royale-game-v320-jailed-cheats-2/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 1,271 replies
    • Tap Tap Fish - AbyssRium v1.83.0 Jailed Cheats +3
      Modded/Hacked App: Tap Tap Fish - AbyssRium By SangHeon Kim
      Bundle ID: com.idleif.abyssrium
      iTunes Store Link: https://apps.apple.com/us/app/tap-tap-fish-abyssrium/id1068366937?uo=4


      Hack Features:
      - Infinite Vitality, Gem, etc ... (Increase When Used) / Untested with Pearl
      - Infinite Gems
      - Infinite Candy


      Hack Download Link: https://iosgods.com/topic/81389-tap-tap-fish-abyssrium-v1670-jailed-cheats-3/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 249 replies
    • Travel Town - Merge Adventure v2.12.1052 Jailed Cheats +1
      Modded/Hacked App: Travel Town - Merge Adventure By Magmatic Games Ltd
      Bundle ID: io.randomco.travel
      iTunes Store Link: https://apps.apple.com/us/app/travel-town-merge-adventure/id1521236603?uo=4


      Hack Features:
      - Infinite Currencies


      iOS Hack Download Link: https://iosgods.com/topic/148953-travel-town-merge-adventure-v212287-jailed-cheats-1/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 723 replies
    • Subway Surfers Cheats v3.46.0 +5
      Modded/Hacked App: Subway Surfers By Sybo Games ApS
      Bundle ID: com.kiloo.subwaysurfers
      iTunes Store Link: https://apps.apple.com/us/app/subway-surfers/id512939461?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

      - Free Store (not Free iAP)
      - Free iAP (ViP Only)
      - Unlock Characters Outfit
      - Custom Jump Height
      - No Clip (To end level swipe to left til you get dizzy, swipe again and you will lose)

       

      Non-Jailbroken Hack: https://iosgods.com/topic/119795-subway-surfers-v3425-jailed-cheats-5/

       

      ⬇️ iOS Hack Download Link: https://iosgods.com/topic/119793-subway-surfers-cheats-v3430-5/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 2,313 replies
    • Eternium Cheats v1.35.4 +11
      Modded/Hacked App: Eternium By Making Fun, Inc.
      Bundle ID: com.makingfun.mageandminions
      iTunes Store Link: https://apps.apple.com/us/app/eternium/id579931356?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

      - 5K Gems When Completed Stage
      - Infinite Gold
      - Infinite Cosmetic
      - Infinite Yellow Stone
      - Multiply Attack (Linked with Enemy)
      - No Skills Cooldown
      - No Consumable Cooldown
      - Multiply Attack Speed
      - Instant Regen Health
      - Always Crit
      - Material Drops (When you killed an Enemy it will drop materials for crafts)



      ⬇️ iOS Hack Download Link: https://iosgods.com/topic/194526-eternium-cheats-v13355-6/
        • Informative
        • Winner
        • Like
      • 49 replies
    • HomeScapes v7.9.7 Jailed Cheats +3
      Modded/Hacked App: Homescapes By PLR Worldwide Sales Limited
      Bundle ID: com.playrix.gardenscapes-sweethome
      iTunes Store Link: https://apps.apple.com/us/app/homescapes/id1195621598?uo=4

       

      📌 Mod Requirements

      - Non-Jailbroken/Jailed or Jailbroken iPhone or iPad.
      - Sideloadly or alternatives.
      - Computer running Windows/macOS/Linux with iTunes installed.

       

      🤩 Hack Features

      - Infinite Moves
      - Infinite Boosters
      - Infinite Coins (Spend some)
      - Infinite Lives (Won't substract when you failed level)
      - Complete tasks without needing stars - Game Breaking for sure
      - Unlock Season Pass (by @NoFearGG) -- Go click the purchase button. It'll look like nothing happened. Leave season pass area. And go back. It'll show unlocked. And be saved that way


      🍏 Jailbreak iOS hacks: https://iosgods.com/topic/75434-homescapes-cheats-v776-5/

       

      ⬇️ iOS Hack Download IPA Link: https://iosgods.com/topic/71443-homescapes-v776-jailed-cheats-3/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 2,436 replies
    • Battle Legion - Mass Battler Cheats v4.3.0 +4
      Modded/Hacked App: Battle Legion - Mass Battler By GODSPEED GAMING SOLUTIONS PRIVATE LIMITED
      Bundle ID: com.traplight.battleslides
      iTunes Store Link: https://apps.apple.com/us/app/battle-legion-mass-battler/id1435133042?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

      - Multiply Attack
      - Multiply Defense
      - Instant Win
      - Enemies Don't Move
      - Enemies Don't Attack

       

      ⬇️ iOS Hack Download Link: https://iosgods.com/topic/129669-battle-legion-mass-battler-cheats-v424-4/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 566 replies
    • Boxing Star: Real Boxing Fight Cheats v6.7.0 +4
      Modded/Hacked App: Boxing Star: Real Boxing Fight By THUMBAGE Co., Ltd
      Bundle ID: com.ftt.boxingstar.gl.ios
      iTunes Store Link: https://apps.apple.com/us/app/boxing-star-real-boxing-fight/id1241887528?uo=4


      Hack Features:
      - Multiply Attack
      - Multiply Defense
      - God Mode
      - One Touch & Win

      Free Non-Jailbroken Hack: https://iosgods.com/topic/92347-boxing-star-real-boxing-fight-v620-jailed-cheats-4/


      Hack Download Link: https://iosgods.com/topic/72805-boxing-star-real-boxing-fight-cheats-v620-4/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 1,680 replies
    • Monster Legends: Collect all Cheats v17.9.3 +8
      Modded/Hacked App: Monster Legends: Merge RPG By Socialpoint
      Bundle ID: es.socialpoint.MonsterCity
      iTunes Store Link: https://apps.apple.com/us/app/monster-legends-merge-rpg/id653508448?uo=4

       

      📌 Mod Requirements

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

       

      🤩 Hack Features

      - 1 Hit Kill
      - Skip Enemy Turn
      - Multiply Attack
      - Multiply Defense
      - Insane Score (Always 3 Stars)
      - No Skill Cost
      - Auto Win
      - Auto Play Battle Enabled for All Maps


      🍏 For Non-Jailbroken & No Jailbreak required hacks: https://iosgods.com/topic/140543-monster-legends-collect-all-v1778-5-cheats-for-jailed-idevices/

       

      ⬇️ iOS Hack Download Link: https://iosgods.com/topic/176914-monster-legends-collect-all-cheats-v1779-8/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 329 replies
    • Star Wars™: Galaxy of Heroes Cheats v0.36.6 +8
      Modded/Hacked App: Star Wars™: Galaxy of Heroes By Electronic Arts
      Bundle ID: com.ea.starwarscapital.bv
      iTunes Link: https://itunes.apple.com/us/app/star-wars-galaxy-of-heroes/id921022358?mt=8&uo=4&at=1010lce4


      Mod Requirements
      - Jailbroken iPhone/iPad/iPod Touch.
      - iFile / Filza / iFunBox / iTools or any other file managers for iOS.
      - Cydia Substrate (from Cydia).
      - PreferenceLoader (from Cydia).


      Hack Features
      - No Skill Cooldown time / Skill Always Available. Linked with enemy. Enable when it's your turn, disable when it's enemies turn. Timing is key.
      - One Hit Kill / Very High Damage. This is linked with you and the enemy, use with Skip Enemy Turn feature or enable disable when you attack via the In-Game Mod Menu! Do not kill the last enemy with OHK otherwise the game will crash. This feature is only for x64 or ARM64 iDevices: iPhone 5s, 6, 6 Plus, 6s, 6s Plus, 7, 7 Plus, iPod Touch 6G, iPad Air, Air 2, Pro & iPad Mini 2, 3, 4 and later.
      - Always Your Turn / Skip Enemy Turn. It's always your turn, you're always attacking.
      - Auto Win. You must use this with One Hit Kill in order for it to work. Kill 1 Enemy and you will auto win the battle.
      - Only 1 Encounter on All Missions.
      -- God Mode / Never Die thanks to the features above.

      This hack is now an In-Game Mod Menu. This means you can toggle switches on/off while in a fight. Since God Mode is linked, turn it off when you're attacking and turn it on when the enemy is attacking to do damage but not receive damage. Same goes for the other features.
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 3,120 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