-
Notifications
You must be signed in to change notification settings - Fork 39
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
Compilation fails with Xcode 14.3 #357
Comments
Hi @andersonvom, I'll take a look at this soon. Before I do, I wanted to double check that you cleaned out your Pods folder, and maybe your node_modules? I've seen issues like this in the past where a stale dependency needs to be rebuilt. |
Hi @mikenachbaur-okta! Thanks for getting back to me. Yes, I have cleaned |
Hello @mikenachbaur-okta, we're also experiencing almost the same issue @andersonvom described above(Unable to build/run the app). Are you actively investigating this problem? If so, have you made any progress in finding a solution or identifying a workaround? Any assistance you can provide would be greatly appreciated. For your reference, here are the details of my development environment: iOS: Ventura 13.2.1 Thank you in advance for your attention to this matter. |
Hey @sindhusingh, I haven't investigated it further, and have just disabled iOS unit tests for the time being 😢 |
Thank you, @andersonvom, for the suggestion! In our situation, we encountered a compile-time error after upgrading to Xcode 14.2 or a higher version. Here's the error we encountered: After spending a few hours investigating the issue and reviewing responses from various sources online, I managed to find a temporary solution. The solution involved commenting out the line In my specific case, the issue was resolved, as shown in the following screenshot: Once again, I appreciate your input, Anderson! |
Describe the bug?
When upgrading Xcode to the latest version, my team and I noticed the build process fails when compiling the pod associated with
@okta/okta-react-native
(2.7.0
). No code changes were made in react-native or native code, just the xcode upgrade.While many other dependencies failed with a similar error, upgrading to a newer version of the dependency fixed the issues, except for
@okta/okta-react-native
, where even though the latest version (2.8.0
) allows the app to be built for release, building it for unit tests on a simulator fails to compile. See details below:xcpretty output
raw log output
Test command (fastlane run_tests)
What is expected to happen?
The app should build successfully for unit tests
What is the actual behavior?
The app fails to compile for unit tests
Reproduction Steps?
fastlane run_tests
)Additional Information?
No response
SDK Version
Build Information
iOS: Ventura 13.2.1 (22D68)
Xcode: Version 14.3 (14E222b)
The text was updated successfully, but these errors were encountered: