YUKAI / konashi-ios-sdk

konashi iOS SDK
http://konashi.ux-xu.com
Apache License 2.0
89 stars 37 forks source link

Parse & Semantic issue at CBPeripheral+Konashi.m #89

Closed kugehajime closed 9 years ago

kugehajime commented 9 years ago

Build information, specifically the full version.

Steps to reproduce

  1. download zip from repo konashi-ios-sdk
  2. build sample projects from Konashi.xcworkspace
  3. return error msg
  4. konashi-ios-sdk-4.0.2/Konashi/Konashi/Category/CoreBluetooth/CBPeripheral+Konashi.m:33:67: Expected ')'
  5. konashi-ios-sdk-4.0.2/Konashi/Konashi/Category/CoreBluetooth/CBPeripheral+Konashi.m:35:48: Use of undeclared identifier 's'
  6. konashi-ios-sdk-4.0.2/Konashi/Konashi/Category/CoreBluetooth/CBPeripheral+Konashi.m:33:44: Incompatible block pointer types sending 'void (^)(CBService strong)' to parameter of type 'void (^)(strong id, NSUInteger, BOOL )'

2015-10-15 00 49 11

Expected results

build success

Actual results

fail

Approximate probability

100%

sagiii commented 9 years ago

This is because the code is written including new features introduced in xcode7. @kugehajime The first and fastest aid for you might be, use xcode7 to build.

We're now discussing whether and how fast we have to fix this issue for xcode6 users.

Best.

sagiii commented 9 years ago

move onto #90

kugehajime commented 9 years ago

@sagiii thx for your reply. gotcha :-)

0x0c commented 9 years ago

I fixed this issue at feature/old_objective_c branch. https://github.com/YUKAI/konashi-ios-sdk/tree/feature/old_objective_c

If you want to use konashi-ios-sdk with Xcode6 immediately, please use this branch.

Regards ;)