😄 你好~ 我是 Lex 汤,生活在上海,一个喜欢折腾各种技术,略懂一些 Swift 的中老年网友。
💬 2002 年开始工作,和技术、设计、产品相关的事都有做过,效力过的公司包括但不限于: 上海图书馆、土豆网、携程旅行网、现代传播周末画报iWeekly、平安壹钱包、nonda.co、米哈游。
📫 如果你想聊聊,可以给我发邮件,也可以 Telegram @lexrus 或 Twitter DM。
A tiny wrapper for libmaxminddb which allows you to lookup Geo data by IP address.
License: Apache License 2.0
😄 你好~ 我是 Lex 汤,生活在上海,一个喜欢折腾各种技术,略懂一些 Swift 的中老年网友。
💬 2002 年开始工作,和技术、设计、产品相关的事都有做过,效力过的公司包括但不限于: 上海图书馆、土豆网、携程旅行网、现代传播周末画报iWeekly、平安壹钱包、nonda.co、米哈游。
📫 如果你想聊聊,可以给我发邮件,也可以 Telegram @lexrus 或 Twitter DM。
*** Building scheme "MMDB-iOS" in MMDB.xcodeproj
Build Failed
Task failed with exit code 65:
/usr/bin/xcrun xcodebuild -project /Volumes/Data/local_data/git.pushyou.net/pushme/ladder-ios/Carthage/Checkouts/MMDB-Swift/MMDB.xcodeproj -scheme MMDB-iOS -configuration Release -derivedDataPath /Users/jacksonpan/Library/Caches/org.carthage.CarthageKit/DerivedData/9.4.1_9F2000/MMDB-Swift/0.2.8 -sdk iphoneos ONLY_ACTIVE_ARCH=NO CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY= CARTHAGE=YES archive -archivePath /var/folders/2p/z58pwll102710mwdb_2yc3jh0000gn/T/MMDB-Swift SKIP_INSTALL=YES GCC_INSTRUMENT_PROGRAM_FLOW_ARCS=NO CLANG_ENABLE_CODE_COVERAGE=NO STRIP_INSTALLED_PRODUCT=NO (launched in /Volumes/Data/local_data/git.pushyou.net/pushme/ladder-ios/Carthage/Checkouts/MMDB-Swift)
This usually indicates that project itself failed to compile. Please check the xcodebuild log for more details: /var/folders/2p/z58pwll102710mwdb_2yc3jh0000gn/T/carthage-xcodebuild.z9Ocns.log
Starting December 30, 2019, downloads will no longer be served from our public GeoLite2 page, from geolite.maxmind.com/download/geoip/database/*, or from any other public URL.
Please fix this as soon as possible.
For more details: https://blog.maxmind.com/2019/12/18/significant-changes-to-accessing-and-using-geolite2-databases/
Showing All Messages
Source files for target MMDB should be located under 'Sources/MMDB', or a custom sources path can be set with the 'path' property in Package.swift
let status = MMDB_get_entry_data_list(&entry, &list)
if status != MMDB_SUCCESS {
return nil
}
you should free memory when status is success:
defer {
MMDB_free_entry_data_list(list)
}
汤哥,用swift4 ,编译这个的时候总是提示没有选中Bitcode,但是我编译的时候明明正常选择了(”Build Settings”->”Enable Bitcode”),指定的的地方配置了 -fembed-bitcode ,其他动态库都能正常打包成功。
How to import the mmdb file into project? and which path we should specify into the MMDB.init()?
you may not run 'pod trunk push xxx' command.
Hi,
I have a problem during adding MMDB-Swift to linux(Ubuntu 16.04) swift(3.0.2) project:
Package.swift:
import PackageDescription
let package = Package(
name: "Antiparsing_v3",
targets: [],
dependencies: [
.Package(url: "https://github.com/lexrus/MMDB-Swift.git", versions: Version(0,0,1)..<Version(0,2,0)),
]
)
When I try to build project, I get error:
$ swift build
warning: refname '0.0.2' is ambiguous.
warning: refname '0.0.2' is ambiguous.
HEAD is now at 7d14b1d Clean up.
Resolved version: 0.0.2
error: The package at `.../Packages/MMDB-Swift.git' has no Package.swift for the specific version: 0.0.2
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.