To load an Objective-C class in Swift
I created a file called SocketRocket-Bridge-Header.h and included import.
#ifndef RemoteControl_SocketRocket_Bridge_Header_h
#define RemoteControl_SocketRocket_Bridge_Header_h
# import "SRWEBSocket.h"
#endif
under Objective-C Bridging Header in Build Settings
$(SRCROOT)/$(PRODUCT)/RemoteControl/SocketRocket-Bridge-Header.h
is set to , but the following error occurs:
/Users/sagyo/Copy/iPhone app/RemoteControl/RemoteControl/SocketRocket-Bridge-Header.h:12:9:'SRWEBSocket.h'file not found
The full path to SRWEBSocket.h is
/Users/sagyo/Copy/iPhone app/RemoteControl/RemoteControl/SocketRocket-BrHeader.h
That's it.
Restarting XCode does not fix the error.
Always Search User Paths is also enabled (YES).But I get an error.
If you know how to deal with it, please let me know.
swift xcode
I have a bad feeling about the Japanese pass name.
Try romanizing the name of the app (I think various paths will affect you, so if possible, create a new app with a minimum).
Why don't you try #import full pass
599 GDB gets version error when attempting to debug with the Presense SDK (IDE)
886 When building Fast API+Uvicorn environment with PyInstaller, console=False results in an error
572 Understanding How to Configure Google API Key
609 Uncaught (inpromise) Error on Electron: An object could not be cloned
© 2024 OneMinuteCode. All rights reserved.