Lickability / PinpointKit

Send better feedback
MIT License
1.13k stars 79 forks source link

Add Swift Package Manager support #280

Closed woxtu closed 3 years ago

woxtu commented 3 years ago

Closes #264

What It Does

This PR adds Swift Package Manager support to this library.

How to Test

Run the following command in the root directory:

swift build -Xswiftc "-sdk" -Xswiftc "`xcrun --sdk iphonesimulator --show-sdk-path`" -Xswiftc "-target" -Xswiftc "x86_64-apple-ios14.0-simulator"

Or add this library as a Swift Package to your project.

Notes

This package contains ASLLogger target (Objective-C) and PinpointKit target (Swift) because SPM doesn't support mixed language target at least now.

mliberatore commented 3 years ago

Thanks so much, @woxtu!