Jump to content

"...must be greater than 0" Error


Go to solution Solved by Rook,

6 posts in this topic

Recommended Posts

Posted (edited)

Before anyone comments to check or search the forum, I have and tried the solutions yet none work.

✔️  Renamed Darwin-arm to Darwin-arm64 (both in /var/theos/makefiles/platform and /var/theos/makefiles/targets)

✔️  Created an "sdks" folder in /var/theos/ and unzipped iOS 8.0 sdk in it. (+ tried other sdks)

I am running iOS 10.1.1 on an iPhone 7. Thanks.

Error:

Quote

/var/mobile/hacked/theos/makefiles/targets/Darwin-arm64/iphone.mk:21: *** first argument to 'word' function must be greater than 0. Stop

IMG_0047.png

Updated by Astronaut
  • Solution
Posted

Let me guess. You used Filza to unarchive the sdk?

If yes, Filza for some reason extracts the archive inside it's own folder by default.

Make sure your structure looks like this:

/theos/sdks/iPhonexxxxx.sdk/

Then you should see Developer, System, etc folders.

Posted (edited)
14 minutes ago, DiDA said:

Let me guess. You used Filza to unarchive the sdk?

If yes, Filza for some reason extracts the archive inside it's own folder by default.

Make sure your structure looks like this:

/theos/sdks/iPhonexxxxx.sdk/

Then you should see Developer, System, etc folders.

Well, first I used iFile for iOS 9.3 sdk, which still didn't work. Then, I used Filza for iOS 8 and still won't budge.

I downloaded sdks from here:

http://www.elementscompiler.com/elements/sdks/

14 minutes ago, DiDA said:

Let me guess. You used Filza to unarchive the sdk?

If yes, Filza for some reason extracts the archive inside it's own folder by default.

Make sure your structure looks like this:

/theos/sdks/iPhonexxxxx.sdk/

Then you should see Developer, System, etc folders.

I believe it's the sdks? From where I downloaded them? Or could it be how it's unarchiving?

Updated by Astronaut
Posted

Make sure you check and verify the sdks structure as mentioned above.

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