Jump to content

theos make package problems


Go to solution Solved by Smashlz,

12 posts in this topic

Recommended Posts

Hey guys, 

I am using these the I got from Vida's tutorial and using shoos igmm Nic template to try to create a tweak. I have got my project instantiated, edited my code to include my hacks and changed the color, but when I go to run "make package" or "make package install" I get errors telling me that I am missing some *.h files that it calls to import in the Prefix.pch file.

This is my Prefix.pch file

#ifdef DEBUG

#define __DEBUG__

#endif

 

#ifdef __OBJC__

#import <_Prefix/NullabilityCompat.h>

 

#ifndef THEOS_SWIFT

#import <Foundation/Foundation.h>

 

#ifdef TARGET_OS_SIMULATOR

#define _THEOS_IS_SIMULATOR TARGET_OS_SIMULATOR

#else

#define _THEOS_IS_SIMULATOR TARGET_IPHONE_SIMULATOR

#endif

 

#if TARGET_IPHONE || _THEOS_IS_SIMULATOR

#import <UIKit/UIKit.h>

#import <_Prefix/IOSWebKitCompatHacks.h>

#endif

 

#if TARGET_MACOSX

#import <Cocoa/Cocoa.h>

#import <AppKit/AppKit.h>

#endif

#endif

 

#import <_Prefix/HBLog.h>

#import <_Prefix/IOSMacros.h>

#endif

 

the first error it gives my is for _Prefix/NullabilityCompat.h file not found the second error it will give me is UIKIT/UIKit.h not found. 

I have found multiple copies of headers from different sources and have found none that have those files in them.

I am beating my head against a wall here and so close to completing my project and moving on to the next one any help anyone could offer would be greatly appreciated. Thanks in advance.

 

MazterBatter

Link to comment
https://iosgods.com/topic/68486-theos-make-package-problems/
Share on other sites

Shmoo's Mod Menu template requires some extra headers for it to work properly. They are mentioned on the topic. :)

If you are getting UIKit not found issues, then your theos installation is likely either corrupt or not installed properly.

  • Informative 1

Yes I moved from my sdks/iosversion/c++/4.2.1/ over to the include folder 

I have sdks for 9.3 10.3 and 11.2 I followed DiDA tutorial from January for theos install.

Where is a link to the new theos? I have tried this on multiple devices and a friend of mine has tried also and we both get stuck at "make package"

I also got headers from GitHub and merged them with the headers that were moved over and nothing still. the files needed are not in those headers.

Can this be resolved by using another Prefix.pch file? or editing this one? I had read about changing NullabilityCompat.h to BackwardCompat.h or something of the sort.

42 minutes ago, Mazterbatter said:

I also got headers from GitHub and merged them with the headers that were moved over and nothing still. the files needed are not in those headers.

What do you mean by this?

All you need to do is install theos using the tutorial I made and you don't need any additional theos related headers.

Maybe I had the headers already and then moved them over but I did move over the files from the sdks/blah/c++/4.2.1 over to the include folder as well I can clear my entire theos directory and try to install again.

I tried a make package messages=yes & got this in return

 

MacBook-Pro:tweak Jenson$ make package messages=yes

xcrun: error: SDK "iphoneos" cannot be located

xcrun: error: SDK "iphoneos" cannot be located

xcrun: error: SDK "iphoneos" cannot be located

xcrun: error: SDK "iphoneos" cannot be located

> Making all for tweak Tap2018Tweak…

xcrun: error: SDK "iphoneos" cannot be located

set -o pipefail; (/Library/Developer/CommandLineTools/usr/bin/make -f Makefile --no-print-directory --no-keep-going \

internal-library-compile \

_THEOS_CURRENT_TYPE=tweak THEOS_CURRENT_INSTANCE=Tweak _THEOS_CURRENT_OPERATION=compile \

THEOS_BUILD_DIR="." _THEOS_MAKE_PARALLEL=yes)

xcrun: error: SDK "iphoneos" cannot be located

xcrun: error: SDK "iphoneos" cannot be located

set -o pipefail; (mkdir -p /var/Tweaks/tap2018tweak/.theos/obj/debug/armv7/)

(printf "\e[0;3%im==> \e[1;39m%s…\e[m\n" 1 "Preprocessing Tweak.xm"); set -o pipefail; (/var/theos/bin/logos.pl -c warnings=error    Tweak.xm > /var/Tweaks/tweak/.theos/obj/debug/armv7/Tweak.xm.mm)

==> Preprocessing Tweak.xm…

(printf "\e[0;3%im==> \e[1;39m%s…\e[m\n" 2 "Compiling Tweak.xm (armv7)"); set -o pipefail; (xcrun -sdk iphoneos clang++ -x objective-c++ -c -I"/var/Tweaks/tweak" -I/var/theos/include -I/var/theos/vendor/include -I/var/theos/include/_fallback -include /var/theos/Prefix.pch -DTARGET_IPHONE=1 -O0 -Wall -Werror  -isysroot "/var/theos/sdks/iPhoneOS9.3.sdk" -D__IPHONE_OS_VERSION_MIN_REQUIRED=__IPHONE_9_3 -miphoneos-version-min=9.3  -fmodules -fcxx-modules -fmodule-name=Tweak -fbuild-session-file=/var/Tweaks/tap2018tweak/.theos/build_session -fmodules-prune-after=345600 -fmodules-prune-interval=86400 -fmodules-validate-once-per-build-session  -DALWAYS_INLINE=1 -Os -std=c++11 -w -s -DDEBUG -ggdb -O0  -DTHEOS_INSTANCE_NAME="\"Tweak\""  -arch armv7              /var/Tweaks/tweak/.theos/obj/debug/armv7/Tweak.xm.mm -o /var/Tweaks/tweak/.theos/obj/debug/armv7/Tweak.xm.2eb6391e.o)

==> Compiling Tweak.xm (armv7)…

xcrun: error: SDK "iphoneos" cannot be located

In file included from <built-in>:1:

/var/theos/Prefix.pch:6:10: fatal error: '_Prefix/NullabilityCompat.h' file not

      found

        #import <_Prefix/NullabilityCompat.h>

                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~

1 error generated.

make[3]: *** [/var/Tweaks/tweak/.theos/obj/debug/armv7/Tweak.xm.2eb6391e.o] Error 1

