The cause of this error armv7s??

1121
1
05-02-2013 12:09 AM
zhibinlin
New Contributor
hello world!!!
Undefined symbols for architecture i386:
  "_OBJC_CLASS_$_EAGLContext", referenced from:
      objc-class-ref in ArcGIS(AGSMapRenderer_iOS.o)
      objc-class-ref in ArcGIS(AGSMapView_iOS.o)
  "std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >::find_first_of(char const*, unsigned long, unsigned long) const", referenced from:
      Esri_runtimecore::Mapping::Unique_value_info::is_match(std::__1::list<Esri_runtimecore::Mapping::Variant, std::__1::allocator<Esri_runtimecore::Mapping::Variant> >&) const in ArcGIS(unique_value_renderer.o)
      Esri_runtimecore::Mapping::Graphic_buffer::init_graphics_hardware_resources(void*) in ArcGIS(graphic_buffer.o)
  "std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >::at(unsigned long) const", referenced from:
      Esri_runtimecore::Dictionary::Appendix_a_point_rule_engine::is_point(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) in ArcGIS(appendix_a_point_rule_engine.o)
      Esri_runtimecore::Dictionary::Appendix_b_area_rule_engine::is_area(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) in ArcGIS(appendix_b_area_rule_engine.o)
      Esri_runtimecore::Dictionary::Appendix_b_line_rule_engine::is_line(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) in ArcGIS(appendix_b_line_rule_engine.o)
      Esri_runtimecore::Dictionary::Appendix_b_point_rule_engine::is_point(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) in ArcGIS(appendix_b_point_rule_engine.o)
      Esri_runtimecore::Dictionary::Appendix_c_area_rule_engine::is_area(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) in ArcGIS(appendix_c_area_rule_engine.o)
      Esri_runtimecore::Dictionary::Appendix_c_line_rule_engine::is_line(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) in ArcGIS(appendix_c_line_rule_engine.o)
      Esri_runtimecore::Dictionary::Appendix_c_point_rule_engine::is_point(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) in ArcGIS(appendix_c_point_rule_engine.o)
0 Kudos
1 Reply
NimeshJarecha
Esri Regular Contributor
Remove the armv7s entry (if it exists) from the Valid Architectures setting of your XCode project. This entry is automatically added by XCode to optimize the application binary for iPhone 5's A6 processor, but the ArcGIS library currently does not include an armv7s slice.

Regards,
Nimesh
0 Kudos