You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
Repository navigation
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
crash when i build iOS dynamic framework with source code (iOS) #5457
changed the title [-]crash when i build iOS dynamic framework with source code[/-][+]crash when i build iOS dynamic framework with source code (iOS)[/+]on Jun 23, 2016
The issue in the first post occurs for me too, but only if my MGLMapView has a CGRect.zero frame when added to a view. Perhaps try instantiating your MGLMapView with a non-zero frame.
Activity
[-]crash when i build iOS dynamic framework with source code[/-][+]crash when i build iOS dynamic framework with source code (iOS)[/+]ChenJian345 commentedon Jun 23, 2016
I met the same problem, Hope solve ASAP.
ChenJian345 commentedon Jun 23, 2016
I build the ios library according this guide.
https://github.com/mapbox/mapbox-gl-native/blob/master/INSTALL.md
friedbunny commentedon Jun 23, 2016
@wangjinyu Please provide more information about when and how you encountered this issue — include code that will reproduce it, if at all possible.
@ChenJian345 See these instructions if you’re interested in developing and contributing to this project.
wangjinyu commentedon Jun 24, 2016
@friedbunny I use the dynamic framework that build with source code on branch master.
When i addSubview on view.
I only do this. I get the crash above.
wangjinyu commentedon Jun 24, 2016
@friedbunny This is the framework i build.
Mapbox.framework.zip
friedbunny commentedon Jun 24, 2016
@wangjinyu A few questions and one request:
make iproj) work for you?make clean && make distcleanand rebuilding.ChenJian345 commentedon Jun 24, 2016
@friedbunny I use the
make iprojcommand to start up the ios xcode project and build in the xcode.Here is the output when I use
make clean && make distcleancommand.ChenJian345 commentedon Jun 25, 2016
Anyone can help?
ChenJian345 commentedon Jun 25, 2016
When I use the mapbox mapview, it will hang up and then terminate after a few seconds. Crash log as below.
kvurd commentedon Jun 28, 2016
The issue in the first post occurs for me too, but only if my
MGLMapViewhas aCGRect.zeroframe when added to a view. Perhaps try instantiating yourMGLMapViewwith a non-zero frame.friedbunny commentedon Jun 28, 2016
Ah, sorry I missed that — failing to
initwithframe:CGRectZerois a known issue (#1572).ChenJian345 commentedon Jun 29, 2016
@friedbunny Yes, when will you fix it?