iOS run crash
- Dominant language
- C++
- Stars
- 20.5k
- Forks
- 2.3k
- Avg merge
- 2d 14h
- Merged PRs (30d)
- 83
Description
⚠️ **Issues not using this template will be systematically closed.**
**Describe the bug**
After generating the required library, run the iOS sample program and it can be installed on the phone normally. However, if xcode is connected to the phone, an error will be reported in the
{
FixedCapacityVector(std::initializer_list list,
const allocator_type& alloc = allocator_type())
: mSize(list.size()),
mCapacityAllocator(list.size(), alloc)
} method
**To Reproduce**
Steps to reproduce the behavior:
1. ./build.sh -p desktop -i release
2. ./build.sh -p ios -i debug
3. open hello-triangle.xcodeproj
4. run in xcode
5. show
{
#1 0x0000000104433b04 in void* std::__1::__libcpp_operator_new[abi:v160006](unsigned long) at /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS17.0.sdk/usr/include/c++/v1/new:285
Thread 1: EXC_BAD_ACCESS (code=1, address=0x0)
}
**Expected behavior**
If I unplug the cable and click on the installed program on my phone, it will run normally. I hope it can also run normally when connecting to xcode
**Screenshots**

**Logs**
log is
{
__args unsigned long 48
}
**Desktop (please complete the following information):**
- OS: xcode version 15.0 (15A240d)
- GPU: AMD Radeon Pro 5500M 4 GB
Intel UHD Graphics 630 1536 MB
- Backend: Metal
**Smartphone (please complete the following information):**
- Device: Iphone xr
- OS: iOS 14.3
**Additional context**
Add any other context about the problem here.
Contributor guide
Assessment
This issue has not been assessed yet.