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

Fix ios compile error and up to date plugin file #84

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

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