Jump to content

Theos compiling error


ubyt3x

5 posts in this topic

Recommended Posts

Posted

I have both the 10.3 & 12.2 (from https://github.com/DavidSkrundz/sdks) SDK's located inside the sdks folder.

When running make package (install), I get this error that exits the compiling:

clang-5.0: error: linker command failed with exit code 1 (use -v to see invocation)
make[3]: *** [/var/theos/makefiles/instance/library.mk:33: /var/root/untispremiumhack/.theos/obj/arm64/UntisPremiumHack.dylib] Error 1
rm /var/root/untispremiumhack/.theos/obj/arm64/Tweak.xm.mm
make[2]: *** [/var/theos/makefiles/instance/library.mk:33: /var/root/untispremiumhack/.theos/obj/arm64/UntisPremiumHack.dylib] Error 2
make[1]: *** [/var/theos/makefiles/instance/library.mk:24: internal-library-all_] Error 2
make: *** [/var/theos/makefiles/master/rules.mk:111: UntisPremiumHack.all.tweak.variables] Error 2

RGC7IO5.png

 

My Makefile:

ARCHS = armv7 arm64
TARGET = iphone:clang:latest:latest
#THEOS_PACKAGE_DIR_NAME = debs
PACKAGE_BUILDNAME = iOSGods.com
#DEBUG = 0
FINALPACKAGE = 1
FOR_RELEASE = 1
#GO_EASY_ON_ME = 1

include $(THEOS)/makefiles/common.mk

TWEAK_NAME = UntisPremiumHack
UntisPremiumHack_FILES = Tweak.xm
UntisPremiumHack_FRAMEWORKS = UIKit
UntisPremiumHack_LDFLAGS += -Wl,-segalign,4000

include $(THEOS_MAKE_PATH)/tweak.mk


SUBPROJECTS += UntisPremiumHackSettings # To compile your project as a Tweak only, comment out or remove this line.include $(THEOS_MAKE_PATH)/aggregate.mk

 

I'm using the iOSGods template, but the error is also there with the default tweak template.

Any help is appreciated, as I'm new into theos.

Posted

Removed it, thanks. But now I'm stuck with this:

make package
> Making all for tweak UntisPro
==> Linking tweak UntisPro (arm64)…
ld: warning: ignoring file /var/theos/sdks/iPhoneOS12.2.sdk/usr/lib/libobjc.tbd, file was built for unsupported file format ( 0x2D 0x2D 0x2D 0x20 0x21 0x74 0x61 0x70 0x69 0x2D 0x74 0x62 0x64 0x2D 0x76 0x33 ) which is not the architecture being linked (arm64): /var/theos/sdks/iPhoneOS12.2.sdk/usr/lib/libobjc.tbd  
ld: warning: ignoring file /var/theos/sdks/iPhoneOS12.2.sdk/System/Library/Frameworks//Foundation.framework/Foundation.tbd, file was built for unsupported file format ( 0x2D 0x2D 0x2D 0x20 0x21 0x74 0x61 0x70 0x69 0x2D 0x74 0x62 0x64 0x2D 0x76 0x33 ) which is not the architecture being linked (arm64): /var/theos/sdks/iPhoneOS12.2.sdk/System/Library/Frameworks//Foundation.framework/Foundation.tbd
ld: warning: ignoring file /var/theos/sdks/iPhoneOS12.2.sdk/System/Library/Frameworks//CoreFoundation.framework/CoreFoundation.tbd, file was built for unsupported file format ( 0x2D 0x2D 0x2D 0x20 0x21 0x74 0x61 0x70 0x69 0x2D 0x74 0x62 0x64 0x2D 0x76 0x33 ) which is not the architecture being linked (arm64): /var/theos/sdks/iPhoneOS12.2.sdk/System/Library/Frameworks//CoreFoundation.framework/CoreFoundation.tbd
ld: warning: ignoring file /var/theos/sdks/iPhoneOS12.2.sdk/System/Library/Frameworks//UIKit.framework/UIKit.tbd, file was built for unsupported file format ( 0x2D 0x2D 0x2D 0x20 0x21 0x74 0x61 0x70 0x69 0x2D 0x74 0x62 0x64 0x2D 0x76 0x33 ) which is not the architecture being linked (arm64): /var/theos/sdks/iPhoneOS12.2.sdk/System/Library/Frameworks//UIKit.framework/UIKit.tbd
ld: warning: ignoring file /var/theos/sdks/iPhoneOS12.2.sdk/usr/lib/libc++.tbd, file was built for unsupported file format ( 0x2D 0x2D 0x2D 0x20 0x21 0x74 0x61 0x70 0x69 0x2D 0x74 0x62 0x64 0x2D 0x76 0x33 ) which is not the architecture being linked (arm64): /var/theos/sdks/iPhoneOS12.2.sdk/usr/lib/libc++.tbd    
ld: warning: ignoring file /var/theos/sdks/iPhoneOS12.2.sdk/usr/lib/libSystem.tbd, file was built for unsupported file format ( 0x2D 0x2D 0x2D 0x20 0x21 0x74 0x61 0x70 0x69 0x2D 0x74 0x62 0x64 0x2D 0x76 0x33 ) which is not the architecture being linked (arm64): /var/theos/sdks/iPhoneOS12.2.sdk/usr/lib/libSystem.tbd
ld: warning: Auto-Linking supplied '/var/theos/sdks/iPhoneOS12.2.sdk/System/Library/Frameworks//Security.framework/Security.tbd', file was built for unsupported file format ( 0x2D 0x2D 0x2D 0x20 0x21 0x74 0x61 0x70 0x69 0x2D 0x74 0x62 0x64 0x2D 0x76 0x33 ) which is not the architecture being linked (arm64): /var/theos/sdks/iPhoneOS12.2.sdk/System/Library/Frameworks//Security.framework/Security.tbd
ld: warning: Auto-Linking supplied '/var/theos/sdks/iPhoneOS12.2.sdk/System/Library/Frameworks//Metal.framework/Metal.tbd', file was built for unsupported file format ( 0x2D 0x2D 0x2D 0x20 0x21 0x74 0x61 0x70 0x69 0x2D 0x74 0x62 0x64 0x2D 0x76 0x33 ) which is not the architecture being linked (arm64): /var/theos/sdks/iPhoneOS12.2.sdk/System/Library/Frameworks//Metal.framework/Metal.tbd
ld: warning: Auto-Linking supplied '/var/theos/sdks/iPhoneOS12.2.sdk/System/Library/Frameworks//CFNetwork.framework/CFNetwork.tbd', file was built for unsupported file format ( 0x2D 0x2D 0x2D 0x20 0x21 0x74 0x61 0x70 0x69 0x2D 0x74 0x62 0x64 0x2D 0x76 0x33 ) which is not the architecture being linked (arm64): /var/theos/sdks/iPhoneOS12.2.sdk/System/Library/Frameworks//CFNetwork.framework/CFNetwork.tbd
ld: warning: Auto-Linking supplied '/var/theos/sdks/iPhoneOS12.2.sdk/System/Library/Frameworks//IOSurface.framework/IOSurface.tbd', file was built for unsupported file format ( 0x2D 0x2D 0x2D 0x20 0x21 0x74 0x61 0x70 0x69 0x2D 0x74 0x62 0x64 0x2D 0x76 0x33 ) which is not the architecture being linked (arm64): /var/theos/sdks/iPhoneOS12.2.sdk/System/Library/Frameworks//IOSurface.framework/IOSurface.tbd
ld: warning: Auto-Linking supplied '/var/theos/sdks/iPhoneOS12.2.sdk/System/Library/Frameworks//CoreVideo.framework/CoreVideo.tbd', file was built for unsupported file format ( 0x2D 0x2D 0x2D 0x20 0x21 0x74 0x61 0x70 0x69 0x2D 0x74 0x62 0x64 0x2D 0x76 0x33 ) which is not the architecture being linked (arm64): /var/theos/sdks/iPhoneOS12.2.sdk/System/Library/Frameworks//CoreVideo.framework/CoreVideo.tbd
ld: warning: Auto-Linking supplied '/var/theos/sdks/iPhoneOS12.2.sdk/System/Library/Frameworks//FileProvider.framework/FileProvider.tbd', file was built for unsupported file format ( 0x2D 0x2D 0x2D 0x20 0x21 0x74 0x61 0x70 0x69 0x2D 0x74 0x62 0x64 0x2D 0x76 0x33 ) which is not the architecture being linked (arm64): /var/theos/sdks/iPhoneOS12.2.sdk/System/Library/Frameworks//FileProvider.framework/FileProvider.tbd
ld: warning: Auto-Linking supplied '/var/theos/sdks/iPhoneOS12.2.sdk/System/Library/Frameworks//CoreImage.framework/CoreImage.tbd', file was built for unsupported file format ( 0x2D 0x2D 0x2D 0x20 0x21 0x74 0x61 0x70 0x69 0x2D 0x74 0x62 0x64 0x2D 0x76 0x33 ) which is not the architecture being linked (arm64): /var/theos/sdks/iPhoneOS12.2.sdk/System/Library/Frameworks//CoreImage.framework/CoreImage.tbd
ld: warning: Auto-Linking supplied '/var/theos/sdks/iPhoneOS12.2.sdk/System/Library/Frameworks//CoreGraphics.framework/CoreGraphics.tbd', file was built for unsupported file format ( 0x2D 0x2D 0x2D 0x20 0x21 0x74 0x61 0x70 0x69 0x2D 0x74 0x62 0x64 0x2D 0x76 0x33 ) which is not the architecture being linked (arm64): /var/theos/sdks/iPhoneOS12.2.sdk/System/Library/Frameworks//CoreGraphics.framework/CoreGraphics.tbd
ld: warning: Auto-Linking supplied '/var/theos/sdks/iPhoneOS12.2.sdk/System/Library/Frameworks//OpenGLES.framework/OpenGLES.tbd', file was built for unsupported file format ( 0x2D 0x2D 0x2D 0x20 0x21 0x74 0x61 0x70 0x69 0x2D 0x74 0x62 0x64 0x2D 0x76 0x33 ) which is not the architecture being linked (arm64): /var/theos/sdks/iPhoneOS12.2.sdk/System/Library/Frameworks//OpenGLES.framework/OpenGLES.tbd
ld: warning: Auto-Linking supplied '/var/theos/sdks/iPhoneOS12.2.sdk/System/Library/Frameworks//QuartzCore.framework/QuartzCore.tbd', file was built for unsupported file format ( 0x2D 0x2D 0x2D 0x20 0x21 0x74 0x61 0x70 0x69 0x2D 0x74 0x62 0x64 0x2D 0x76 0x33 ) which is not the architecture being linked (arm64): /var/theos/sdks/iPhoneOS12.2.sdk/System/Library/Frameworks//QuartzCore.framework/QuartzCore.tbd
ld: warning: Auto-Linking supplied '/var/theos/sdks/iPhoneOS12.2.sdk/System/Library/Frameworks//CoreText.framework/CoreText.tbd', file was built for unsupported file format ( 0x2D 0x2D 0x2D 0x20 0x21 0x74 0x61 0x70 0x69 0x2D 0x74 0x62 0x64 0x2D 0x76 0x33 ) which is not the architecture being linked (arm64): /var/theos/sdks/iPhoneOS12.2.sdk/System/Library/Frameworks//CoreText.framework/CoreText.tbd
ld: warning: Auto-Linking supplied '/var/theos/sdks/iPhoneOS12.2.sdk/System/Library/Frameworks//ImageIO.framework/ImageIO.tbd', file was built for unsupported file format ( 0x2D 0x2D 0x2D 0x20 0x21 0x74 0x61 0x70 0x69 0x2D 0x74 0x62 0x64 0x2D 0x76 0x33 ) which is not the architecture being linked (arm64): /var/theos/sdks/iPhoneOS12.2.sdk/System/Library/Frameworks//ImageIO.framework/ImageIO.tbd
Undefined symbols for architecture arm64:
  "_CFNotificationCenterAddObserver", referenced from:
      subscribeToLaunchEvent() in Tweak.xm.44da8f9b.o
      initialize() in Tweak.xm.44da8f9b.o
  "_CFNotificationCenterGetLocalCenter", referenced from:
      subscribeToLaunchEvent() in Tweak.xm.44da8f9b.o
      didFinishLaunching(__CFNotificationCenter*, void*, __CFString const*, void const*, __CFDictionary const*) in Tweak.xm.44da8f9b.o
      unsubscribeToLaunchEvent() in Tweak.xm.44da8f9b.o
      initialize() in Tweak.xm.44da8f9b.o
  "_CFNotificationCenterRemoveObserver", referenced from:
      didFinishLaunching(__CFNotificationCenter*, void*, __CFString const*, void const*, __CFDictionary const*) in Tweak.xm.44da8f9b.o
      unsubscribeToLaunchEvent() in Tweak.xm.44da8f9b.o
  "_OBJC_CLASS_$_NSURL", referenced from:
      objc-class-ref in Tweak.xm.44da8f9b.o
  "_OBJC_CLASS_$_UIAlertAction", referenced from:
      objc-class-ref in Tweak.xm.44da8f9b.o
  "_OBJC_CLASS_$_UIAlertController", referenced from:
      objc-class-ref in Tweak.xm.44da8f9b.o
  "_OBJC_CLASS_$_UIApplication", referenced from:
      objc-class-ref in Tweak.xm.44da8f9b.o
  "_UIApplicationDidFinishLaunchingNotification", referenced from:
      subscribeToLaunchEvent() in Tweak.xm.44da8f9b.o
      didFinishLaunching(__CFNotificationCenter*, void*, __CFString const*, void const*, __CFDictionary const*) in Tweak.xm.44da8f9b.o
      unsubscribeToLaunchEvent() in Tweak.xm.44da8f9b.o
      initialize() in Tweak.xm.44da8f9b.o
  "__NSConcreteGlobalBlock", referenced from:
      ___block_literal_global in Tweak.xm.44da8f9b.o
      ___block_literal_global.19 in Tweak.xm.44da8f9b.o
      ___block_literal_global.27 in Tweak.xm.44da8f9b.o
      ___block_literal_global.29 in Tweak.xm.44da8f9b.o
  "___CFConstantStringClassReference", referenced from:
      CFString in Tweak.xm.44da8f9b.o
      CFString in Tweak.xm.44da8f9b.o
      CFString in Tweak.xm.44da8f9b.o
      CFString in Tweak.xm.44da8f9b.o
      CFString in Tweak.xm.44da8f9b.o
      CFString in Tweak.xm.44da8f9b.o
      CFString in Tweak.xm.44da8f9b.o
      ...
  "___NSDictionary0__", referenced from:
      ____Z5setupv_block_invoke in Tweak.xm.44da8f9b.o
      ____Z5setupv_block_invoke_3 in Tweak.xm.44da8f9b.o
  "__dyld_get_image_header", referenced from:
      hasASLR() in Tweak.xm.44da8f9b.o
      calculateAddress(long long) in Tweak.xm.44da8f9b.o
  "__dyld_get_image_vmaddr_slide", referenced from:
      get_slide() in Tweak.xm.44da8f9b.o
      calculateAddress(long long) in Tweak.xm.44da8f9b.o
  "_mach_task_self_", referenced from:
      vm_writeData(long long, unsigned int) in Tweak.xm.44da8f9b.o
  "_objc_getClass", referenced from:
      _logosLocalInit() in Tweak.xm.44da8f9b.o
  "_objc_msgSend", referenced from:
      setup() in Tweak.xm.44da8f9b.o
      ____Z5setupv_block_invoke in Tweak.xm.44da8f9b.o
      ____Z5setupv_block_invoke_3 in Tweak.xm.44da8f9b.o
  "_vm_protect", referenced from:
      vm_writeData(long long, unsigned int) in Tweak.xm.44da8f9b.o
  "_vm_write", referenced from:
      vm_writeData(long long, unsigned int) in Tweak.xm.44da8f9b.o
ld: symbol(s) not found for architecture arm64
clang-5.0: error: linker command failed with exit code 1 (use -v to see invocation)
make[3]: *** [/var/theos/makefiles/instance/library.mk:33: /var/root/tweaks/untispro/.theos/obj/arm64/UntisPro.dylib] Error 1
make[2]: *** [/var/theos/makefiles/instance/library.mk:33: /var/root/tweaks/untispro/.theos/obj/arm64/UntisPro.dylib] Error 2
make[1]: *** [/var/theos/makefiles/instance/library.mk:24: internal-library-all_] Error 2
make: *** [/var/theos/makefiles/master/rules.mk:111: UntisPro.all.tweak.variables] Error 2

 

Archived

This topic is now archived and is closed to further replies.

  • 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
      • 4 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
      • 14 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
      • 55 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
      • 6 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