Reedyuk / blue-falcon

A Bluetooth kotlin multiplatform "Cross-Platform" library for iOS and Android
https://bluefalcon.dev
Apache License 2.0
321 stars 43 forks source link

BlueFalcon not found in iOS #86

Closed AsifArhan closed 2 years ago

AsifArhan commented 2 years ago

I am getting below error while running the iOS example project There is no XCFramework found at '/Users/apple/Downloads/blue-falcon-master/library/build/universal/BlueFalcon.xcframework'.

Reedyuk commented 2 years ago

run the gradle task makeUniversalFramework Then try again.

AsifArhan commented 2 years ago

I don't have kotlin installed in my mac, do i need to download kotlin for this?

Reedyuk commented 2 years ago

this library probably isn't for you then. It is to be used for kotlin multiplatform projects, the intention was not to be used independently on ios(technically if you had the universal framework you could make it work but probably not worth it).

AsifArhan commented 2 years ago

Thank you for the quick response, is there any way to do it in iOS if you could suggest

Reedyuk commented 2 years ago

Depends on what 'it' is, if you mean interact with bluetooth in ios? then there is plenty of great tutorials online using the sdk's provided by apple.

AsifArhan commented 2 years ago

Okay Thank you

ZuhanLin commented 2 years ago

can not find makeUniversalFramework,pls tell me detail steps,ths

Reedyuk commented 2 years ago

You need to run the task assemblexcframework I need to update the readme

ZuhanLin commented 2 years ago

Thank you,i got it

ZuhanLin commented 2 years ago

image ios-arm64-simulator is needless,how to remove it?

Reedyuk commented 2 years ago

You need to check the build gradle script and you can set the iOS target that is desired. It's strange it didn't generate all the iOS targets. It's not much of a universal framework when it's only one target architecture

ZuhanLin commented 2 years ago

You need to check the build gradle script and you can set the iOS target that is desired. It's strange it didn't generate all the iOS targets. It's not much of a universal framework when it's only one target architecture

Thank you for your response,I had run successfully in my device