Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ORSSerial/ORSSerialPacketDescriptor.h file not found #169

Closed
949699582 opened this issue Jan 16, 2021 · 2 comments
Closed

ORSSerial/ORSSerialPacketDescriptor.h file not found #169

949699582 opened this issue Jan 16, 2021 · 2 comments

Comments

@949699582
Copy link

Download the code and build it! Show this error and I can not find the solution.Can someone tell me how tto deal this question?

@flemingm
Copy link

File: ORSSerialRequest.h

//#import <ORSSerial/ORSSerialPacketDescriptor.h>
// reference framework will not find it without framework.

uncomment next line if not using framework. and comment out the line about.

#import "ORSSerialPacketDescriptor.h"

To build the framework using the framework project.

flemingm added a commit to flemingm/ORSSerialPort that referenced this issue Jan 16, 2021
ORSSerialPort.h  one extra  { add in last commit in  - (instancetype)initWithDevice:(io_object_t)device; Line armadsen#163

Explained: ORSSerial/ORSSerialPacketDescriptor.h file not found in issue armadsen#169

defined the following in ORSSerialPort.h

// defined missing interface to fix XCODE 12.3 errors.
+ (io_object_t) deviceFromBSDPath:(NSString *)bsdPath;
+ (NSString *) bsdCalloutPathFromDevice:(io_object_t)aDevice;
+ (NSString *) modemNameFromDevice:(io_object_t)aDevice;
/**
 *  ORSSerialPort must be init'd using -initWithPath:
 */
- (instancetype) init;
- (void) reallyClosePort;

- (void) notifyDelegateOfPosixError;
- (void) notifyDelegateOfPosixErrorWaitingUntilDone:(BOOL)shouldWait;
- (void) setPortOptions;
- (void) updateModemLines;
- (void) receiveData:(NSData *)data;
@armadsen
Copy link
Owner

This is fixed on master now. Please pull the latest and try again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants