Comments (8)
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.
All right, first off. That error was related to another compilation. Sorry about that typo.
My Makefile now is like the following:
And my entitlements.xml is:
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.
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.
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.
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.
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.
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.
hi @cansurmeli how to compile this project on IOS8? can you help me. very very thanks
from wifi.
What are you experiencing exactly? @leiyong316
from wifi.
Related Issues (20)
- Can't configure your project HOT 2
- Linker error while integrating files HOT 11
- Manager doesn't scan in a launch daemon HOT 13
- Error While integrating in Xcode5 HOT 1
- Hey, I don't jailbreak my device,Can I use the MobileWiFi.framework? HOT 4
- MobileWiFi on iOS 8? HOT 18
- MobileWiFi on iOS 8.1? HOT 1
- How can I get the the current connected network HOT 1
- Compile HOT 7
- Wifi Scanning HOT 1
- Not able to install HOT 1
- how do you know "com.apple.wifi.linkdidchange" HOT 11
- iOS 8.1 compile error HOT 1
- how to build this project? HOT 6
- how to get wifi channel? HOT 2
- How do you build it ?
- A method error occured after the make command exectued when I build this project HOT 4
- Also in? HOT 1
- Hi
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wifi.