JohnCoatesOSS / Limitless

Fork of Cydia. Different name to avoid confusion. Goal: Refactor Cydia to make contributions easier. Backport features to Cydia's coding style so they can be submitted for consideration.
GNU General Public License v3.0
155 stars 28 forks source link

Missing Headers? #93

Open Azure-Agst opened 7 years ago

Azure-Agst commented 7 years ago

Hey there! I'm brand new and when I tried compiling the app for the first time in Xcode, it told me that I'm missing the "sys/reboot.h" header. Has this been adressed already, and if so, what's the solution?

I'm using:

EDIT: While I'm writing this, I tried compiling it to a sim rather than my iPad and it worked. Anything we can do to allow it to run on devices from Xcode directly, or do we need to compile it to a .deb and use iFile to install each build? (Also, if the latter, how to? Export .app and dpkg-deb like usual?)

Thanks!

JohnCoates commented 7 years ago

To build for your device, configure Scripts/build.beta.rb and then run it.

The goal is to get it run directly from Xcode on devices, but a large refactor is taking place to enable this. Due to sandboxing we need to install it from a .deb to be able to use most of the APT functions.

Azure-Agst commented 7 years ago
** BUILD FAILED **

The following build commands failed:
CompileC Release/Device/temp/Limitless.build/Objects-normal/armv7/Application.o Source/Application/Application.mm normal armv7 objective-c++ com.apple.compilers.llvm.clang.1_0.compiler
(1 failure)

???

mwoolweaver commented 7 years ago

I've been fighting with missing header when trying to build in Xcode for a couple hours now to no avail....

I must say it's not as easy as the readme makes it sound. . .

screen shot 2017-02-02 at 3 40 37 am

Azure-Agst commented 7 years ago

@mwoolweaver Someone didn't do a full class-dump? I find it odd, considering it compiled for others. Maybe we're missing something? Since it's based off Cydia, i'll try dumping it tomorrow and comparing? (Convince someone to get me a precompiled version of limitless so I can compare that too?)

EDIT: also, what header are you missing? Same one? because that may just be because we dont have system headers in our development area. "<sys/reboot>" looks systemwide. I'll look into it.

EDIT 2: Then again, i may just be speaking gibberish right now but hey i guess we'll see tomorrow?

Azure-Agst commented 7 years ago

(also, sorry about my idiocracy a couple months ago. Just read the PDF put in kpwn/iOSRE and I've been enlightened. Generally new to this.)