filament
filament copied to clipboard
iOS run crash
⚠️ 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<T> list, const allocator_type& alloc = allocator_type()) : mSize(list.size()), mCapacityAllocator(list.size(), alloc) } method
To Reproduce Steps to reproduce the behavior:
- ./build.sh -p desktop -i release
- ./build.sh -p ios -i debug
- open hello-triangle.xcodeproj
- run in xcode
- 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.
Can not reproduced on my iphone 11; iOS Version: ios 16.6.1