Jump to content

6 posts in this topic

Recommended Posts

Posted

Hi Guys

 

So i am getting into development for jail broken devices, I have theos setup but I am getting the following error when running a simple application 

 

/var/mobile/hello/theos/makefiles/targets/Darwin-arm64/iphone.mk:43: Targeting iOS4.0 and higher is not supported with iphone-gcc. Forcing Clang

 

/var/mobile/hello/theos/makefiles/targets/Darwin-arm64/iphone.mk:53: Deploying to iOS3.0 while building for 6.0 will generate armv7-only binaries

 

making all for application hello...

ld: library not found for -lobjc

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

make[2]: *** [obj/hello.app/hello.64873355.unsigned] Error 2

make[1]: *** [internal-application-all] Error 2

make: *** [hello.all.application.variables] Error 2

 

So the above is the error i am getting

 

Anyone have any idea why this is happening

 

I have seen a video of someone use the exact code I am using and run the same commands and its working

 

so i know i havnt got the code  wrong

 

I am not sure how to fix this

 

I am developing on iOS 10.1.1 - Running Yalu

Posted

What is in your Makefile?

ARCHS = armv7 armv7s arm64

 

include theos/makefiles/common.mk

 

APPLICATION_NAME = hello

hello_FILES = main.m helloApplication.mm RootViewController.mm

hello_FRAMEWORKS = UIKit CoreGraphics

 

include $(THEOS_MAKE_PATH)/application.mk

 

 

The above is in my make file

Posted

ARCHS = armv7 armv7s arm64

 

include theos/makefiles/common.mk

 

APPLICATION_NAME = hello

hello_FILES = main.m helloApplication.mm RootViewController.mm

hello_FRAMEWORKS = UIKit CoreGraphics

 

include $(THEOS_MAKE_PATH)/application.mk

 

 

The above is in my make file

What's the output if you "make package messages=yes"

Posted

What's the output if you "make package messages=yes"

moses-iPhone:~ mobile$ su

 

Password:

 

moses-iPhone:/var/mobile root# cs hello

 

sh: cs: command not found

 

moses-iPhone:/var/mobile root# cd hello

 

moses-iPhone:/var/mobile/hello root# make package messages=yes

 

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

 

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

 

Making all for application hello...

 

mkdir -p "obj/hello.app/"

 

mkdir -p "obj/hello.app/"

 

mkdir -p "obj/hello.app/"

 

for d in Resources; do \

 

                if [ -d "$d" ]; then \

 

                        rsync -a "$d/" "./obj/hello.app/" --exclude "_MTN" --exclude ".git" --exclude ".svn" --exclude ".DS_Store" --exclude "._*"; \

 

                else \

 

                        echo "Warning: ignoring missing bundle resource directory $d."; \

 

                fi; \

 

        done

 

make -f Makefile --no-print-directory --no-keep-going \

 

                internal-application-compile \

 

                _THEOS_CURRENT_TYPE=application THEOS_CURRENT_INSTANCE=hello _THEOS_CURRENT_OPERATION=compile \

 

                THEOS_BUILD_DIR="." _THEOS_MAKE_PARALLEL=yes

 

clang++ -L/var/mobile/hello/theos/lib -lobjc -framework Foundation -framework CoreFoundation -ObjC++ -fobjc-exceptions -fobjc-call-cxx-cdtors -framework UIKit -framework CoreGraphics -isysroot "/var/mobile/hello/theos/sdks/iPhoneOS8.1.sdk" -arch armv7 -arch armv7s -arch arm64 -D__IPHONE_OS_VERSION_MIN_REQUIRED=__IPHONE_3_0 -miphoneos-version-min=3.0 -multiply_defined suppress -L/usr/lib -o "obj/hello.app/hello.64873355.unsigned" obj/main.m.73f572d0.o obj/helloApplication.mm.73f572d0.o obj/RootViewController.mm.73f572d0.o

 

ld: library not found for -lobjc

 

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

 

make[2]: *** [obj/hello.app/hello.64873355.unsigned] Error 1

 

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

 

make: *** [hello.all.application.variables] Error 2

 

moses-iPhone:/var/mobile/hello root#

 

 

I get the above

Posted

@Valathene @DiDA

i have the same error 

 

ld: library not found for -lobjc

 

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

 

make[2]: *** [obj/hello.app/hello.64873355.unsigned] Error 1

And running the same iOS 10.1.1 Yalu 

I thinks it's the case of locating that file and then linking it but I've looked and any library folder I came across I tried to copy and paste and then trying with a link still the same error 

