Jump to content

theos make package problems


Mazterbatter
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
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
Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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

    • Idle Outpost: Business Game v0.14.79 +1++ Cheat [ Free Shopping ]
      Modded/Hacked App: Idle Outpost: Business Game By AppQuantum Publishing Ltd
      Bundle ID: com.rockbite.zombieoutpost
      iTunes Store Link: https://apps.apple.com/us/app/idle-outpost-business-game/id6463128982?uo=4


      Hack Features:
      - Free Shopping -> Currencies will go negative.


      Non-Jailbroken & No Jailbreak required hack(s): [Non-Jailbroken Hack] Idle Outpost: Business Game v0.14.53 +1++ Jailed Cheat [ Free Shopping ] - 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/
      • 24 replies
    • Good Pizza, Great Pizza v5.13.1 +2 Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Good Pizza, Great Pizza By TAPBLAZE, LLC
      Bundle ID: com.tapblaze.pizzabusiness
      iTunes Store Link: https://apps.apple.com/us/app/good-pizza-great-pizza/id911121200?uo=4


      Hack Features:
      - Unlimited Cash
      - Unlimited Diamonds


      Jailbreak required hack(s): [Mod Menu Hack] Good Pizza, Great Pizza v5.5.6 +2 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/
      • 79 replies
    • Good Pizza, Great Pizza v5.13.1 +2 Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Good Pizza, Great Pizza By TAPBLAZE, LLC
      Bundle ID: com.tapblaze.pizzabusiness
      iTunes Store Link: https://apps.apple.com/us/app/good-pizza-great-pizza/id911121200?uo=4


      Hack Features:
      - Unlimited Cash
      - Unlimited Diamonds


      Non-Jailbroken & No Jailbreak required hack(s): [Non-Jailbroken Hack] Good Pizza, Great Pizza v5.5.6 +2 Jailed Cheats [ 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/
      • 52 replies
    • Pickle Pete: Survivor v2.13.4 +11 Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Pickle Pete: Survivor By Frojo Apps
      Bundle ID: com.frojo.pickle
      iTunes Store Link: https://apps.apple.com/us/app/pickle-pete-survivor/id6444362667
       

      Hack Features:
      - Unlimited Gold -> Spend some.
      - Unlimited Gems -> Spend some.
      - Unlimited Mutagen -> Spend some.
      - Unlimited Vials -> Spend some.
      - Unlimited Scraps -> Spend some.
      - Unlimited Emeralds -> Spend some.
      - Unlimited Designs -> Spend some.
      - God Mode
      - One-Hit Kill
      - Unlimited Pickles -> Earn some.
      - Unlock Battle Pass -> Head over to Settings and toggle the Privacy Policy button.


      Jailbreak required hack(s): [Mod Menu Hack] Pickle Pete: Survivor v2.1.9 +17 Cheats [ Mega Hack ] - 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/
      • 83 replies
    • Pickle Pete: Survivor v2.13.4 +17 Cheats [ Mega Hack ]
      Modded/Hacked App: Pickle Pete: Survivor By Frojo Apps
      Bundle ID: com.frojo.pickle
      iTunes Store Link: https://apps.apple.com/us/app/pickle-pete-survivor/id6444362667
       

      Hack Features:
      - Unlimited Gold -> Spend some.
      - Unlimited Gems -> Spend some.
      - Unlimited Mutagen -> Spend some.
      - Unlimited Vials -> Spend some.
      - Unlimited Scraps -> Spend some.
      - Unlimited Emeralds -> Spend some.
      - Unlimited Designs -> Spend some.
      - Main XP Multiplier
      - God Mode
      - One-Hit Kill
      - Unlimited Pickles -> Earn some.
      - Stat Multiplier
      - In-Game XP Multiplier
      - Unlimited Score -> Earn some.
      - Unlock Battle Pass -> Head over to Settings and toggle the Privacy Policy button.*
      - Unlock Daily Gems -> Head over to Settings and toggle the Privacy Policy button.*
      - Unlock No Ads -> Head over to Settings and toggle the Privacy Policy button.*

      * - Only 1 feature can be enabled at once!


      Non-Jailbroken & No Jailbreak required hack(s): [Non-Jailbroken Hack] Pickle Pete: Survivor v2.1.9 +11 Jailed Cheats [ 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/
      • 65 replies
    • Hole.io v2.12.0 +1++ Jailed Cheat [ Unlimited Currencies ]
      Modded/Hacked App: Hole.io By Voodoo
      Bundle ID: com.nguyenvh.holeio
      iTunes Store Link: https://apps.apple.com/us/app/hole-io/id1389111413
       

      Hack Features:
      - Unlimited Currencies -> Earn or spend some.
      - Free In-App Purchases -> Toggle inside iGMenu.


      Jailbreak required hack(s): https://iosgods.com/topic/172055-holeio-all-vesions-1-cheat-unlimited-currencies/
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
      • 54 replies
    • Hole.io v2.12.0 +1++ Cheat [ Unlimited Currencies ]
      Modded/Hacked App: Hole.io By Voodoo
      Bundle ID: com.nguyenvh.holeio
      iTunes Store Link: https://apps.apple.com/us/app/hole-io/id1389111413
       

      Hack Features:
      - Unlimited Currencies -> Earn or spend some.
      - 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/
      • 33 replies
    • Ultimate Golf! v4.14.02 +1 Jailed Cheat [ Perfect Shot ]
      Modded/Hacked App: Ultimate Golf! By Miniclip.com
      Bundle ID: com.hypgames.ultimategolf
      iTunes Store Link: https://apps.apple.com/us/app/ultimate-golf/id1475163222
       

      Hack Features:
      - Perfect Shot -> Every ball hit will go straight.


      Jailbreak required hack(s): [Mod Menu Hack] Ultimate Golf! v4.4.3 +1 Cheat [ Perfect Shot ] - 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/
      • 130 replies
    • Ultimate Golf! v4.14.02 +1 Cheat [ Perfect Shot ]
      Modded/Hacked App: Ultimate Golf! By Miniclip.com
      Bundle ID: com.hypgames.ultimategolf
      iTunes Store Link: https://apps.apple.com/us/app/ultimate-golf/id1475163222


      Hack Features:
      - Perfect Shot -> Every ball hit will go straight.


      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/
      • 236 replies
    • Airport Simulator: Plane City v1.03.0301 +1++ Jailed Cheat [ Unlimited Currencies ]
      Modded/Hacked App: Airport Simulator: Plane City By Playrion SARL
      Bundle ID: com.playrion.airportmanager
      iTunes Store Link: https://apps.apple.com/us/app/airport-simulator-plane-city/id1572244031?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 Currencies -> Earn or spend some. Use Sky Coins to buy Cash.


      Jailbreak required hack(s): [Mod Menu Hack] Airport Simulator: First Class v1.01.0202 +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/
      • 265 replies
    • [ FREE ] The Wolf: Online RPG Simulator v3.4.2 +1++ Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: The Wolf: Online RPG Simulator By SWIFT APPS SP Z O O SPOLKA KOMANDYTOWA
      Bundle ID: com.swiftappskom.thewolfrpg
      iTunes Store Link: https://apps.apple.com/us/app/the-wolf-online-rpg-simulator/id1189578604?uo=4


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


      Jailbreak required hack(s): [Mod Menu Hack] [ FREE ] The Wolf: Online RPG Simulator v3.4.0 +1++ 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/
      • 26 replies
    • [ FREE ] The Wolf: Online RPG Simulator v3.4.2 +1++ Cheats [ Unlimited Currencies ]
      Modded/Hacked App: The Wolf: Online RPG Simulator By SWIFT APPS SP Z O O SPOLKA KOMANDYTOWA
      Bundle ID: com.swiftappskom.thewolfrpg
      iTunes Store Link: https://apps.apple.com/us/app/the-wolf-online-rpg-simulator/id1189578604?uo=4


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


      Non-Jailbroken & No Jailbreak required hack(s): [Non-Jailbroken Hack] [ FREE ] The Wolf: Online RPG Simulator v3.4.0 +1++ Jailed Cheats [ 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/
      • 25 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