Jump to content

2 posts in this topic

Recommended Posts

Posted

Hello team,
I hop you can help me with this error

==> Error: /Applications/Xcode.app/Contents/Developer/usr/bin/make package requires dm.pl.
make: *** [internal-package-check] Error 1

spacer.png

this is control file

Package: acstore.store.uialertmessage
Name: UIAlertMessage
Version: 0.0.1
Architecture: iphoneos-arm
Description: An awesome MobileSubstrate tweak!
Maintainer: aJBboCydia
Author: aJBboCydia
Section: Tweaks
Depends: mobilesubstrate (>= 0.9.5000)

and this is Makefile 

# ARCHS = arm64

export THEOS=/opt/theos

TARGET := iphone:clang:latest:7.0
INSTALL_TARGET_PROCESSES = SpringBoard

include $(THEOS)/makefiles/common.mk

TWEAK_NAME = UIAlertMessage

UIAlertMessage_FILES = Tweak.xm
UIAlertMessage_CFLAGS = -fobjc-arc

include $(THEOS_MAKE_PATH)/tweak.mk

and this is Tweak.xm

%hook UIApplication
-(void)finishedTest:(id)arg1 extraResults:(id)arg2 {

  %orig;

   UIAlertController *alert = [UIAlertController alertControllerWithTitle:@"Welcome" message:@"Thank you for installing" preferredStyle:UIAlertControllerStyleAlert];
   UIAlertAction *action = [UIAlertAction ActionWithTitle:@" Done " style:UIAlertActionStyleDefault handler:^(UIAlertAction *action) {

}];

 [alert addAction:action];
[[UIApplication sharedApplication].keyWindow.rootViewController presentViewController:alert animated:true completion:nil];

 }

%end

and this UIAlertMessage.plist

Screen-Shot-2021-08-18-at-8-13-28-PM.png

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
×
  • 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