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

Example app for iOS cannot be built with Xcode14.3 #97

Closed
bandit-ibayashi opened this issue Apr 19, 2023 · 1 comment
Closed

Example app for iOS cannot be built with Xcode14.3 #97

bandit-ibayashi opened this issue Apr 19, 2023 · 1 comment
Assignees
Labels
Platform: ios Status: fixed Enhancements that have been requested and implemented Target: other

Comments

@bandit-ibayashi
Copy link
Member

Description

An iOS version example application including StarXpand SDK for React Native V1.3.0 cannot be built with Xcode14.3.

Devices where the bug occurs

Independent of devices.

Printers

Independent of printer model.

Development environment

  • OS Version: macOS 13.3
  • Xcode Version: 14.3

To Reproduce

  1. Execute the following command according to the [Usage] of the example application.

    $ yarn install
    $ cd ios
    $ pod update
    $ cd ..
    $ npx react-native run-ios
    
  2. The following error occurred and the build failed.

    ** BUILD FAILED **
    
    The following build commands failed:
    	CompileC /Users/xxx/StarXpand_SDK_for_ReactNative_V1.3.0/example/ios/DerivedData/example/Build/Intermediates.noindex/Pods.build/Debug-iphoneos/React-Codegen.build/Objects-normal/arm64/FBReactNativeSpec-generated.o /Users/xxx/StarXpand_SDK_for_ReactNative_V1.3.0/example/ios/build/generated/ios/FBReactNativeSpec/FBReactNativeSpec-generated.mm normal arm64 objective-c++ com.apple.compilers.llvm.clang.1_0.compiler (in target 'React-Codegen' from project 'Pods')
    (1 failure)
    

Root causes

This is because compilation of React-Codegen fails in Xcode14.3 as written in the issue of react-native

How to resolve

Update the React Native version that the example app links to to 0.71.6 or later, which fixes this issue.

@bandit-ibayashi bandit-ibayashi added the Status: triage Start out by looking at issues label Apr 19, 2023
@bandit-ibayashi bandit-ibayashi self-assigned this Apr 19, 2023
@bandit-ibayashi bandit-ibayashi changed the title Example app for iOS cannot be built with Xcode14.3. Example app for iOS cannot be built with Xcode14.3 Apr 19, 2023
@bandit-ibayashi bandit-ibayashi added Status: work in progress Currently working on this issue Platform: ios Target: other and removed Status: triage Start out by looking at issues labels Apr 25, 2023
@bandit-ibayashi
Copy link
Member Author

Fixed at our latest release.

@bandit-ibayashi bandit-ibayashi added Status: fixed Enhancements that have been requested and implemented and removed Status: work in progress Currently working on this issue labels Jun 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Platform: ios Status: fixed Enhancements that have been requested and implemented Target: other
Projects
None yet
Development

No branches or pull requests

1 participant