cpp_client_telemetry/examples/swift
absaroj ced3b3d3b2
Adding sample unit tests to SamplePackage example for swift wrapper to show case the usage w.r.t unit tests (#1220)
* adding sample test to the swift package example and linking libs and fwks to make swift test pass

* updating readme file
2023-10-13 16:27:33 -07:00
..
SamplePackage Adding sample unit tests to SamplePackage example for swift wrapper to show case the usage w.r.t unit tests (#1220) 2023-10-13 16:27:33 -07:00
SampleXcodeApp Adding sample swift package importing swift wrappers package (#1183) 2023-06-29 16:13:08 -07:00
README.md Adding sample unit tests to SamplePackage example for swift wrapper to show case the usage w.r.t unit tests (#1220) 2023-10-13 16:27:33 -07:00

README.md

SampleXcodeApp

Contains a simple Xcode project to import and showcase swift wrappers package.

Details:

  • Imports

    • OneDSSwift: Swift Wrapper package
  • Settings

    • Include module.modulemap folder in Swift compiler search path.
    • Add OneDSSwift package in build phases dependency.

  • Libraries/Frameworks to link to Target
    • OneDSSwift # Package
    • SystemConfiguration
    • Network
    • /usr/local/lib
      • libmat.a
      • libz.tbd
      • libsqlite3.a

SamplePackage

Contains a simple swift package importing swift wrappers package and calling 1DS API via swift wrappers.

Details:

  • Package Dependencies

    • OneDSSwift: Package containing swift wrappers
  • Modules Included

    • ObjCModule: Module exposing ObjC headers via module.modulemap file.
  • Libraries and Frameworks to link to Target