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

    • Family Island — Farm game v2024207.1.64870 Jailed Cheats +1
      Modded/Hacked App: Family Island™ — Farm game by Melsoft
      Bundle ID: com.MelsoftGames.FamilyIsland
      iTunes Store Link: https://apps.apple.com/us/app/family-island-farm-game/id1464689103?uo=4&at=1010lce4


      Hack Features:
      - Cheat Engine Enabled


      iOS Hack Download Link: https://iosgods.com/topic/115337-arm64-family-island-%E2%80%94-farm-game-v20190824862-jailed-cheats-1/
      • 2,234 replies
    • Battle Camp Cheats v5.34.1 +2
      Modded/Hacked App: Battle Camp By Battlecamp AB
      Bundle ID: com.battlecamp.monsters
      iTunes Store Link: https://apps.apple.com/us/app/battle-camp/id1555773592?uo=4


      Hack Features:
      - God Mode
      - One Hit Kill


      iOS Hack Download Link: https://iosgods.com/topic/147532-battle-camp-cheats-v5162-2/
      • 123 replies
    • Goblins Wood: Tycoon Idle Sim v2.42.0 +1++ Jailed Cheat [ Unlimited Currencies ]
      Modded/Hacked App: Goblins Wood: Tycoon Idle Sim By ProGamesLab LTD
      Bundle ID: idle.goblins.wood.tycoon
      iTunes Store Link: https://apps.apple.com/us/app/goblins-wood-tycoon-idle-sim/id6446766326?uo=4


      Hack Features:
      - Unlimited Currencies -> Will increase instead of decrease.


      Jailbreak required hack(s): [Mod Menu Hack] Goblins Wood: Tycoon Idle Sim v2.42.0 +1++ Cheat [ Unlimited Currencies ] - 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/
      • 0 replies
    • Goblins Wood: Tycoon Idle Sim v2.42.0 +1++ Cheat [ Unlimited Currencies ]
      Modded/Hacked App: Goblins Wood: Tycoon Idle Sim By ProGamesLab LTD
      Bundle ID: idle.goblins.wood.tycoon
      iTunes Store Link: https://apps.apple.com/us/app/goblins-wood-tycoon-idle-sim/id6446766326?uo=4


      Hack Features:
      - Unlimited Currencies -> Will increase instead of decrease.


      Non-Jailbroken & No Jailbreak required hack(s): [IPA Mod Menu] Goblins Wood: Tycoon Idle Sim v2.42.0 +1++ Jailed Cheat [ Unlimited Currencies ] - Free Non-Jailbroken IPA 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/
      • 6 replies
    • League of Dreamers - My Story v1.77 +3 Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: League of Dreamers - My Story By Story Inc. Company
      Bundle ID: com.storyincorporate.leagueofdreamers
      iTunes Store Link: https://apps.apple.com/us/app/league-of-dreamers-my-story/id1591679538
       

      Hack Features:
      - 666 Gems -> Earn some then restart the game.
      - 666 Keys -> Earn some then restart the game.
      - Free In-App Purchases -> Allows free in-app purchases.


      Jailbreak required hack(s): [Mod Menu Hack] League of Dreamers - My Story v1.54 +3 Cheats [ Unlimited Currencies ] - 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/
      • 137 replies
    • League of Dreamers - My Story v1.77 +3 Cheats [ Unlimited Currencies ]
      Modded/Hacked App: League of Dreamers - My Story By Story Inc. Company
      Bundle ID: com.storyincorporate.leagueofdreamers
      iTunes Store Link: https://apps.apple.com/us/app/league-of-dreamers-my-story/id1591679538
       

      Hack Features:
      - 666 Gems -> Earn some then restart the game.
      - 666 Keys -> Earn some then restart the game.
      - Free In-App Purchases


      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/
      • 62 replies
    • Cat Snack Bar Cheats v1.0.157 +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/
      • 67 replies
    • CodyCross: Crossword Puzzles Cheats v2.0.5 +3
      Modded/Hacked App: CodyCross: Crossword Puzzles by Fanatee, Inc.
      Bundle ID: com.fanatee.cody
      iTunes Store Link: https://apps.apple.com/us/app/codycross-crossword-puzzles/id1092689152?uo=4&at=1010lce4


      Hack Features:
      - Infinite Tokens
      - Infinite Boosters
      - PREMIUM


      Non-Jailbroken & No Jailbreak required hack(s): https://iosgods.com/topic/87156-arm64-codycross-crossword-puzzles-v1220-jailed-cheats-1/


      Hack Download Link: https://iosgods.com/topic/87091-arm64-codycross-crossword-puzzles-cheats-all-versions-3/
      • 162 replies
    • Smurfs' Village Cheats v2.73.0 +1
      Modded/Hacked App: Smurfs' Village By Flashman Studios LLC
      Bundle ID: com.capcommobile.smurfs
      iTunes Store Link: https://itunes.apple.com/us/app/smurfs-village/id399648212?mt=8&uo=4&at=1010lce4



      Hack Features:
      - Infinite Gold (Spend some)
      - Infinite SmurfBerries (Spend some)


      Hack Download Link: https://iosgods.com/topic/75948-arm64-smurfs-village-cheats-v1680-2/
      • 434 replies
    • Strongest Knight Cheats v1.08 +4
      Modded/Hacked App: Strongest Knight By Superlink Ltd.
      Bundle ID: com.idlemaster.hero
      iTunes Store Link: https://apps.apple.com/us/app/strongest-knight/id6738113239?uo=4


      Hack Features:
      - Multiply Attack
      - Multiply Defense
      - Freeze Currencies
      - No Ads (Don't use the deb cheat unless you complete tutorial -- Finish use 4 ads boost quest)
       


      Non-Jailbroken & No Jailbreak required hack(s): https://iosgods.com/topic/190406-strongest-knight-v106-jailed-cheats-4/


      iOS Hack Download Link: https://iosgods.com/topic/190404-strongest-knight-cheats-v106-4/
      • 21 replies
    • The Walking Dead: All-Stars Cheats v1.33.3 +4
      Modded/Hacked App: The Walking Dead: All-Stars By Com2uS Holdings Corporation
      Bundle ID: com.gamevil.gvtwd.ios.apple.global.normal
      iTunes Store Link: https://apps.apple.com/us/app/the-walking-dead-all-stars/id1570395238?uo=4


      Hack Features:
      - Multiply Attack
      - Multiply Defense
      - God Mode
      - Auto Win
       

      iOS Hack Download Link: https://iosgods.com/topic/186370-the-walking-dead-all-stars-cheats-v1292-4/
      • 67 replies
    • Mob Control v2.81.3 +7 Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Mob Control By Voodoo
      Bundle ID: com.vincentb.MobControl
      iTunes Store Link: https://apps.apple.com/us/app/mob-control/id1562817072?uo=4


      Hack Features:
      - Unlimited Coins
      - Unlimited Skip'Its
      - Unlimited Stars -> Earn some.
      - Unlimited Bricks
      - Unlimited Earnt Bricks
      - Unlimited Cards -> Will increase instead of decrease.
      - No Card Requirement


      Jailbreak required hack(s): [Mod Menu Hack] Mob Control v2.78.0 +7 Cheats [ Unlimited Currencies ] - 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/
      • 78 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