Skip to content

Conversation

jongbelegen
Copy link

In our yarn workspaces branch we experienced the following compile errors:

Compiling react-native Pods/React-CoreModules » RCTFPSGraph.m
› Compiling react-native-star-io10 Pods/react-native-star-io10 » react-native-star-io10-dummy.m
› Compiling react-native-star-io10 Pods/react-native-star-io10 » StarXpandCommandBuilderWrapper.m
:x:  (../../node_modules/react-native-star-io10/ios/Util/StarObjectManager.h:2:9)
  1 | #import <Foundation/Foundation.h>
> 2 | @import StarIO10;
    |         ^ module 'StarIO10' not found
  3 |
  4 | NS_ASSUME_NONNULL_BEGIN
  5 |

Using PODS_TARGET_SRCROOT resolved this problem.

Secondly I added a expo plugin that pushes 'jp.star-m.starpro' to UISupportedExternalAccessoryProtocols.

At the moment I only need to support printing by USB on IOS.
but I think this is a step in the right direction toward full expo compatibility.

@jongbelegen jongbelegen changed the title Fix compile error and up to date plugin file Fix ios compile error and up to date plugin file Nov 1, 2022
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

Successfully merging this pull request may close these issues.

1 participant