star-micronics / react-native-star-io10

react-native-star-io10 is a library for supporting application development for Star Micronics devices.
Other
90 stars 55 forks source link

iOS build fails on XCode 16 when using use_frameworks! :linkage => :static #125

Open 16thomas opened 6 days ago

16thomas commented 6 days ago

Description

iOS build fails on XCode 16 when using use_frameworks! :linkage => :static

Your device where the bug occurs

Your development environment

ProductName: macOS ProductVersion: 15.0 BuildVersion: 24A335

Also, the result of executing the command npx react-native info. System: OS: macOS 15.0 CPU: (8) x64 Apple M2 Memory: 40.99 MB / 16.00 GB Shell: version: "5.9" path: /bin/zsh Binaries: Node: version: 20.17.0 path: ~/.nvm/versions/node/v20.17.0/bin/node Yarn: version: 3.6.4 path: ~/.nvm/versions/node/v20.17.0/bin/yarn npm: version: 10.8.2 path: ~/.nvm/versions/node/v20.17.0/bin/npm Watchman: Not Found Managers: CocoaPods: version: 1.14.3 path: /usr/local/bin/pod SDKs: iOS SDK: Platforms:

To Reproduce

Steps to reproduce the behavior:

  1. Go to Podfile in example app -> example/ios/Podfile
  2. Add use_frameworks! :linkage => :static inside target 'example' do block in starting.
  3. Run pod install
  4. Build in xcode.

Expected behavior

Should build successfully.

Screenshots

Screenshot 2024-10-02 at 13 47 58

Additional context

Working fine if not using use_frameworks! :linkage => :static

bandit-ibayashi commented 1 day ago

@16thomas Thank you for posting your issue. Could you please confirm and let us know your StarXpand SDK or react-native-star-io10 version?

We have added support for use_frameworks in 1.6.0, so it would be very helpful if you could first tell us what version of the sample you are using.

Thank you in advance.

16thomas commented 1 day ago

@bandit-ibayashi Thanks for looking into the issue.

react-native-star-io10 version is 1.7.0, I know you guys have added the support for use_frameworks in 1.6.0, and that was working fine till XCode 15, but it stopped working in XCode 16.

It still builds fine with XCode 15. But not building on XCode 16.

bandit-ibayashi commented 1 day ago

@16thomas Thank you for letting us know the version of react-native-star-io10. We will investigate in more detail. Thank you for your patience.