Bean-iOS-OSX-SDK 使用教程

Bean-iOS-OSX-SDK 使用教程

Bean-iOS-OSX-SDKPunch Through's SDK for speeding up development with the LightBlue Bean development platform项目地址:https://gitcode.com/gh_mirrors/be/Bean-iOS-OSX-SDK

1. 项目的目录结构及介绍

Bean-iOS-OSX-SDK 是一个用于加速 LightBlue Bean 开发平台的 SDK。以下是项目的目录结构及其介绍:

Bean-iOS-OSX-SDK/
├── App Message Definitions
├── Bean OSX Static Library
├── firmware
├── source
├── .gitignore
├── .gitmodules
├── Bean-iOS-OSX-SDK.podspec
├── CHANGELOG.txt
├── HACKING.md
├── LICENSE.txt
├── README.md
└── circle.yml
  • App Message Definitions: 应用消息定义文件。
  • Bean OSX Static Library: Bean OSX 静态库文件。
  • firmware: 固件文件。
  • source: 源代码文件。
  • .gitignore: Git 忽略文件配置。
  • .gitmodules: Git 子模块配置。
  • Bean-iOS-OSX-SDK.podspec: CocoaPods 配置文件。
  • CHANGELOG.txt: 变更日志。
  • HACKING.md: 开发指南。
  • LICENSE.txt: 许可证文件。
  • README.md: 项目说明文件。
  • circle.yml: CircleCI 配置文件。

2. 项目的启动文件介绍

项目的启动文件主要是 README.md,它包含了项目的概述、安装指南和使用说明。以下是 README.md 的主要内容:

# LightBlue Bean SDK for iOS and OS X

Punch Through Design's SDK for speeding up development with the LightBlue Bean development platform.

## Installation with CocoaPods

CocoaPods is a dependency manager for Objective-C which automates and simplifies the process of using 3rd-party libraries like the Bean-iOS-OSX-SDK.

### Podfile for iOS

```ruby
platform :ios, '7.0'
pod 'Bean-iOS-OSX-SDK'

Podfile for OS X

platform :osx, '10.9'
pod 'Bean-iOS-OSX-SDK'

Getting Started & Examples

Take a look at our "template" projects as a starting point for using the Bean SDK:

https://bitbucket.org/PunchThrough/bean-app-ios-blink


## 3. 项目的配置文件介绍

项目的配置文件主要包括 `Bean-iOS-OSX-SDK.podspec` 和 `circle.yml`。

### Bean-iOS-OSX-SDK.podspec

`Bean-iOS-OSX-SDK.podspec` 是 CocoaPods 的配置文件,用于定义库的版本、源文件、依赖等信息。以下是示例内容:

```ruby
Pod::Spec.new do |spec|
  spec.name         = 'Bean-iOS-OSX-SDK'
  spec.version      = '1.0.0'
  spec.license      = { :type => 'MIT' }
  spec.homepage     = 'https://github.com/PunchThrough/Bean-iOS-OSX-SDK'
  spec.authors      = { 'Punch Through' => 'info@punchthrough.com' }
  spec.summary      = 'SDK for speeding up development with the LightBlue Bean development platform.'
  spec.source       = { :git => 'https://github.com/PunchThrough/Bean-iOS-OSX-SDK.git', :tag => 'v1.0.0' }
  spec.source_files = 'Bean-iOS-OSX-SDK/**/*.{h,m}'
  spec.framework    = 'CoreBluetooth'
end

circle.yml

circle.yml 是 CircleCI 的配置文件,用于定义持续集成和部署的流程。以下是示例内容:

machine:
  xcode:
    version: "8.0"

dependencies:
  override:
    - pod install

test:
  override:
    - xcodebuild test -workspace Bean-iOS-OSX-SDK.xcworkspace -scheme Bean-iOS-OSX-SDK -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 6,OS=latest'

以上是 Bean-iOS-OSX-SDK 项目的目录结构、启动文件和配置文件的介绍。希望这些信息能帮助你更好地理解和

Bean-iOS-OSX-SDKPunch Through's SDK for speeding up development with the LightBlue Bean development platform项目地址:https://gitcode.com/gh_mirrors/be/Bean-iOS-OSX-SDK

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

孔祯拓Belinda

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值