Jump to content

[TUTORIAL] How to Fix arm64 arch Error when making a deb package


19 posts in this topic

Recommended Posts

Updated (edited)

So recently i was having issues making a deb package because of an error i would get regarding arm64 which looks like this:

 

 

/Applications/Xcode.app/Contents/Developer/usr/bin/make -f Makefile --no-print-directory --no-keep-going \

internal-library-compile \

THEOS_CURRENT_TYPE=tweak THEOS_CURRENT_INSTANCE=Cars THEOS_CURRENT_OPERATION=compile \

THEOS_BUILD_DIR="." _THEOS_MAKE_PARALLEL=yes

/Users/angrydominican/Documents/Debfiles/Cars/theos/bin/logos.pl -c warnings=error Tweak.xm > ./obj/Tweak.xm.mm

xcrun -sdk iphoneos clang++ -x objective-c++ -c -I"/Users/angrydominican/Documents/Debfiles/Cars" -DTARGET_IPHONE=1 -O2 -I/Users/angrydominican/Documents/Debfiles/Cars/theos/include -include /Users/angrydominican/Documents/Debfiles/Cars/theos/Prefix.pch -Wall -Werror -isysroot "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.1.sdk" -arch armv7 -arch arm64 -D__IPHONE_OS_VERSION_MIN_REQUIRED=__IPHONE_8_1 -miphoneos-version-min=8.1 -fobjc-arc -include "logos/logos.h" ./obj/Tweak.xm.mm -o obj/Tweak.xm.83371b02.o

rm ./obj/Tweak.xm.mm

xcrun -sdk iphoneos clang++ -L/Users/angrydominican/Documents/Debfiles/Cars/theos/lib -lobjc -framework Foundation -framework CoreFoundation -ObjC++ -fobjc-exceptions -fobjc-call-cxx-cdtors -framework UIKit -framework MessageUI -framework Social -framework QuartzCore -framework CoreGraphics -framework Foundation -framework AVFoundation -framework Accelerate -framework GLKit -lsubstrate -dynamiclib -install_name "/Library/MobileSubstrate/DynamicLibraries/Cars.dylib" -isysroot "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.1.sdk" -arch armv7 -arch arm64 -D__IPHONE_OS_VERSION_MIN_REQUIRED=__IPHONE_8_1 -miphoneos-version-min=8.1 -multiply_defined suppress -Wl,-segalign,4000 -o "obj/Cars.dylib.ba964c90.unsigned" obj/Tweak.xm.83371b02.o obj//Users/angrydominican/Documents/Debfiles/Cars/theos/include/SCLAlertView/SCLAlertView.m.83371b02.o obj//Users/angrydominican/Documents/Debfiles/Cars/theos/include/SCLAlertView/SCLAlertViewResponder.m.83371b02.o obj//Users/angrydominican/Documents/Debfiles/Cars/theos/include/SCLAlertView/SCLAlertViewStyleKit.m.83371b02.o obj//Users/angrydominican/Documents/Debfiles/Cars/theos/include/SCLAlertView/SCLButton.m.83371b02.o obj//Users/angrydominican/Documents/Debfiles/Cars/theos/include/SCLAlertView/SCLTextView.m.83371b02.o obj//Users/angrydominican/Documents/Debfiles/Cars/theos/include/SCLAlertView/SCLTimerDisplay.m.83371b02.o obj//Users/angrydominican/Documents/Debfiles/Cars/theos/include/SCLAlertView/UIImage+ImageEffects.m.83371b02.o

ld: warning: ignoring file /Users/angrydominican/Documents/Debfiles/Cars/theos/lib/libsubstrate.dylib, file was built for armv7 which is not the architecture being linked (arm64): /Users/angrydominican/Documents/Debfiles/Cars/theos/lib/libsubstrate.dylib

Undefined symbols for architecture arm64:

"_MSHookFunction", referenced from:

_logosLocalCtor_c00dbd47() in Tweak.xm.83371b02.o

"_MSHookMessageEx", referenced from:

_logosLocalInit() in Tweak.xm.83371b02.o

ld: symbol(s) not found for architecture arm64

clang: error: linker command failed with exit code 1 (use -v to see invocation)

make[2]: *** [obj/Cars.dylib.ba964c90.unsigned] Error 1

make[1]: *** [internal-library-all_] Error 2

make: *** [Cars.all.tweak.variables] Error 2

 

