Pogo Connect SDK を含む SDK を使用しています。SDK を追加してビルドすると、エラーが発生します。次に、AVFundation および CoreBluetooth ライブラリをインポートしました。CoreBluetooth ライブラリを追加する前に、次のエラーが発生します。
Undefined symbols for architecture armv7:
"_CBCentralManagerScanOptionAllowDuplicatesKey", referenced from:
-[T1PogoPenConnectionManager startScan:] in SealSignBSSClientLibrary.a(T1PogoPenConnectionManager.o)
"_CBCentralManagerOptionShowPowerAlertKey", referenced from:
-[T1PogoPenConnectionManager initWithDelegate:sender:] in SealSignBSSClientLibrary.a(T1PogoPenConnectionManager.o)
"_OBJC_CLASS_$_CBUUID", referenced from:
objc-class-ref in SealSignBSSClientLibrary.a(T1PogoPenConnectionManager.o)
objc-class-ref in SealSignBSSClientLibrary.a(T1Peripheral.o)
"_CBConnectPeripheralOptionNotifyOnDisconnectionKey", referenced from:
-[T1PogoPenConnectionManager connectT1Peripheral:] in SealSignBSSClientLibrary.a(T1PogoPenConnectionManager.o)
"_OBJC_CLASS_$_CBCentralManager", referenced from:
objc-class-ref in SealSignBSSClientLibrary.a(T1PogoPenConnectionManager.o)
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
しかし、このライブラリを追加した後も、次のエラーが発生します。
Undefined symbols for architecture armv7:
"_CBCentralManagerOptionShowPowerAlertKey", referenced from:
-[T1PogoPenConnectionManager initWithDelegate:sender:] in SealSignBSSClientLibrary.a(T1PogoPenConnectionManager.o)
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
解決策を探しましたが、この「CBCentralManagerOptionShowPowerAlertKey」が CoreBluetooth ライブラリ内にあることがわかりました。
なにか提案を??
前もって感謝します!!