{"id":1704,"date":"2011-01-10T13:50:25","date_gmt":"2011-01-10T08:50:25","guid":{"rendered":"http:\/\/aasims.wordpress.com\/?p=1704"},"modified":"2025-05-05T08:34:14","modified_gmt":"2025-05-05T08:34:14","slug":"not-enough-frames-in-stack","status":"publish","type":"post","link":"https:\/\/aasimnaseem.com\/blog\/not-enough-frames-in-stack\/","title":{"rendered":"Not enough frames in Stack &#8211; iO|"},"content":{"rendered":"<p>If you are getting this error message in your console while running your app on iPhone\/iPod (specially on 1G, having ios &lt; 3.2)<\/p>\n<p>[code]<\/p>\n<p>dyld: Symbol not found: _OBJC_CLASS_$_UIPopoverController<br \/>\nReferenced from: \/var\/mobile\/Applications\/5BC198AF-22AF-4581-8787-E267D359E059\/FilesAnyWhere.app\/&lt;your_app_name&gt;<br \/>\nExpected in: \/System\/Library\/Frameworks\/UIKit.framework\/UIKit<br \/>\nin \/var\/mobile\/Applications\/5BC198AF-22AF-4581-8787-E267D359E059\/FilesAnyWhere.app\/&lt;your_app_name&gt;<\/p>\n<p>&lt;em&gt;Data Formatters temporarily unavailable, will re-try after a &#039;continue&#039;. (Not safe to call dlopen at this time.)&lt;\/em&gt;<br \/>\n&lt;em&gt;mi_cmd_stack_list_frames: Not enough frames in stack.&lt;\/em&gt;<br \/>\n&lt;em&gt;mi_cmd_stack_list_frames: Not enough frames in stack.&lt;\/em&gt;<\/p>\n<p>[\/code]<\/p>\n<p>Above error is in\u00a0<code>UIKit.framework<\/code>, it can be in any library. You need to closely look into error and find out the library Name.<br \/>\nFollowing solution is for\u00a0UIKit.framework; You can use same steps for any other library too;<\/p>\n<p><strong>Reason for this error;<br \/>\n<\/strong>UIPopoverController class is available in\u00a0iOS 3.2 and later; So linking this library as\u00a0<em>Required<\/em> for the device having OS &lt; 3.2 will throw this error. By changing the link type to\u00a0<em>Weak <\/em>will ignore such libraries and your application will run;<\/p>\n<p><strong>Solution;<br \/>\n<\/strong>Do following things;<\/p>\n<ul>\n<li>check the iOS Deployment target in <em>build section<\/em> of <em>info. <\/em>It must be\u00a0compatible\u00a0with os version of your device;<\/li>\n<li>change the type of \u00a0<strong>UIKit.framework<\/strong> library from Required to Week; You can do this from Project menu -&gt;Edit Active Target &#8220;your_app_name&#8221; -&gt;General (first section) and then linked libraries;<\/li>\n<\/ul>\n<p><a href=\"https:\/\/AasimNaseem.com\/wp-content\/uploads\/2011\/01\/screen-shot-2011-01-10-at-6-40-45-pm.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1709\" src=\"https:\/\/AasimNaseem.com\/wp-content\/uploads\/2011\/01\/screen-shot-2011-01-10-at-6-40-45-pm.png\" alt=\"\" width=\"411\" height=\"182\" \/><\/a><\/p>\n<p><strong>\u00a0<\/strong><\/p>\n<p><strong>Note:<br \/>\n<\/strong>You have to find work around for your program logic incase you make this library weakly linked; Might be some of your code will not be able to run where you use\u00a0UIPopoverController class;<\/p>\n<p><img decoding=\"async\" src=\"http:\/\/s08.flagcounter.com\/count\/yVb\/bg=FFFFFF\/txt=000000\/border=FFFFFF\/columns=6\/maxflags=200\/viewers=0\/labels=1\/pageviews=1\/\" alt=\"free counters\" border=\"0\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you are getting this error message in your console while running your app on iPhone\/iPod (specially on 1G, having ios &lt; 3.2) [code] dyld: Symbol not found: _OBJC_CLASS_$_UIPopoverController Referenced from: \/var\/mobile\/Applications\/5BC198AF-22AF-4581-8787-E267D359E059\/FilesAnyWhere.app\/&lt;your_app_name&gt; Expected in: \/System\/Library\/Frameworks\/UIKit.framework\/UIKit in \/var\/mobile\/Applications\/5BC198AF-22AF-4581-8787-E267D359E059\/FilesAnyWhere.app\/&lt;your_app_name&gt; &lt;em&gt;Data Formatters temporarily unavailable, will re-try after a &#039;continue&#039;. (Not safe to call&#8230;<\/p>\n","protected":false},"author":1,"featured_media":4884,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[22],"tags":[357,554,561,743,810,1041,1042,1043],"class_list":["post-1704","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-ios","tag-dyld-symbol-not-found-_objc_class__uipopovercontroller","tag-iphone","tag-ipod","tag-mi_cmd_stack_list_frames-not-enough-frames-in-stack","tag-not-enough-frames-in-stack","tag-uikit-framework","tag-uipopovercontroller","tag-uipopovercontroller-problem-in-iphone"],"_links":{"self":[{"href":"https:\/\/aasimnaseem.com\/blog\/wp-json\/wp\/v2\/posts\/1704","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/aasimnaseem.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/aasimnaseem.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/aasimnaseem.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/aasimnaseem.com\/blog\/wp-json\/wp\/v2\/comments?post=1704"}],"version-history":[{"count":4,"href":"https:\/\/aasimnaseem.com\/blog\/wp-json\/wp\/v2\/posts\/1704\/revisions"}],"predecessor-version":[{"id":5252,"href":"https:\/\/aasimnaseem.com\/blog\/wp-json\/wp\/v2\/posts\/1704\/revisions\/5252"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/aasimnaseem.com\/blog\/wp-json\/wp\/v2\/media\/4884"}],"wp:attachment":[{"href":"https:\/\/aasimnaseem.com\/blog\/wp-json\/wp\/v2\/media?parent=1704"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/aasimnaseem.com\/blog\/wp-json\/wp\/v2\/categories?post=1704"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/aasimnaseem.com\/blog\/wp-json\/wp\/v2\/tags?post=1704"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}