So to fix that i was removing the arm64 arch from the Makefile but doing so would make the deb incompatible with 64bit devices. So the amazing genius @@DiDA figured out that it was my lib substrate.dylib that was not working right. Thus he sent me a copy of his and replaced mine with his in theos/lib. And BAM problem solved.

 

So if you do have this issue here is a copy of that libsubstrate.dylib file you'll need. Now you should be able to make package for both 32 bit and 64 bit devices.

 

 

Hidden Content

React or reply to this topic to see the hidden content & download link. 👀

 

Credits:

-@@Battousai

-@@DiDA

Updated by Diversityy
  • Like 27
  • Thanks 3
  • Haha 2
  • Agree 2
  • Informative 3

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

    • Gear Defenders v1.1.3 [ +10 Jailed ] Currency Max
      Modded/Hacked App: Gear Defenders By MOBIBRAIN TECHNOLOGY PTE. LTD.
      Bundle ID: com.iogames.gearworld
      App Store Link: https://apps.apple.com/us/app/gear-defenders/id6740892835?uo=4


      🤩 Hack Features

      - Unlimited Gems
      - Unlimited Coins
      - Unlimited Energy
      - Unlimited ADS Tickets
      - Unlimited Draw
      - Unlimited Battle Coins
      - Base HP
      - Gear Speed / Faster Deploy Trop
      - Unlimited Trop / Easy Win
      - ATK / Linked
      • 3 replies
    • Gear Defenders v1.1.3 [ +10 Cheats ] Currency Max
      Modded/Hacked App: Gear Defenders By MOBIBRAIN TECHNOLOGY PTE. LTD.
      Bundle ID: com.iogames.gearworld
      App Store Link: https://apps.apple.com/us/app/gear-defenders/id6740892835?uo=4

      🤩 Hack Features

      - Unlimited Gems
      - Unlimited Coins
      - Unlimited Energy
      - Unlimited ADS Tickets
      - Unlimited Draw
      - Unlimited Battle Coins
      - Base HP
      - Gear Speed / Faster Deploy Trop
      - Unlimited Trop / Easy Win
      - ATK / Linked
      • 4 replies
    • Happy Citizens - Mayor Sim v1.4.15 [ +4 Cheats ] Currency Max
      Modded/Hacked App: Happy Citizens - Mayor Sim By MIYA TECH LIMITED
      Bundle ID: com.miyagames.happycitizen.ios
      App Store Link: https://apps.apple.com/ca/app/happy-citizens-mayor-sim/id6745251520?uo=4


      🤩 Hack Features

      - Gems
      - Cash
      - Energy
      - Water
      • 15 replies
    • Happy Citizens - Mayor Sim v1.4.15 [ +4 Jailed ] Currency Max
      Modded/Hacked App: Happy Citizens - Mayor Sim By MIYA TECH LIMITED
      Bundle ID: com.miyagames.happycitizen.ios
      App Store Link: https://apps.apple.com/ca/app/happy-citizens-mayor-sim/id6745251520?uo=4

       
      🤩 Hack Features

      - Gems
      - Cash
      - Energy
      - Water
      • 24 replies
    • Idle Five - Basketball Manager v1.48.2 [ +4 Cheats ] Currency Max
      Modded/Hacked App: Idle Five - Basketball Manager By Gaminho
      Bundle ID: com.gaminho.idlefivebasketball
      iTunes Store Link: https://apps.apple.com/us/app/idle-five-basketball-manager/id1539155867?uo=4

       

      🤩 Hack Features

      - Currency
      - Resources
      - ViP Active
      - ADS NO
      • 12 replies
    • Idle Five - Basketball Manager v1.48.2 [ +4 Jailed ] Currency Max
      Modded/Hacked App: Idle Five - Basketball Manager By Gaminho
      Bundle ID: com.gaminho.idlefivebasketball
      iTunes Store Link: https://apps.apple.com/us/app/idle-five-basketball-manager/id1539155867?uo=4
       

      🤩 Hack Features

      - Currency
      - Resources
      - ViP Active
      - ADS NO
      • 13 replies
    • Domino Dreams™ v1.47.2 [ +10 Cheats ] Auto Win
      Modded/Hacked App: Domino Dreams™ By SuperPlay LTD
      Bundle ID: com.superplaystudios.dominodreams
      iTunes Store Link: https://apps.apple.com/us/app/domino-dreams/id6444043291?uo=4



      🤩 Hack Features

      - Coins Unlimited [ LvL Rewards ]

      - Stars Unlimited [ Win LvL Then Back Show Stars Hacked Disable Cheat Close App Again Open Then Work Stars Don't Use Again ] Linked With Some Task

      - Ticket Free Max [ Linked With Stars ] LvL Cost

      - Undo Max [ Linked With Stars ] 

      - Gold Card Max [ Linked With Stars ] 

      - Chapter Next [ Play LvL Quit & Win ]

      - Avatar Unlocked [ Play LvL Win After Unlocked Don"t Use Again ]

      - Auto Win LvL [ Play LvL Move Anything ] 

      - Bonus Mod LvL [ ON-OFF ] 

      - Spin Free [ Need One Point only Open Play LvL ]
      • 33 replies
    • Domino Dreams™ v1.47.2 [ +10 Jailed ] Auto Win
      Modded/Hacked App: Domino Dreams™ By SuperPlay LTD
      Bundle ID: com.superplaystudios.dominodreams
      iTunes Store Link: https://apps.apple.com/us/app/domino-dreams/id6444043291?uo=4


      🤩 Hack Features

      - Coins Unlimited [ LvL Rewards ]
      - Stars Unlimited [ Win LvL Then Back Show Stars Hacked Disable Cheat Close App Again Open Then Work Stars Don't Use Again ] Linked With Some Task
      - Ticket Free Max [ Linked With Stars ] LvL Cost
      - Undo Max [ Linked With Stars ] 
      - Gold Card Max [ Linked With Stars ] 
      - Chapter Next [ Play LvL Quit & Win ]
      - Avatar Unlocked [ Play LvL Win After Unlocked Don"t Use Again ]
      - Auto Win LvL [ Play LvL Move Anything ] 
      - Bonus Mod LvL [ ON-OFF ] 
      - Spin Free [ Need One Point only Open Play LvL ]
      • 50 replies
    • Merge Clash Tower Defense V14.0 [ +6 Cheats ] Currency Max
      Modded/Hacked App: Merge Clash: Tower Defense By Block Puzzle Games Inc.
      Bundle ID: merge.clash
      iTunes Store Link: https://apps.apple.com/us/app/merge-clash-tower-defense/id1506854108?uo=4


      Hack Features:
      - Gems Max

      - Gold Max

      - DMG Multi

      - ATK Range Multi

      - Critical Multi

      - ATK Tower CD
      • 53 replies
    • Merge Clash Tower Defense V14.0 [ +6 Jailed ] Currency Max
      Modded/Hacked App: Merge Clash: Tower Defense By Block Puzzle Games Inc.
      Bundle ID: merge.clash
      iTunes Store Link: https://apps.apple.com/us/app/merge-clash-tower-defense/id1506854108?uo=4


      Hack Features:

      - Gems Max

      - Gold Max

      - DMG Multi

      - ATK Range Multi

      - Critical Multi

      - ATK Tower CD
      • 37 replies
    • Goblin Miner: Idle Merger v3.8.0 [ +5 Cheats ] Coins Unlimited
      Modded/Hacked App: Goblin Miner: Idle Merger By ProGamesLab LTD
      Bundle ID: com.goblins.idle.merge.game
      App Store Link: https://apps.apple.com/us/app/goblin-miner-idle-merger/id6751527945?uo=4

      🤩 Hack Features

      - Unlimited Coins / Mine Upgrade
      - Unlimited Goblin Drop / No Limite
      - Goblin LvL Higher / Easy To Skip Time Mine / First Drop Goblin Then Chose Higher LvL
      - Unlimited Magic Dust
      - Ruby Pass
      • 3 replies
    • Goblin Miner: Idle Merger v3.8.0 [ +5 Jailed ] Coins Unlimited
      Modded/Hacked App: Goblin Miner: Idle Merger By ProGamesLab LTD
      Bundle ID: com.goblins.idle.merge.game
      App Store Link: https://apps.apple.com/us/app/goblin-miner-idle-merger/id6751527945?uo=4

      🤩 Hack Features

      - Unlimited Coins / Mine Upgrade
      - Unlimited Goblin Drop / No Limite
      - Goblin LvL Higher / Easy To Skip Time Mine / First Drop Goblin Then Chose Higher LvL
      - Unlimited Magic Dust
      - Ruby Pass
      • 5 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