make[2]: *** [/var/Tweaks/tweak/.theos/obj/debug/armv7/Tweak.dylib] Error 2

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

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below. For more information, please read our Posting Guidelines.
Reply to this topic... Posting Guidelines

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Our picks

    • Honkai Impact 3rd Cheats v8.1.0 +2 [ Multiply Attack & Defense ]
      Modded/Hacked App: Honkai Impact 3rd By COGNOSPHERE PTE. LTD.
      Bundle ID: com.miHoYo.bh3global
      iTunes Store Link: https://apps.apple.com/us/app/honkai-impact-3rd/id1336342304?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

       

      ⬇️ iOS Hack Download Link: https://iosgods.com/topic/134276-honkai-impact-3rd-cheats-v810-2-multiply-attack-defense/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 618 replies
    • Cat Snack Bar Cheats v1.0.164 +1
      Modded/Hacked App: Cat Snack Bar By treeplla Inc.
      Bundle ID: com.tree.idle.catsnackbar
      iTunes Store Link: https://apps.apple.com/us/app/cat-snack-bar/id6443895159?uo=4


      Hack Features:
      - Freeze Currencies


      Non-Jailbroken & No Jailbreak required hack(s): https://iosgods.com/topic/170232-cat-snack-bar-v1036-jailed-cheats-1/


      iOS Hack Download Link: https://iosgods.com/topic/170233-cat-snack-bar-cheats-v1036-1/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 72 replies
    • My Cafe — Restaurant game Cheats v2025020.4.681 +3
      Modded/Hacked App: My Cafe — Restaurant game by Melsoft
      Bundle ID: com.Melesta.MyCafe
      iTunes Store Link: https://apps.apple.com/us/app/my-cafe-restaurant-game/id1068204657?uo=4&at=1010lce4


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


      Hack Features:
      - Unlimited Gems
      - VIP Level 7 (probably visual)


      Notes:
      - To get unlimited gems, just get some gems from the customers.
      - If you purchase using gems from certain places like the VIP Store, it will cause you to restart the game
      - If you have "a lot" gems, you can turn off cheats to see if it works without the hax.
      - "a lot" means a lot of gems 

      Non-Jailbroken & No Jailbreak required hack(s): https://iosgods.com/forum/79-no-jailbreak-section/
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/


      iOS Hack Download Link:

      Hidden Content
      Download Hack







      Installation Instructions:
      STEP 1: Download the .deb Cydia hack file from the link above.
      STEP 2: Copy the file over to your iDevice using any of the file managers mentioned above or skip this step if you're downloading from your iDevice.
      STEP 3: Using iFile or Filza, browse to where you saved the downloaded .deb file and tap on it.
      STEP 4: Once you tap on the file, you will then need to press on 'Installer' or 'Install' from the options on your screen.
      STEP 5: Let iFile / Filza finish the cheat installation. Make sure it successfully installs, otherwise see the note below.
      STEP 6: Now open your iDevice settings and scroll down until you see the settings for this cheat and tap on it. If the hack is a Mod Menu, the cheat features can be toggled in-game.
      STEP 7: Turn on the features you want and play the game. You may need to follow further instructions inside the hack's popup in-game.

       

      NOTE: If you have any questions or problems, read our Troubleshooting topic & Frequently Asked Questions topic. If you still haven't found a solution, post your issue down below and we'll do our best to help! If the hack does work for you, post your feedback below and help out other fellow members that are encountering issues.


      Credits:
      - @Zahir


      Cheat Video/Screenshots:
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 639 replies
    • Monster Legends: Collect all Cheats v17.8 +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
      • 308 replies
    • Rent Please! Landlord Sim Cheats v1.5.4 +2
      Modded/Hacked App: Rent Please! Landlord Sim By Shimmer Games Co., Ltd.
      Bundle ID: com.shimmergames.tenants.gb.en
      iTunes Store Link: https://apps.apple.com/us/app/rent-please-landlord-sim/id1645842987?uo=4


      Hack Features:
      - Infinite Currencies
      - No Ads


      Non-Jailbroken & No Jailbreak required hack(s): https://iosgods.com/topic/168311-rent-please-landlord-sim-v111-jailed-cheats-2/


      iOS Hack Download Link: https://iosgods.com/topic/168312-rent-please-landlord-sim-cheats-v111-2/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 134 replies
    • Angry Birds 2 Cheats v3.27.2 +1 [ Infinite Currencies ]
      Modded/Hacked App: Angry Birds 2 By Rovio Entertainment Oyj
      Bundle ID: com.rovio.baba
      iTunes Store Link: https://apps.apple.com/us/app/angry-birds-2/id880047117?uo=4


      Hack Features:
      - Infinite Currencies ( Spend some/ Get some )


      Non-Jailbroken & No Jailbreak required hack(s):  https://iosgods.com/topic/70081-angry-birds-2-v2600-jailed-cheats-2/


      Hack Download Link: https://iosgods.com/topic/72039-angry-birds-2-cheats-v2600-1-infinite-currencies/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 1,935 replies
    • CarX Street Cheats v1.9.1 +6
      Modded/Hacked App: CarX Street By KAR IKS TEKHNOLODZHIS, OOO
      Bundle ID: com.carxtech.sr
      iTunes Store Link: https://apps.apple.com/us/app/carx-street/id1458863319?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

      - Unlimited Money [ Buy Fuel ]
      - Unlimited Gold [ Change Nickname ]
      - Unlimited Nitro
      - Freeze Fuel
      - 1 Million XP [ add some ] - risky
      - No Traffic

      Note: You can change nickname while having 0 gold.
      Note 2: You may be banned for abusing the hack. Please do not use high currency values. If you get blocked, deleting the game and installing it again should allow you to use guest account.

       

      ⬇️ iOS Hack Download Link: https://iosgods.com/topic/162931-carx-street-cheats-v191-6/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 3,067 replies
    • Music Wars Rockstar: Rap Life v1.2.5 Cheats +4
      Modded/Hacked App: Music Wars Rockstar: Rap Life By Music Wars LLC
      Bundle ID: com.mwcompany.MusicWarsRockstar
      iTunes Store Link: https://apps.apple.com/us/app/music-wars-rockstar-rap-life/id1623455289?uo=4

      Mod Requirements:
      - Non-Jailbroken/Jailed or Jailbroken iPhone/iPad/iPod Touch.
      - Sideloadly / Cydia Impactor or alternatives.
      - A Computer Running Windows/macOS/Linux with iTunes installed.


      Hack Features:
      - Unlimited money
      - Unlimited creativity
      - Unlimited health
      - Unlimited happiness
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 242 replies
    • Grand Mountain Adventure 2 v1.018 Jailed Cheats +1
      Modded/Hacked App: Grand Mountain Adventure 2 By Toppluva AB
      Bundle ID: com.toppluva.grandmountain2
      iTunes Store Link: https://apps.apple.com/us/app/grand-mountain-adventure-2/id6475040075?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

      - Free iAP (Press cancel when Buy) -- Turn on cheat option inside iOSGods Menu first

       

      ⬇️ iOS Hack Download IPA Link: https://iosgods.com/topic/192158-grand-mountain-adventure-2-v1018-jailed-cheats-1/
      • 0 replies
    • Romance Club - Stories I Play v1.0.39200 +1 Cheat [ Free Choices ]
      Modded/Hacked App: Romance Club - Stories I Play By Your Story Interactive
      Bundle ID: com.yourstoryinteractive.sails.pirate.adventure
      iTunes Store Link: https://apps.apple.com/us/app/romance-club-stories-i-play/id1300588558
       

      Hack Features:
      - All Chapters Unlocked
      - Free Premium Choices


      Non-Jailbroken & No Jailbreak required hack(s): https://iosgods.com/forum/79-no-jailbreak-section/
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 127 replies
    • Loot Heroes v1.3.1 +8 Jailed Cheats [ Unlimited Currencies + More ]
      Modded/Hacked App: Loot Heroes: Fantasy RPG Games By BoomBit, Inc.
      Bundle ID: com.bbp.lootheroes
      iTunes Store Link: https://apps.apple.com/us/app/loot-heroes-fantasy-rpg-games/id6642699678?uo=4


      Hack Features:
      - Freeze Currencies
      - Unlimited Currencies [ VIP ]
      - God Mode -> Traps still cause damage.
      - One-Hit Kill
      - All Heroes Unlocked
      - Auto Win [ VIP ]
      - Battle Pass Unlocked [ VIP ]


      Jailbreak required hack(s): [Mod Menu Hack] Loot Heroes v1.1.5 +8 Cheats [ Unlimited Currencies + More ] - Free Jailbroken Cydia Cheats - iOSGods
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 37 replies
    • Loot Heroes v1.3.1 +8 Cheats [ Unlimited Currencies + More ]
      Modded/Hacked App: Loot Heroes By BoomBit, Inc.
      Bundle ID: com.bbp.lootheroes
      iTunes Store Link: https://apps.apple.com/us/app/loot-heroes/id6642699678?uo=4


      Hack Features:
      - Freeze Currencies
      - Unlimited Currencies [ VIP ]
      - God Mode -> Traps still cause damage.
      - One-Hit Kill
      - All Heroes Unlocked
      - Auto Win [ VIP ]
      - Battle Pass Unlocked [ VIP ]


      Non-Jailbroken & No Jailbreak required hack(s): https://iosgods.com/forum/79-no-jailbreak-section/
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 140 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