在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:rob2468/HttpServerDebug开源软件地址:https://github.com/rob2468/HttpServerDebug开源编程语言:Objective-C 74.0%开源软件介绍:HttpServerDebug (HSD)OverviewHSD offers debug utilities (exploring file system, inspecting database, etc.) with the help of http server. HSD will start http server in your device, and you can connect to the server through user agents in the local area network. Requirements:
Demo screenshotIntegrationPackaging wayIn the root directory, there is the "archive.sh" script. HttpServerDebug utilizes some third party libraries, e.g. FMDB. "archive.sh" script will compile all source files and integrate all contents in one static library, libHttpServerDebug.a. But sometimes you may want to exclude some third party libraries if your project has already import. You can update "archive.sh". For example, if you want to remove FMDB, set # Dependencies onfiguration
FMDB_INCLUDE=0 # exclude FMDB Source code wayYou can copy source code files to your project directly. CocoaPods wayAdd following statements in your Podfile.
Access HSDAs HSD is started as a http server in your device, you can access it just like browsing normal websites in your favorite web browser. HSD also provides some useful server apis, you can get these apis' description from HSD Control PannelHSD provides a control pannel, where you can make HSD running in the way that you want. Public Host Name Resolving InterfaceHSD also makes the host name resolving interface, Browse And LookupIf you start up HSD silently, the following method is another way to access HSD. When HSD is started, the builtin bonjour broadcasting of chenjundeMacBook-Pro:~ chenjun$ dns-sd -B _http
Browsing for _http._tcp
DATE: ---Wed 04 Apr 2018---
10:10:14.738 ...STARTING...
Timestamp A/R Flags if Domain Service Type Instance Name
10:10:14.738 Add 2 13 local. _http._tcp. 陈军的iPhone 7
chenjundeMacBook-Pro:~ chenjun$ dns-sd -L "陈军的iPhone 7" _http
Lookup 陈军的iPhone 7._http._tcp.local
DATE: ---Wed 04 Apr 2018---
10:10:45.715 ...STARTING...
10:10:45.879 陈军的iPhone\0327._http._tcp.local. can be reached at chenjundeiPhone-7.local.:5555 (interface 13) ManuallyAS HSD runs on a http server, with your device's ip address and http server's listening port number, you can construct the complete URL. FAQ
When your project contains some same classes, the linker produces these errors. As HttpServerDebug imports some third party libraries, if your project has already import one, then exclude it in the "archive.sh" as described above.
For example, import HttpServerDebug only in Debug configuration.
if [ "${CONFIGURATION}" == "Debug" ]; then
cp -r "${PROJECT_DIR}/HttpServerDebug.bundle" "${BUILT_PRODUCTS_DIR}/${PRODUCT_NAME}.app"
fi AcknowledgmentsCocoaHTTPServer, FLEX, Custom-Context-Menu, ZipArchive, GCDWebServer |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论