jaredsburrows / jaredsburrows/rarcrack

attempt to build it in iOS and failed

Open
#22 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
226
Forks
53
PR merge metrics
No merged PRs in 30d

Description

Tried to build it and getting these errors:
```
iPhone:~/tweaks/rarcrack mobile$ make
> Making all for tool rarcrack…
==> Compiling rarcrack.c (arm64)…
rarcrack.c:226:1: error: non-void function does not return a value [-Werror,-Wreturn-type]
}
^
rarcrack.c:262:1: error: non-void function does not return a value [-Werror,-Wreturn-type]
}
^
```
I'm using [Theos](https://github.com/theos/theos) and this is my Makefile:
```
TARGET := iphone:clang:latest:7.0

include $(THEOS)/makefiles/common.mk

TOOL_NAME = rarcrack
rarcrack_FILES = rarcrack.c
rarcrack_PRIVATE_FRAMEWORKS = MobileCoreServices

include $(THEOS_MAKE_PATH)/tool.mk
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Start in rarcrack.c at the compiler-reported lines 226 and 262, identifying the non-void functions that reach those closing braces. Rebuild the tool with the supplied Theos Makefile and verify that the clang return-value errors are gone and the iOS build completes.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, ios
Domain
build-system, mobile-dev
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.