NativeScript / NativeScript/ios

build runtime framework error

Open
#273 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
150
Forks
43
Avg merge
3d 10h
Merged PRs (30d)
22

Description

error message:

In file included from /Users/zhudezhen/Desktop/2025/react-native/nativescript-ios/ios/NativeScript/inspector/utils.mm:3:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk/usr/include/c++/v1/codecvt:58:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk/usr/include/c++/v1/__locale:24:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.4.sdk/usr/include/c++/v1/string:2506:3: error:
implicit instantiation of undefined template 'std::char_traits'

fatal error: too many errors emitted, stopping now [-ferror-limit=]

error reason all is ‘implicit instantiation of undefined template 'std::char_traits'’

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with ios/NativeScript/inspector/utils.mm and reproduce the build using the iPhoneOS 18.4 SDK mentioned in the error. Trace the reported std::char_traits compilation failure through the included standard-library headers; done means the NativeScript iOS build completes without this error.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, ios
Domain
build-system, mobile-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.