Closed JoeyBodnar closed 5 years ago
@JoeyBodnar , Please download the dependencies from here.
Hmm even after doing that I still got "Module EddystoneScanner not found":
So, now I am trying with Cocoapods and that is not working either. It compiles, but crashes on launch with this error message:
Here is with my Linked Frameworks and Libraries looks like:
I have tried removing the "EddyStoneScanner", also tried making it optional, making it required, and tried making libPods-SauceGo.a both optional and required. In Build Settings, I have tried setting "Always Embed Swift Standard Libraries" to YES, and also tried setting it to NO. I have tried setting "Always Search User Paths" to both YES and NO as well.
Also tried: Under Build Phases -> Copy Bundle Resources, I tried adding libPods-SauceGo.a.
However, no matter what I do, I always get the same error message where it says "library not loaded."
Xcode version: 10.1 Swift version: 4.2.1 My Podfile:
platform :ios, '10.0'
target 'MyTargetIsHere' do
pod 'NearBee'
end
cocoa pods version: 1.6.1 (I just installed cocoa pods yesterday)
Also, when I click to Add to Embedded Binaries (under General -> Embedded Binaries), none of these frameworks appear as an option, so I cannot add them there.
Any help is appreciated, thank you.
Continuing to try by manual installation as well. Now I have it compiling upon manual installation, but it crashes with a very similar error on launch:
Also tried setting "Always Embed Swift Standard Libraries" under Build Settings to YES, and it still crashes.
If it is of any help, this is what my project directory looks like:
Thanks
@JoeyBodnar, Looking into it. Give me few minutes will update.
@JoeyBodnar, Missed few files in the frameworks have updated the link. Please re-download the dependencies and try again.
thank you. I just re-downloaded the dependencies for manual installation, but I am still getting a crash with the same error message. When I opened the .framework contents though, the file and everything looked exactly the same. Maybe the link wasn't updated?
thanks for you help
@JoeyBodnar, Can I get access to your project. I started a new Swift Project, it works just fine. I am not sure what's the issue with your Project.
For legal reasons I'm not sure if I can let you see the project, sorry. But I did just start a brand new Xcode project and I am having the same problem. Are you running on a simulator or the device? I am trying to run on the simulator. I searched part of the error message "no matching architecture in universal wrapper" and it looks like maybe NearBee cannot be built using the simulator? https://forums.developer.apple.com/thread/11237
It may be that trying to use the simulator is my problem. At the moment I can't run on a device because my Xcode is 10.1 and I already updated my phone's iOS to 12.2, and they are incompatible.
@JoeyBodnar, Since NearBee depends extensively on the Bluetooth to scan and show the data related to beacon we have disabled the Simulator architecture. This is because, the Simulator cannot use the MacBook's BLE and will never be able to see it working.
ahhh ok I see. this is probably the problem. Ok I will get Xcode 10.2 and see if I can build with that. Thanks a lot!
Ok so I have obtained an iPhone with iOS 12.1 and am building on Xcode 10.1. I am still have the same same problem with manual installation. I created a brand new Xcode project that has this problem, here: https://github.com/JoeyBodnar/TestNearBee. I am using manual installation
It compiles, unless you add "import NearBee". When adding the import statement then it does not compile and I receive the following errors:
What I have tried:
@JoeyBodnar , Please download from here.
Nice, thanks a lot for your help! it is now compiling and does not crash on launch. the issue can be closed now.
For manual installation, it says:
However, when downloading the zip file for NearBee, there is no EddyStoneScanner.framework and no Socket.IO-Client-Swift.framework, and the installation doesn't say how I can find these. When trying to build my project, I get "module EddystoneScanner not found".
I went to the EddyStoneScanner GitHub (https://github.com/Beaconstac/EddystoneScanner-iOS-SDK) and there is no EddyStoneScanner.framework file there either when I downloaded the zip file.
Where can I find EddyStoneScanner.framework and Socket.IO-Client-Swift.framework? Thank you.