Code Monkey home page Code Monkey logo

Comments (8)

davidmurray avatar davidmurray commented on July 26, 2024

This error:
@UILabel *wifiSignalStrengthLabel;
is not caused by my code. That '@' does not belong there.

Regarding the other errors: Your headers seem be to slightly "broken", you might have to fix your IOKit headers (try the ones from https://github.com/rpetrich/iphoneheaders).

Also, you need to link with MobileWiFi.framework. In your Makefile, add YOUR-APP-NAME_PRIVATE_FRAMEWORKS = MobileWiFi
To sign your apps with the entitlements, add YOUR-APP-NAME_CODESIGN_FLAGS = -SEntitlements.xml

Let me know if this works for you. Also note that those headers are GPL licensed, therefore any code that uses it must be open-source.

from wifi.

cansurmeli avatar cansurmeli commented on July 26, 2024

All right, first off. That error was related to another compilation. Sorry about that typo.

My Makefile now is like the following:

http://pastebin.com/BxU9WT3Z

And my entitlements.xml is:

http://pastebin.com/ykDkw9LJ

I'm still getting the following errors when I run 'make package'. Although the .deb file is being generated but the binary crashes when run on the iPhone.

http://pastebin.com/WX61zsAF

It seems to me that my project goes looking for the Xcode headers but not the reverse engineered ones. Is this behaviour correct?

Also I've forgotten to mention that the device I'm only able to test the code is an iPhone 4 running iOS 7.

A detailed explanation will be much appreciated.

from wifi.

davidmurray avatar davidmurray commented on July 26, 2024

Where are your headers? Do you have anything in $THEOS/include?

Also, make sure that you have ldid installed. If you don't, do this:

git clone git://git.saurik.com/ldid.git
cd ldid
git submodule update --init
./make.sh
cp -f ./ldid $THEOS/bin/ldid

Thanks

from wifi.

cansurmeli avatar cansurmeli commented on July 26, 2024

I only have these under $THEOS/include:

DHCommon.h DHHookCommon.h logos substrate.h

Should I place the reverse engineered headers under $THEOS/include? I tried this, re-run make package and it was complaining about the same errors as before.

I've ldid listed under $THEOS/bin. When I was setting up Theos, I executed the command you've given. So ldid should be fine.

Thanks man 👍

from wifi.

davidmurray avatar davidmurray commented on July 26, 2024

Try adding all the headers from https://github.com/rpetrich/iphoneheaders in there as well as the reverse engineered MobileWiFi headers.

Also, run make clean before running make package to make sure that the compilation starts fresh.

from wifi.

cansurmeli avatar cansurmeli commented on July 26, 2024

I sorted out my issues with my Theos installation and it's compiling just fine right now. If anyone else is having similar problems:

  • use DHowett's dm.pl instead of dpkg,
  • pass -Zlzma to dpkg as an argument,
  • delete the Theos copy inside the Wi-Fi project of Cykey and create a symlink to your local one.

from wifi.

leiyong316 avatar leiyong316 commented on July 26, 2024

hi @cansurmeli how to compile this project on IOS8? can you help me. very very thanks

from wifi.

cansurmeli avatar cansurmeli commented on July 26, 2024

What are you experiencing exactly? @leiyong316

from wifi.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.