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

    • Mutant Llama: IDLE Breed Games v1.2.187 +2++ Jailed Cheats [ Unlimited Currenies ]
      Modded/Hacked App: Mutant Llama: IDLE Breed Games By Fansipan Limited
      Bundle ID: com.fansipan.mutant.llama.idle.rpg.monster.war.games
      iTunes Store Link: https://apps.apple.com/us/app/mutant-llama-idle-breed-games/id6478842438?uo=4


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


      Jailbreak required hack(s): [Mod Menu Hack] Mutant Llama: IDLE Breed Games v1.2.187 +2++ Cheats [ Unlimited Currenies ] - 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/
        • Like
      • 1 reply
    • Mutant Llama: IDLE Breed Games v1.2.187 +2++ Cheats [ Unlimited Currenies ]
      Modded/Hacked App: Mutant Llama: IDLE Breed Games By Fansipan Limited
      Bundle ID: com.fansipan.mutant.llama.idle.rpg.monster.war.games
      iTunes Store Link: https://apps.apple.com/us/app/mutant-llama-idle-breed-games/id6478842438?uo=4


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


      Non-Jailbroken & No Jailbreak required hack(s): [IPA Mod Menu] Mutant Llama: IDLE Breed Games v1.2.187 +2++ Jailed Cheats [ Unlimited Currenies ] - 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/
        • Like
      • 4 replies
    • Modern Warships Cheats v0.84 +7
      Modded/Hacked App: Modern Warships By Sergiy Petrov
      Bundle ID: com.Shooter.ModernWarships
      iTunes Store Link: https://apps.apple.com/us/app/modern-warships/id1541751298?uo=4


      Hack Features:
      - Multiply Attack
      - Multiply Defense
      - Infinite Ammo
      - No Reload
      - Freeze Boosters
      - Free Subscription?
       + 10% EXP
       + 50% Cash + Gold


      iOS Hack Download Link: https://iosgods.com/topic/146309-modern-warships-cheats-v0450-6/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 1,188 replies
    • Pixel Heroes Idle Cheats v1.00.0048 +3
      Modded/Hacked App: Pixel Heroes Idle By Zero To One Games CO., LTD
      Bundle ID: com.ztogames.ppki
      iTunes Store Link: https://apps.apple.com/us/app/pixel-heroes-idle/id6476479696?uo=4


      Hack Features:
      - Damage Multiplier
      - Defense Multiplier
      - Freeze Resources


      Non-Jailbroken & No Jailbreak required hack(s): 


      iOS Hack Download Link: https://iosgods.com/topic/184508-pixel-heroes-idle-v1000043-5-cheats/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 132 replies
    • Shadow Hunter: Premium v11.117.6 +9 Cheats
      Modded/Hacked App: Shadow Hunter: Premium By ENIGMA SOFTWARE JOINT STOCK COMPANY
      Bundle ID: com.enigma.shadowhunter.paid
      iTunes Store Link: https://apps.apple.com/us/app/shadow-hunter-premium/id1588843797?uo=4


      Mod Requirements:
      - Jailbroken iPhone/iPad/iPod Touch.
      - Filza / iMazing or any other file managers for iOS.
      - Cydia Substrate, Substitute or libhooker depending on your jailbreak.
      - PreferenceLoader (from Cydia or Sileo).


      Hack Features:
      - Free Equipment Level Up*
      - Free Merchant Shop*
      - Free Mystic Store*
      - Free Fragment Shop*
      - Free Video Shop*
      - No Awaken Dust Cost
      - No Ascend Requirements
      - No Evolve Requirements
      - 1 Item = 100 Items

      Notes:
      * under one switch. Do not purchase stuff that cost diamond, or your game becomes invalid. So, save from time to time to revert back if anything happens.
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 587 replies
    • Shadow Hunter: Lost Worlds v10.117.6 +9 Cheats
      Modded/Hacked App: Shadow Hunter: Lost Worlds By ENIGMA SOFTWARE JOINT STOCK COMPANY
      Bundle ID: com.enigma.shadowhunter.free
      iTunes Store Link: https://apps.apple.com/us/app/shadow-hunter-lost-worlds/id1559150590?uo=4


      Mod Requirements:
      - Jailbroken iPhone/iPad/iPod Touch.
      - Filza / iMazing or any other file managers for iOS.
      - Cydia Substrate, Substitute or libhooker depending on your jailbreak.
      - PreferenceLoader (from Cydia or Sileo).


      Hack Features:
      - Free Equipment Level Up*
      - Free Merchant Shop*
      - Free Mystic Store*
      - Free Fragment Shop*
      - Free Video Shop*
      - No Awaken Dust Cost
      - No Ascend Requirements
      - No Evolve Requirements
      - 1 Item = 100 Items

      Notes:
      * under one switch. Do not purchase stuff that cost diamond, or your game becomes invalid. So, save from time to time to revert back if anything happens.
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 731 replies
    • BitLife - Life Simulator Cheats v3.15.9 +2
      Modded/Hacked App: BitLife - Life Simulator by Candywriter, LLC
      Bundle ID: com.wtfapps.apollo16
      iTunes Store Link: https://apps.apple.com/us/app/bitlife-life-simulator/id1374403536?uo=4&at=1010lce4


      Hack Features:
      - Infinite Cash
      - Free Bitizen Purchase (Press Cancle) - Work for All Versions


      Non-Jailbroken & No Jailbreak required hack(s): https://iosgods.com/topic/84167-arm64-bitlife-life-simulator-v1412-jailed-cheats-2/


      Hack Download Link: https://iosgods.com/topic/84223-arm64-bitlife-life-simulator-cheats-all-versions-2/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 3,157 replies
    • [ Devil Summoners Idle ] 데빌 서머너 : 소환사 키우기 Cheats v1.2.1 +4
      Modded/Hacked App: 데빌 서머너 : 소환사 키우기 By LUNA GAMES Inc.
      Bundle ID: com.LunaGames.Summoner
      iTunes Store Link: https://apps.apple.com/kr/app/%EB%8D%B0%EB%B9%8C-%EC%84%9C%EB%A8%B8%EB%84%88-%EC%86%8C%ED%99%98%EC%82%AC-%ED%82%A4%EC%9A%B0%EA%B8%B0/id6468970223?uo=4


      Hack Features:
      - God Mode
      - Multiply Attack
      - Freeze Currencies (Some may not work, but most does. Cannot fully tested due to it's Korean)
      - Multiply 10x Currencies


      Non-Jailbroken & No Jailbreak required hack(s): https://iosgods.com/forum/79-no-jailbreak-section/
       


      iOS Hack Download Link: https://iosgods.com/topic/186434-devil-summoners-idle-%EB%8D%B0%EB%B9%8C-%EC%84%9C%EB%A8%B8%EB%84%88-%EC%86%8C%ED%99%98%EC%82%AC-%ED%82%A4%EC%9A%B0%EA%B8%B0-cheats-v116-4/
        • Like
      • 24 replies
    • Fable Town: Merge Games v1.6.4 +1++ Jailed Cheat [ Unlimited Currencies ]
      Modded/Hacked App: Fable Town: Merge Games By REEF GAMES LTD
      Bundle ID: com.reefgames.fabletown
      iTunes Store Link: https://apps.apple.com/us/app/fable-town-merge-games/id6478150057?uo=4


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


      Jailbreak required hack(s): [Mod Menu Hack] Fable Town: Merge Games v1.6.4 +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/
        • Agree
        • Like
      • 1 reply
    • Fable Town: Merge Games v1.6.4 +1++ Cheat [ Unlimited Currencies ]
      Modded/Hacked App: Fable Town: Merge Games By REEF GAMES LTD
      Bundle ID: com.reefgames.fabletown
      iTunes Store Link: https://apps.apple.com/us/app/fable-town-merge-games/id6478150057?uo=4


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


      Non-Jailbroken & No Jailbreak required hack(s): [IPA Mod Menu] Fable Town: Merge Games v1.6.4 +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/
      • 2 replies
    • Sky Warriors: Airplane Games v4.19.2 +1 Jailed Cheat [ Free I-AP ]
      Modded/Hacked App: Sky Warriors: Airplane Games By Wildlife Studios, Inc
      Bundle ID: com.wildlifestudios.skywarriors
      iTunes Store Link: https://apps.apple.com/us/app/sky-warriors-airplane-games/id1572323748?uo=4


      Hack Features:
      - Free In-App Purchases -> Go to the Store page, enable this feature, purchase something then re-launch the game.


      Jailbreak required hack(s): [Mod Menu Hack] Sky Warriors: Airplane Games v4.18.6 +1 Cheat [ Free I-AP ] - 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/
        • Agree
        • Winner
        • Like
      • 16 replies
    • Sky Warriors: Airplane Games v4.19.2 +1 Cheat [ Free I-AP ]
      Modded/Hacked App: Sky Warriors: Airplane Games By Wildlife Studios, Inc
      Bundle ID: com.wildlifestudios.skywarriors
      iTunes Store Link: https://apps.apple.com/us/app/sky-warriors-airplane-games/id1572323748?uo=4


      Hack Features:
      - Free In-App Purchases -> Go to the Store page, enable this feature, purchase something then re-launch the game.


      Non-Jailbroken & No Jailbreak required hack(s): [IPA Mod Menu] Sky Warriors: Airplane Games v4.18.6 +1 Jailed Cheat [ Free I-AP ] - 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/
        • Agree
        • Thanks
        • Winner
        • Like
      • 11 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