Closed marcos10soares closed 7 years ago
I deleted the frameworks (CocoaASyncSocket, YiCamerasSDK, SwiftyJSON) and dragged them again to the project and now was able to build.
But when running I only get a blank app screen and a fatal error, the console prints: dyld: Library not loaded: @rpath/CocoaAsyncSocket.framework/CocoaAsyncSocket Referenced from: /var/containers/Bundle/Application/56BA9053-9FAD-4987-A290-1430C365AAFE/YI360Demo.app/YI360Demo Reason: image not found (lldb)
You need add CocoAsyncSocket.framework to your library search path.
@xieyubo thank you, but I added "$(SRCROOT)/YI360Demo" to the library search path and still have the blank screen and "lldb" on the console.
(i copied the frameworks to the YI360Demo, but also tried with the path to the framework/phoneos and thirdparty/phoneos folders)
dyld`dyld_fatal_error: -> 0x120059088 <+0>: brk #0x3
@marcos10soares I got it working with the following search path in the build settings of the project
I hope with that works :)
When trying to build Yi360Demo for iOS it gives the following errors:
'ActionCameraListener' is unavailable: cannot find Swift declaration for this class 'Error' is unavailable: cannot find Swift declaration for this class 'Super' is unavailable: cannot find Swift declaration for this class
Method does not override any method from its superclass Camera.swift (regarding override func onConnected)
Tried with Xcode: 8.1 8.0 7.3.1
iOS - 9.3.4
Thanks