Tag: 橘子酱

CoreBluetooth的iOS果酱

我写了一个Marmalade应用程序的扩展。 这个扩展使用CoreBluetooth。 当我尝试使用Marmalade系统部署工具构build应用程序时,出现以下错误: WARNING: Undefined symbols for architecture armv7: WARNING: "_CBCentralManagerScanOptionAllowDuplicatesKey", referenced from: WARNING: -[RigCoreBluetoothInterface startDiscovery:timeout:allowDuplicates:] in libBluetooth.a(RigCoreBluetoothInterface.o) WARNING: "_CBAdvertisementDataLocalNameKey", referenced from: WARNING: -[RigLeBaseDevice setAdvertisementData:] in libBluetooth.a(RigLeBaseDevice.o) WARNING: -[RigLeDiscoveryManager findConnectedDevices:] in libBluetooth.a(RigLeDiscoveryManager.o) WARNING: "_OBJC_CLASS_$_CBUUID", referenced from: WARNING: objc-class-ref in libBluetooth.a(RigFirmwareUpdateManager.o) WARNING: objc-class-ref in libBluetooth.a(RigFirmwareUpdateService.o) WARNING: "_OBJC_CLASS_$_CBCentralManager", referenced from: WARNING: objc-class-ref in libBluetooth.a(RigCoreBluetoothInterface.o) WARNING: "_CBAdvertisementDataServiceUUIDsKey", referenced […]

将使用Clang构build的库链接错误添加到使用GCC构build的iOS应用程序中

我正在尝试将Dropbox Sync API(v1.1.2)添加到使用Marmalade(v6.3)构build的iOS应用程序中。 我收到以下链接错误: Undefined symbols for architecture armv7: "___udivmodsi4", referenced from: _sqlite3BitvecSet in libDropbox.a(sqlite3.o) _sqlite3BitvecClear in libDropbox.a(sqlite3.o) _sqlite3BitvecTest in libDropbox.a(sqlite3.o) ld: symbol(s) not found for architecture armv7 使用Google错误信息的相关部分search发现,某个SQLCipher库的许多用户遇到同样的问题,并且build议由于用于构build该库的编译器以及使用该库的各种项目的不一致而导致该问题。 由于我们的项目的构build系统是由Marmalade工具集build立的,所以我认为改变编译器(我相信现在是Marmalade提供的GCC 4.4的一个版本)是不可行的。 谁能告诉我更确切的是哪里出了问题? 这个问题还有其他的解决方法吗?