library not found and not signing it  :((((

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

    • Demon RPG v1.12 [ +10 Cheats ] Currency Max
      Modded/Hacked App: Demon RPG By SeHyeon Im
      Bundle ID: com.Owings.DemonRPG
      App Store Link: https://apps.apple.com/us/app/demon-rpg/id1476965737?uo=4

      🤩 Hack Features

      - Unlimited Gems
      - Gold Increaser
      - OFFLINE-REWARD
      - HP Freeze
      Stats / Just Upgrade
      - ATK MAX
      - HP MAX
      - DEF MAX
      - CRITI-ATK
      - DMG-RED
      - HP-REG
      • 0 replies
    • Demon RPG v1.12 [ +10 Jailed ] Currency Max
      Modded/Hacked App: Demon RPG By SeHyeon Im
      Bundle ID: com.Owings.DemonRPG
      App Store Link: https://apps.apple.com/us/app/demon-rpg/id1476965737?uo=4

      🤩 Hack Features

      - Unlimited Gems
      - Gold Increaser
      - OFFLINE-REWARD
      - HP Freeze
      Stats / Just Upgrade
      - ATK MAX
      - HP MAX
      - DEF MAX
      - CRITI-ATK
      - DMG-RED
      - HP-REG
        • Like
      • 0 replies
    • My Little Goddess : Idle RPG +3 Mods [ Damage & Defence ]
      Mod APK Game Name: My Little Goddess : Idle RPG By Pigames
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.pigames.mylittlegoddess

       

      🤩 Hack Features

      - Damage Multiplier
      - Defence Multiplier
      - God Mode
      • 0 replies
    • Truck Simulator EVO: Drive USA v2.0 [ +2 Cheats ] Currency Max
      Modded/Hacked App: Truck Simulator EVO: Drive USA By Marusac Alexandru Persoana Fizica Autorizata
      Bundle ID: com.ovilex.truckerzoneamericanroadways
      App Store Link: https://apps.apple.com/us/app/truck-simulator-evo-drive-usa/id6748637350?uo=4

      🤩 Hack Features

      - Unlimited Cash
      - Unlimited Gold
      • 1 reply
    • Truck Simulator EVO: Drive USA v2.0 [ +2 Jailed ] Currency Max
      Modded/Hacked App: Truck Simulator EVO: Drive USA By Marusac Alexandru Persoana Fizica Autorizata
      Bundle ID: com.ovilex.truckerzoneamericanroadways
      App Store Link: https://apps.apple.com/us/app/truck-simulator-evo-drive-usa/id6748637350?uo=4

      🤩 Hack Features

      - Unlimited Cash
      - Unlimited Gold
        • Like
      • 1 reply
    • Solitaire Truck Deluxe v3.2.1 [ +5 Cheats ] Currency Max
      Modded/Hacked App: Solitaire Truck Deluxe By Beijing Multipoint Unlimited Network Technology Co., Ltd.
      Bundle ID: com.duole.solitaire.zen.home.design.patience.free.card.games
      App Store Link: https://apps.apple.com/us/app/solitaire-truck-deluxe/id6464568524?uo=4

      🤩 Hack Features

      - Auto ADS NO
      - Unlimited Gems
      - Unlimited Wrench
      - Unlimited Undo
      - Unlimited Hints
      • 1 reply
    • Solitaire Truck Deluxe v3.2.1 [ +5 Jailed ] Currency Max
      Modded/Hacked App: Solitaire Truck Deluxe By Beijing Multipoint Unlimited Network Technology Co., Ltd.
      Bundle ID: com.duole.solitaire.zen.home.design.patience.free.card.games
      App Store Link: https://apps.apple.com/us/app/solitaire-truck-deluxe/id6464568524?uo=4
       

      🤩 Hack Features

      - Auto ADS NO
      - Unlimited Gems
      - Unlimited Wrench
      - Unlimited Undo
      - Unlimited Hints
        • Like
      • 0 replies
    • DRAGON BALL Z DOKKAN BATTLE Japan (ドラゴンボールZ ドッカンバトル) v6.2.5 +7 Cheats!
      Modded/Hacked App: ドラゴンボールZ ドッカンバトル By BANDAI NAMCO Entertainment Inc.
      Bundle ID: jp.co.bandainamcogames.BNGI0211
      iTunes Link: https://itunes.apple.com/jp/app/ドラゴンボールz-ドッカンバトル/id951627670


      Hack Features
      - Unlimited HP  -  (Put .0 at the back of your value: 1000.0)
      - Unlimited Damage  -  (Put .0 at the back of your value: 1000.0)
      - Unlimited Defense  -  (Put .0 at the back of your value: 1000.0)
      - Dice Hack -  [ONLY RANGE BETWEEN 1 - 6 or it will crash]  -  (Put .0 at the back of your value: 4.0)
      - Dice Hack 1, 2, 3
      - Dice Hack 4, 5, 6
      - Auto Win Battles -> Disable if you get errors.
      PUT .0 at the back of all values!
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 8,082 replies
    • Detective S: Mystery Puzzle v1.21.4 [ +4 APK MOD ] Currency Freeze
      Mod APK Game Name: Detective S: Mystery Puzzle
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.rawhand.dts.gl&hl=en

      🤩 Hack Features

      - Diamond Freeze
      - Gold Freeze
      - Heart Freeze
      - Fragment Freeze
        • Informative
      • 0 replies
    • Detective S: Mystery Game v1.21.3 [ +5 Cheats ] Currency Freeze
      Modded/Hacked App: Detective S: Mystery Game By Rawhand. Inc
      Bundle ID: com.rawhand.dts.ios
      App Store Link: https://apps.apple.com/us/app/detective-s-mystery-game/id1502345814?uo=4

      🤩 Hack Features

      - Diamond Freeze
      - Gold Freeze
      - Heart Freeze
      - Heart Unlimited
      - Fragment Freeze
        • Like
      • 1 reply
    • Detective S: Mystery Game v1.21.3 [ +5 Jailed ] Currency Freeze
      Modded/Hacked App: Detective S: Mystery Game By Rawhand. Inc
      Bundle ID: com.rawhand.dts.ios
      App Store Link: https://apps.apple.com/us/app/detective-s-mystery-game/id1502345814?uo=4

      🤩 Hack Features

      - Diamond Freeze
      - Gold Freeze
      - Heart Freeze
      - Heart Unlimited
      - Fragment Freeze
        • Thanks
        • Like
      • 0 replies
    • Gale Knights Idle RPG +3 Mods [ Damage + More ]
      Mod APK Game Name: Gale Knights Idle RPG By LightCON Co.,Ltd.
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=net.lightcon.windidle

       

      🤩 Hack Features

      - Damage Multiplier
      - God Mode
      - No Skill Cooldown
        • Thanks
        • Like
      • 2 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