Linking error when I build for Xcode simulator "Undefined symbols for architecture i386"

My app works great on the Corona Simulator, but when I submitted it to Apple for beta review, it was rejected due to a black screen on an iPad running iOS 9.3.2. 

So, I built for the XCode simulator to chase down the issue, but when I build, I get the following error: 

Jul 08 02:17:18.208 iOS build failed (12)

Jul 08 02:17:18.557 ERROR: Build Failed: There was a problem linking the app.

My guess is that this is related to Apple’s rejection. 

The line (see dump below) “Undefined symbols for architecture i386” makes me think it’s related to 64bit/32bit compatibility which was required last year by Apple. However, all my plugins, Corona, and Xcode are up to date and from what I read should therefore be 32/64-bit-universal. 

Anyone run into this and find a solution? 

Thanks!

                    

Here is more info from the console: 

clang: error: linker command failed with exit code 1 (use -v to see invocation)</result>

Jul 08 02:17:18.180 ERROR: Builder failed: Undefined symbols for architecture i386:

Jul 08 02:17:18.180   “std::string::find(char const*, unsigned long, unsigned long) const”, referenced from:

                          Rtt::ShaderName::ShaderName(char const*) in libtemplate.a(Rtt_ShaderName.o)

                      “std::string::compare(char const*) const”, referenced from:

                          Rtt::ShaderFactory::LoadDependency(Rtt::LuaMap*, std::string, std::map<std::string, Rtt::SharedPtr<Rtt::Shader>, std::less<std::string>, std::allocator<std::pair<std::string const, Rtt::SharedPtr<Rtt::Shader> > > >&, bool) in libtemplate.a(Rtt_ShaderFactory.o)

                          Rtt::ShaderInput::UpdateCache(Rtt::TextureInfo const&, Rtt::RenderData const&) in libtemplate.a(Rtt_ShaderInput.o)

                      “std::basic_stringbuf<char, std::char_traits<char>, std::allocator<char> >::str() const”, referenced from:

                          Rtt::LuaMap::LuaMap(lua_State*, int) in libtemplate.a(Rtt_LuaContainer.o)

                      “std::istream& std::istream::_M_extract<long>(long&)”, referenced from:

                          Rtt::CKWorkflow::Init(lua_State*) in libtemplate.a(Rtt_CKWorkflow.o)

                      “std::ostream& std::ostream::_M_insert<double>(double)”, referenced from:

                          Rtt::LuaMap::LuaMap(lua_State*, int) in libtemplate.a(Rtt_LuaContainer.o)

                      “std::string::_M_leak_hard()”, referenced from:

                          Rtt::CKWorkflow::CreateAlertSettingsFor(Rtt::CKWorkflow::CheckResult, std::string const&) in libtemplate.a(Rtt_CKWorkflow.o)

                      “std::string::_Rep::_M_destroy(std::allocator<char> const&)”, referenced from:

                          Corona::DependencyLoader::CCDependencyCheck(Rtt::Runtime const&) in libtemplate.a(Rtt_DependencyLoader.o)

                          Rtt::Util_GetBool(Rtt::LuaMap&, char const*) in libtemplate.a(Rtt_EmitterObject.o)

                          Rtt::Util_GetDouble(Rtt::LuaMap&, char const*) in libtemplate.a(Rtt_EmitterObject.o)

                          Rtt::Util_GetString(Rtt::LuaMap&, char const*) in libtemplate.a(Rtt_EmitterObject.o)

                          Rtt::EmitterObject::EmitterObject() in libtemplate.a(Rtt_EmitterObject.o)

                          Rtt::EmitterObject::~EmitterObject() in libtemplate.a(Rtt_EmitterObject.o)

                          Rtt::CKWorkflow::~CKWorkflow() in libtemplate.a(Rtt_CKWorkflow.o)

                          …

                      “std::string::_Rep::_S_empty_rep_storage”, referenced from:

                          Corona::DependencyLoader::CCDependencyCheck(Rtt::Runtime const&) in libtemplate.a(Rtt_DependencyLoader.o)

                          Rtt::Util_GetBool(Rtt::LuaMap&, char const*) in libtemplate.a(Rtt_EmitterObject.o)

                          Rtt::Util_GetDouble(Rtt::LuaMap&, char const*) in libtemplate.a(Rtt_EmitterObject.o)

                          Rtt::Util_GetString(Rtt::LuaMap&, char const*) in libtemplate.a(Rtt_EmitterObject.o)

                          Rtt::EmitterObject::EmitterObject() in libtemplate.a(Rtt_EmitterObject.o)

                          Rtt::EmitterObject::~EmitterObject() in libtemplate.a(Rtt_EmitterObject.o)

                          Rtt::CKWorkflow::CKWorkflow() in libtemplate.a(Rtt_CKWorkflow.o)

                          …

                          Corona::DependencyLoader::CCDependencyCheck(Rtt::Runtime const&) in libtemplate.a(Rtt_DependencyLoader.o)

                          Rtt::Util_GetBool(Rtt::LuaMap&, char const*) in libtemplate.a(Rtt_EmitterObject.o)

                          Rtt::Util_GetDouble(Rtt::LuaMap&, char const*) in libtemplate.a(Rtt_EmitterObject.o)

                          Rtt::Util_GetString(Rtt::LuaMap&, char const*) in libtemplate.a(Rtt_EmitterObject.o)

                          Rtt::EmitterObject::EmitterObject() in libtemplate.a(Rtt_EmitterObject.o)

                          Rtt::EmitterObject::~EmitterObject() in libtemplate.a(Rtt_EmitterObject.o)

                          Rtt::CKWorkflow::CKWorkflow() in libtemplate.a(Rtt_CKWorkflow.o)

                          …

                          Corona::DependencyLoader::CCDependencyCheck(Rtt::Runtime const&) in libtemplate.a(Rtt_DependencyLoader.o)

                          Rtt::Util_GetBool(Rtt::LuaMap&, char const*) in libtemplate.a(Rtt_EmitterObject.o)

                          Rtt::Util_GetDouble(Rtt::LuaMap&, char const*) in libtemplate.a(Rtt_EmitterObject.o)

                          Rtt::Util_GetString(Rtt::LuaMap&, char const*) in libtemplate.a(Rtt_EmitterObject.o)

                          Rtt::EmitterObject::EmitterObject() in libtemplate.a(Rtt_EmitterObject.o)

                          Rtt::EmitterObject::~EmitterObject() in libtemplate.a(Rtt_EmitterObject.o)

                          Rtt::CKWorkflow::CKWorkflow() in libtemplate.a(Rtt_CKWorkflow.o)

                          …

                          Corona::DependencyLoader::CCDependencyCheck(Rtt::Runtime const&) in libtemplate.a(Rtt_DependencyLoader.o)

                          Rtt::Util_GetBool(Rtt::LuaMap&, char const*) in libtemplate.a(Rtt_EmitterObject.o)

                          Rtt::Util_GetDouble(Rtt::LuaMap&, char const*) in libtemplate.a(Rtt_EmitterObject.o)

                          Rtt::Util_GetString(Rtt::LuaMap&, char const*) in libtemplate.a(Rtt_EmitterObject.o)

                          Rtt::EmitterObject::EmitterObject() in libtemplate.a(Rtt_EmitterObject.o)

                          Rtt::EmitterObject::~EmitterObject() in libtemplate.a(Rtt_EmitterObject.o)

                          Rtt::CKWorkflow::CKWorkflow() in libtemplate.a(Rtt_CKWorkflow.o)

                          …

                          Corona::DependencyLoader::CCDependencyCheck(Rtt::Runtime const&) in libtemplate.a(Rtt_DependencyLoader.o)

                          Rtt::Util_GetBool(Rtt::LuaMap&, char const*) in libtemplate.a(Rtt_EmitterObject.o)

                          Rtt::Util_GetDouble(Rtt::LuaMap&, char const*) in libtemplate.a(Rtt_EmitterObject.o)

                          Rtt::Util_GetString(Rtt::LuaMap&, char const*) in libtemplate.a(Rtt_EmitterObject.o)

                          Rtt::EmitterObject::EmitterObject() in libtemplate.a(Rtt_EmitterObject.o)

                          Rtt::EmitterObject::~EmitterObject() in libtemplate.a(Rtt_EmitterObject.o)

                          Rtt::CKWorkflow::CKWorkflow() in libtemplate.a(Rtt_CKWorkflow.o)

                          …

                          Corona::DependencyLoader::CCDependencyCheck(Rtt::Runtime const&) in libtemplate.a(Rtt_DependencyLoader.o)

                          Rtt::Util_GetBool(Rtt::LuaMap&, char const*) in libtemplate.a(Rtt_EmitterObject.o)

                          Rtt::Util_GetDouble(Rtt::LuaMap&, char const*) in libtemplate.a(Rtt_EmitterObject.o)

                          Rtt::Util_GetString(Rtt::LuaMap&, char const*) in libtemplate.a(Rtt_EmitterObject.o)

                          Rtt::EmitterObject::EmitterObject() in libtemplate.a(Rtt_EmitterObject.o)

                          Rtt::EmitterObject::~EmitterObject() in libtemplate.a(Rtt_EmitterObject.o)

                          Rtt::CKWorkflow::CKWorkflow() in libtemplate.a(Rtt_CKWorkflow.o)

                          …

                          Corona::DependencyLoader::CCDependencyCheck(Rtt::Runtime const&) in libtemplate.a(Rtt_DependencyLoader.o)

                          Rtt::Util_GetBool(Rtt::LuaMap&, char const*) in libtemplate.a(Rtt_EmitterObject.o)

                          Rtt::Util_GetDouble(Rtt::LuaMap&, char const*) in libtemplate.a(Rtt_EmitterObject.o)

                          Rtt::Util_GetString(Rtt::LuaMap&, char const*) in libtemplate.a(Rtt_EmitterObject.o)

                          Rtt::EmitterObject::EmitterObject() in libtemplate.a(Rtt_EmitterObject.o)

                          Rtt::EmitterObject::~EmitterObject() in libtemplate.a(Rtt_EmitterObject.o)

                          Rtt::CKWorkflow::CKWorkflow() in libtemplate.a(Rtt_CKWorkflow.o)

                          …

                          …

                      “std::string::append(char const*, unsigned long)”, referenced from:

                          Rtt::ShaderComposite::Log(std::string, bool) in libtemplate.a(Rtt_ShaderComposite.o)

                      “std::string::append(std::string const&)”, referenced from:

                          Rtt::ShaderFactory::NewProgram(char const*, char const*, char const*, char const*, Rtt::ShaderResource::ProgramMod) const in libtemplate.a(Rtt_ShaderFactory.o)

                      “std::string::assign(char const*, unsigned long)”, referenced from:

                          Corona::DependencyLoader::CCDependencyCheck(Rtt::Runtime const&) in libtemplate.a(Rtt_DependencyLoader.o)

                          Rtt::EmitterObject::Initialize(lua_State*, Rtt::Display&) in libtemplate.a(Rtt_EmitterObject.o)

                          Rtt::CKWorkflow::GetCurrentPlatform() in libtemplate.a(Rtt_CKWorkflow.o)

                          Rtt::CKWorkflow::CreateAlertSettingsFor(Rtt::CKWorkflow::CheckResult, std::string const&) in libtemplate.a(Rtt_CKWorkflow.o)

                          Rtt::CKWorkflow::PassesCheck(std::string) in libtemplate.a(Rtt_CKWorkflow.o)

                          Rtt::ShaderName::ShaderName(Rtt::ShaderTypes::_Category, char const*) in libtemplate.a(Rtt_ShaderName.o)

                          Rtt::ShaderName::ShaderName(Rtt::ShaderTypes::_Category, char const*) in libtemplate.a(Rtt_ShaderName.o)

                          …

                      “std::string::assign(std::string const&)”, referenced from:

                          Rtt::CKWorkflow::Init(lua_State*) in libtemplate.a(Rtt_CKWorkflow.o)

                          Rtt::CKWorkflow::CreateAlertSettingsFor(Rtt::CKWorkflow::CheckResult, std::string const&) in libtemplate.a(Rtt_CKWorkflow.o)

                          Rtt::ShaderFactory::NewProgram(char const*, char const*, char const*, char const*, Rtt::ShaderResource::ProgramMod) const in libtemplate.a(Rtt_ShaderFactory.o)

                          Rtt::ShaderName::ShaderName(char const*) in libtemplate.a(Rtt_ShaderName.o)

                          Rtt::TextureFactory::CreateAndAdd(std::string const&, Rtt::PlatformBitmap*, bool, bool) in libtemplate.a(Rtt_TextureFactory.o)

                          Rtt::TextureFactory::FindOrCreateCanvas(std::string const&, float, float, int, int) in libtemplate.a(Rtt_TextureFactory.o)

                          Rtt::TextureFactory::FindOrCreateExternal(std::string const&, CoronaExternalTextureCallbacks const*, void*) in libtemplate.a(Rtt_TextureFactory.o)

                          …

                      “std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&)”, referenced from:

                          Corona::DependencyLoader::CCDependencyCheck(Rtt::Runtime const&) in libtemplate.a(Rtt_DependencyLoader.o)

                          Rtt::Util_GetBool(Rtt::LuaMap&, char const*) in libtemplate.a(Rtt_EmitterObject.o)

                          Rtt::Util_GetDouble(Rtt::LuaMap&, char const*) in libtemplate.a(Rtt_EmitterObject.o)

                          Rtt::Util_GetString(Rtt::LuaMap&, char const*) in libtemplate.a(Rtt_EmitterObject.o)

                          Rtt::CKWorkflow::GetCurrentPlatform() in libtemplate.a(Rtt_CKWorkflow.o)

                          Rtt::CKWorkflow::Init(lua_State*) in libtemplate.a(Rtt_CKWorkflow.o)

                          Rtt::CKWorkflow::CompareValues(Rtt::LuaMap&) in libtemplate.a(Rtt_CKWorkflow.o)

                          …

                      “std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(std::string const&)”, referenced from:

                          Rtt::CKWorkflow::Init(lua_State*) in libtemplate.a(Rtt_CKWorkflow.o)

                          Rtt::CKWorkflow::GetLicenseVersion(int) in libtemplate.a(Rtt_CKWorkflow.o)

                          Rtt::CKWorkflow::GetAppBundleId(int) in libtemplate.a(Rtt_CKWorkflow.o)

                          Rtt::CKWorkflow::GetProductId(int) in libtemplate.a(Rtt_CKWorkflow.o)

                          Rtt::CKWorkflow::GetPlatform(int) in libtemplate.a(Rtt_CKWorkflow.o)

                          Rtt::CKWorkflow::GetBuild(int) in libtemplate.a(Rtt_CKWorkflow.o)

                          Rtt::CKWorkflow::PassesCheck(std::string) in libtemplate.a(Rtt_CKWorkflow.o)

                          …

                      “std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(std::string const&, unsigned long, unsigned long)”, referenced from:

                          Rtt::ShaderName::ShaderName(char const*) in libtemplate.a(Rtt_ShaderName.o)

                      “std::_List_node_base::hook(std::_List_node_base*)”, referenced from:

                          Rtt::(anonymous namespace)::SortedHitsAlongRay::ReportFixture(b2Fixture*, b2Vec2 const&, b2Vec2 const&, float) in libtemplate.a(Rtt_LuaLibPhysics.o)

                          Rtt::(anonymous namespace)::SortedHitsAlongRay::ReportParticle(b2ParticleSystem const*, int, b2Vec2 const&, b2Vec2 const&, float) in libtemplate.a(Rtt_ParticleSystemObject.o)

                      “std::_List_node_base::swap(std::_List_node_base&, std::_List_node_base&)”, referenced from:

                          Rtt::RayCast(lua_State*) in libtemplate.a(Rtt_LuaLibPhysics.o)

                          Rtt::ParticleSystemObject::RayCast(lua_State*) in libtemplate.a(Rtt_ParticleSystemObject.o)

                      “std::_List_node_base::transfer(std::_List_node_base*, std::_List_node_base*)”, referenced from:

                          Rtt::RayCast(lua_State*) in libtemplate.a(Rtt_LuaLibPhysics.o)

                          Rtt::ParticleSystemObject::RayCast(lua_State*) in libtemplate.a(Rtt_ParticleSystemObject.o)

                      “std::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >::basic_stringstream(std::string const&, std::_Ios_Openmode)”, referenced from:

                          Rtt::CKWorkflow::Init(lua_State*) in libtemplate.a(Rtt_CKWorkflow.o)

                      “std::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >::basic_stringstream(std::_Ios_Openmode)”, referenced from:

                          Rtt::LuaMap::LuaMap(lua_State*, int) in libtemplate.a(Rtt_LuaContainer.o)

                      “std::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >::~basic_stringstream()”, referenced from:

                          Rtt::CKWorkflow::Init(lua_State*) in libtemplate.a(Rtt_CKWorkflow.o)

                          Rtt::LuaMap::LuaMap(lua_State*, int) in libtemplate.a(Rtt_LuaContainer.o)

                      “std::ios_base::Init::Init()”, referenced from:

                          __GLOBAL__sub_I_Rtt_LuaData.cpp in libtemplate.a(Rtt_LuaData.o)

                      “std::ios_base::Init::~Init()”, referenced from:

                          __GLOBAL__sub_I_Rtt_LuaData.cpp in libtemplate.a(Rtt_LuaData.o)

                      “std::_Rb_tree_decrement(std::_Rb_tree_node_base*)”, referenced from:

                          std::_Rb_tree<Rtt::MUpdatable*, Rtt::MUpdatable*, std::_Identity<Rtt::MUpdatable*>, std::less<Rtt::MUpdatable*>, std::allocator<Rtt::MUpdatable*> >::_M_insert_unique(Rtt::MUpdatable* const&) in libtemplate.a(Rtt_EmitterObject.o)

                          std::_Rb_tree<int, std::pair<int const, Rtt::CKWorkflow::LicenseInfo>, std::_Select1st<std::pair<int const, Rtt::CKWorkflow::LicenseInfo> >, std::less<int>, std::allocator<std::pair<int const, Rtt::CKWorkflow::LicenseInfo> > >::_M_insert_unique(std::_Rb_tree_iterator<std::pair<int const, Rtt::CKWorkflow::LicenseInfo> >, std::pair<int const, Rtt::CKWorkflow::LicenseInfo> const&) in libtemplate.a(Rtt_CKWorkflow.o)

                          std::_Rb_tree<int, std::pair<int const, Rtt::CKWorkflow::LicenseInfo>, std::_Select1st<std::pair<int const, Rtt::CKWorkflow::LicenseInfo> >, std::less<int>, std::allocator<std::pair<int const, Rtt::CKWorkflow::LicenseInfo> > >::_M_insert_unique(std::pair<int const, Rtt::CKWorkflow::LicenseInfo> const&) in libtemplate.a(Rtt_CKWorkflow.o)

                          std::_Rb_tree<Rtt::MUpdatable*, Rtt::MUpdatable*, std::_Identity<Rtt::MUpdatable*>, std::less<Rtt::MUpdatable*>, std::allocator<Rtt::MUpdatable*> >::_M_insert_unique(Rtt::MUpdatable* const&) in libtemplate.a(Rtt_ParticleSystemObject.o)

                          std::_Rb_tree<std::string, std::pair<std::string const, int>, std::_Select1st<std::pair<std::string const, int> >, std::less<std::string>, std::allocator<std::pair<std::string const, int> > >::_M_insert_unique(std::_Rb_tree_iterator<std::pair<std::string const, int> >, std::pair<std::string const, int> const&) in libtemplate.a(Rtt_ShaderFactory.o)

                          std::_Rb_tree<std::string, std::pair<std::string const, int>, std::_Select1st<std::pair<std::string const, int> >, std::less<std::string>, std::allocator<std::pair<std::string const, int> > >::_M_insert_unique(std::pair<std::string const, int> const&) in libtemplate.a(Rtt_ShaderFactory.o)

                          std::_Rb_tree<std::string, std::pair<std::string const, Rtt::ShaderResource::UniformData>, std::_Select1st<std::pair<std::string const, Rtt::ShaderResource::UniformData> >, std::less<std::string>, std::allocator<std::pair<std::string const, Rtt::ShaderResource::UniformData> > >::_M_insert_unique(std::_Rb_tree_iterator<std::pair<std::string const, Rtt::ShaderResource::UniformData> >, std::pair<std::string const, Rtt::ShaderResource::UniformData> const&) in libtemplate.a(Rtt_ShaderFactory.o)

                          …

                      “std::_Rb_tree_increment(std::_Rb_tree_node_base const*)”, referenced from:

                          Rtt::Scene::QueueUpdateOfUpdatables() in libtemplate.a(Rtt_Scene.o)

                          Rtt::TextureFactory::Teardown() in libtemplate.a(Rtt_TextureFactory.o)

                          Rtt::TextureFactory::UpdateTextures(Rtt::Renderer&) in libtemplate.a(Rtt_TextureFactory.o)

                      “std::_Rb_tree_increment(std::_Rb_tree_node_base*)”, referenced from:

                          std::_Rb_tree<Rtt::MUpdatable*, Rtt::MUpdatable*, std::_Identity<Rtt::MUpdatable*>, std::less<Rtt::MUpdatable*>, std::allocator<Rtt::MUpdatable*> >::erase(Rtt::MUpdatable* const&) in libtemplate.a(Rtt_EmitterObject.o)

                          std::_Rb_tree<int, std::pair<int const, Rtt::CKWorkflow::LicenseInfo>, std::_Select1st<std::pair<int const, Rtt::CKWorkflow::LicenseInfo> >, std::less<int>, std::allocator<std::pair<int const, Rtt::CKWorkflow::LicenseInfo> > >::_M_insert_unique(std::_Rb_tree_iterator<std::pair<int const, Rtt::CKWorkflow::LicenseInfo> >, std::pair<int const, Rtt::CKWorkflow::LicenseInfo> const&) in libtemplate.a(Rtt_CKWorkflow.o)

                          std::_Rb_tree<Rtt::MUpdatable*, Rtt::MUpdatable*, std::_Identity<Rtt::MUpdatable*>, std::less<Rtt::MUpdatable*>, std::allocator<Rtt::MUpdatable*> >::erase(Rtt::MUpdatable* const&) in libtemplate.a(Rtt_ParticleSystemObject.o)

                          std::_Rb_tree<std::string, std::pair<std::string const, int>, std::_Select1st<std::pair<std::string const, int> >, std::less<std::string>, std::allocator<std::pair<std::string const, int> > >::_M_insert_unique(std::_Rb_tree_iterator<std::pair<std::string const, int> >, std::pair<std::string const, int> const&) in libtemplate.a(Rtt_ShaderFactory.o)

                          std::_Rb_tree<std::string, std::pair<std::string const, Rtt::ShaderResource::UniformData>, std::_Select1st<std::pair<std::string const, Rtt::ShaderResource::UniformData> >, std::less<std::string>, std::allocator<std::pair<std::string const, Rtt::ShaderResource::UniformData> > >::_M_insert_unique(std::_Rb_tree_iterator<std::pair<std::string const, Rtt::ShaderResource::UniformData> >, std::pair<std::string const, Rtt::ShaderResource::UniformData> const&) in libtemplate.a(Rtt_ShaderFactory.o)

                          std::_Rb_tree<std::string, std::pair<std::string const, Rtt::SharedPtr<Rtt::Shader> >, std::_Select1st<std::pair<std::string const, Rtt::SharedPtr<Rtt::Shader> > >, std::less<std::string>, std::allocator<std::pair<std::string const, Rtt::SharedPtr<Rtt::Shader> > > >::_M_insert_unique(std::_Rb_tree_iterator<std::pair<std::string const, Rtt::SharedPtr<Rtt::Shader> > >, std::pair<std::string const, Rtt::SharedPtr<Rtt::Shader> > const&) in libtemplate.a(Rtt_ShaderFactory.o)

                          Rtt::TextureFactory::ReleaseByType(Rtt::TextureResource::TextureResourceType) in libtemplate.a(Rtt_TextureFactory.o)

                          …

                      “std::__throw_length_error(char const*)”, referenced from:

                          void std::vector<b2Vec2, std::allocator<b2Vec2> >::_M_range_insert<__gnu_cxx::__normal_iterator<b2Vec2 const*, std::vector<b2Vec2, std::allocator<b2Vec2> > > >(__gnu_cxx::__normal_iterator<b2Vec2*, std::vector<b2Vec2, std::allocator<b2Vec2> > >, __gnu_cxx::__normal_iterator<b2Vec2 const*, std::vector<b2Vec2, std::allocator<b2Vec2> > >, __gnu_cxx::__normal_iterator<b2Vec2 const*, std::vector<b2Vec2, std::allocator<b2Vec2> > >, std::forward_iterator_tag) in libtemplate.a(SmoothPolygon.o)

                          void std::vector<b2Vec2, std::allocator<b2Vec2> >::_M_range_insert<__gnu_cxx::__normal_iterator<b2Vec2*, std::vector<b2Vec2, std::allocator<b2Vec2> > > >(__gnu_cxx::__normal_iterator<b2Vec2*, std::vector<b2Vec2, std::allocator<b2Vec2> > >, __gnu_cxx::__normal_iterator<b2Vec2*, std::vector<b2Vec2, std::allocator<b2Vec2> > >, __gnu_cxx::__normal_iterator<b2Vec2*, std::vector<b2Vec2, std::allocator<b2Vec2> > >, std::forward_iterator_tag) in libtemplate.a(SmoothPolygon.o)

                          std::vector<b2Vec2, std::allocator<b2Vec2> >::_M_fill_insert(__gnu_cxx::__normal_iterator<b2Vec2*, std::vector<b2Vec2, std::allocator<b2Vec2> > >, unsigned long, b2Vec2 const&) in libtemplate.a(Rtt_LuaLibPhysics.o)

                      “std::__throw_out_of_range(char const*)”, referenced from:

                          Rtt::ShaderName::ShaderName(char const*) in libtemplate.a(Rtt_ShaderName.o)

                      “std::_Rb_tree_rebalance_for_erase(std::_Rb_tree_node_base*, std::_Rb_tree_node_base&)”, referenced from:

                          std::_Rb_tree<Rtt::MUpdatable*, Rtt::MUpdatable*, std::_Identity<Rtt::MUpdatable*>, std::less<Rtt::MUpdatable*>, std::allocator<Rtt::MUpdatable*> >::erase(Rtt::MUpdatable* const&) in libtemplate.a(Rtt_EmitterObject.o)

                          std::_Rb_tree<Rtt::MUpdatable*, Rtt::MUpdatable*, std::_Identity<Rtt::MUpdatable*>, std::less<Rtt::MUpdatable*>, std::allocator<Rtt::MUpdatable*> >::erase(Rtt::MUpdatable* const&) in libtemplate.a(Rtt_ParticleSystemObject.o)

                          std::_Rb_tree<std::string, std::pair<std::string const, Rtt::TextureFactory::CacheEntry>, std::_Select1st<std::pair<std::string const, Rtt::TextureFactory::CacheEntry> >, std::less<std::string>, std::allocator<std::pair<std::string const, Rtt::TextureFactory::CacheEntry> > >::erase(std::_Rb_tree_iterator<std::pair<std::string const, Rtt::TextureFactory::CacheEntry> >) in libtemplate.a(Rtt_TextureFactory.o)

                          std::_Rb_tree<std::string, std::pair<std::string const, Rtt::SharedPtr<Rtt::TextureResource> >, std::_Select1st<std::pair<std::string const, Rtt::SharedPtr<Rtt::TextureResource> > >, std::less<std::string>, std::allocator<std::pair<std::string const, Rtt::SharedPtr<Rtt::TextureResource> > > >::erase(std::_Rb_tree_iterator<std::pair<std::string const, Rtt::SharedPtr<Rtt::TextureResource> > >) in libtemplate.a(Rtt_TextureFactory.o)

                          std::_Rb_tree<std::string, std::string, std::_Identity<std::string>, std::less<std::string>, std::allocator<std::string> >::erase(std::_Rb_tree_iterator<std::string>, std::_Rb_tree_iterator<std::string>) in libtemplate.a(Rtt_TextureFactory.o)

                          std::_Rb_tree<Rtt::CPUResource const*, std::pair<Rtt::CPUResource const* const, Rtt::CPUResource*>, std::_Select1st<std::pair<Rtt::CPUResource const* const, Rtt::CPUResource*> >, std::less<Rtt::CPUResource const*>, std::allocator<std::pair<Rtt::CPUResource const* const, Rtt::CPUResource*> > >::erase(Rtt::CPUResource const* const&) in libtemplate.a(Rtt_CPUResourcePool.o)

                      “std::_Rb_tree_insert_and_rebalance(bool, std::_Rb_tree_node_base*, std::_Rb_tree_node_base*, std::_Rb_tree_node_base&)”, referenced from:

                          std::_Rb_tree<Rtt::MUpdatable*, Rtt::MUpdatable*, std::_Identity<Rtt::MUpdatable*>, std::less<Rtt::MUpdatable*>, std::allocator<Rtt::MUpdatable*> >::_M_insert_unique(Rtt::MUpdatable* const&) in libtemplate.a(Rtt_EmitterObject.o)

                          std::_Rb_tree<int, std::pair<int const, Rtt::CKWorkflow::LicenseInfo>, std::_Select1st<std::pair<int const, Rtt::CKWorkflow::LicenseInfo> >, std::less<int>, std::allocator<std::pair<int const, Rtt::CKWorkflow::LicenseInfo> > >::_M_insert_unique(std::_Rb_tree_iterator<std::pair<int const, Rtt::CKWorkflow::LicenseInfo> >, std::pair<int const, Rtt::CKWorkflow::LicenseInfo> const&) in libtemplate.a(Rtt_CKWorkflow.o)

                          std::_Rb_tree<int, std::pair<int const, Rtt::CKWorkflow::LicenseInfo>, std::_Select1st<std::pair<int const, Rtt::CKWorkflow::LicenseInfo> >, std::less<int>, std::allocator<std::pair<int const, Rtt::CKWorkflow::LicenseInfo> > >::_M_insert_unique(std::pair<int const, Rtt::CKWorkflow::LicenseInfo> const&) in libtemplate.a(Rtt_CKWorkflow.o)

                          std::_Rb_tree<Rtt::MUpdatable*, Rtt::MUpdatable*, std::_Identity<Rtt::MUpdatable*>, std::less<Rtt::MUpdatable*>, std::allocator<Rtt::MUpdatable*> >::_M_insert_unique(Rtt::MUpdatable* const&) in libtemplate.a(Rtt_ParticleSystemObject.o)

                          std::_Rb_tree<std::string, std::pair<std::string const, int>, std::_Select1st<std::pair<std::string const, int> >, std::less<std::string>, std::allocator<std::pair<std::string const, int> > >::_M_insert_unique(std::_Rb_tree_iterator<std::pair<std::string const, int> >, std::pair<std::string const, int> const&) in libtemplate.a(Rtt_ShaderFactory.o)

                          std::_Rb_tree<std::string, std::pair<std::string const, int>, std::_Select1st<std::pair<std::string const, int> >, std::less<std::string>, std::allocator<std::pair<std::string const, int> > >::_M_insert_unique(std::pair<std::string const, int> const&) in libtemplate.a(Rtt_ShaderFactory.o)

                          std::_Rb_tree<std::string, std::pair<std::string const, Rtt::ShaderResource::UniformData>, std::_Select1st<std::pair<std::string const, Rtt::ShaderResource::UniformData> >, std::less<std::string>, std::allocator<std::pair<std::string const, Rtt::ShaderResource::UniformData> > >::_M_insert_unique(std::_Rb_tree_iterator<std::pair<std::string const, Rtt::ShaderResource::UniformData> >, std::pair<std::string const, Rtt::ShaderResource::UniformData> const&) in libtemplate.a(Rtt_ShaderFactory.o)

                          …

                    ld: symbol(s) not found for architecture i386

                    clang: error: linker command failed with exit code 1 (use -v to see invocation)

                    BUILD ERROR: There was a problem linking the app.

Let me ask a couple of questions.

Are you using Corona SDK or Corona Enterprise?

What version of Corona SDK (or Enterprise) are you using?

Can you post your build.settings file (Select All/Copy from your editor, click on the blue <> button in the forum post editor and paste your build.settings into the window that pops up).

What happens when you try to build one of the sample apps like:  SampleCode/GettingStarted/HelloWorld (in the folder with Corona SDK).

Thanks

Rob

Answers are inline below. Thanks for your help!

 

Q: Are you using Corona SDK or Corona Enterprise?

A: Corona SDK

 

Q: What version of Corona SDK (or Enterprise) are you using?

A: Version 2016.2909 (2016.7.7)

 

Q: Can you post your build.settings file (Select All/Copy from your editor, click on the blue  <>  button in the forum post editor and paste your build.settings into the window that pops up).

A: 

-- -- For more information on build.settings see the Corona SDK Build Guide at: -- http://docs.coronalabs.com/guide/distribution/buildSettings/index.html -- settings = { plugins = { ["CoronaProvider.native.popup.social"] = { publisherId = "com.coronalabs" }, ["CoronaProvider.gameNetwork.apple"] = { publisherId = "com.coronalabs", supportedPlatforms = { iphone=true,["iphone-sim"]=true }, } }, orientation = { default = "portrait", supported = { "portrait" } }, iphone = { plist = { CFBundleDisplayName = "Cracked - The ULTIMATE casual puzzle game", CFBundleName = "Cracked", CFBundleIconFiles = {}, -- Required UILaunchImages = {}, -- Required UIApplicationExitsOnSuspend = false, UIPrerenderedIcon = true, UIStatusBarHidden = true, MinimumOSVersion = "7.0", LSRequiresIPhoneOS = true, CFBundleIconFiles = { "Icon.png", "Icon@2x.png", "Icon-60.png", "Icon-60@2x.png", "Icon-60@3x.png", "Icon-72.png", "Icon-72@2x.png", "Icon-76.png", "Icon-76@2x.png", "Icon-Small.png", "Icon-Small@2x.png", "Icon-Small@3x.png", "Icon-Small-40.png", "Icon-Small-40@2x.png", "Icon-Small-50.png", "Icon-Small-50@2x.png", }, -- Launch image files table UILaunchImages = { { -- iPhone 4 Portrait ["UILaunchImageMinimumOSVersion"] = "7.0", ["UILaunchImageName"] = "Default", ["UILaunchImageOrientation"] = "Portrait", ["UILaunchImageSize"] = "{320, 480}" }, { -- iPhone 4 LandscapeLeft ["UILaunchImageMinimumOSVersion"] = "7.0", ["UILaunchImageName"] = "Default", ["UILaunchImageOrientation"] = "LandscapeLeft", ["UILaunchImageSize"] = "{320, 480}" }, { -- iPhone 4 LandscapeRight ["UILaunchImageMinimumOSVersion"] = "7.0", ["UILaunchImageName"] = "Default", ["UILaunchImageOrientation"] = "LandscapeRight", ["UILaunchImageSize"] = "{320, 480}" }, { -- iPhone 5 Portrait ["UILaunchImageMinimumOSVersion"] = "7.0", ["UILaunchImageName"] = "Default-568h", ["UILaunchImageOrientation"] = "Portrait", ["UILaunchImageSize"] = "{320, 568}" }, { -- iPhone 5 LandscapeLeft ["UILaunchImageMinimumOSVersion"] = "7.0", ["UILaunchImageName"] = "Default-568h", ["UILaunchImageOrientation"] = "LandscapeLeft", ["UILaunchImageSize"] = "{320, 568}" }, { -- iPhone 5 LandscapeRight ["UILaunchImageMinimumOSVersion"] = "7.0", ["UILaunchImageName"] = "Default-568h", ["UILaunchImageOrientation"] = "LandscapeRight", ["UILaunchImageSize"] = "{320, 568}" }, { -- iPad Portrait ["UILaunchImageMinimumOSVersion"] = "7.0", ["UILaunchImageName"] = "Default-Portrait", ["UILaunchImageOrientation"] = "Portrait", ["UILaunchImageSize"] = "{768, 1024}" }, { -- iPad LandscapeLeft ["UILaunchImageMinimumOSVersion"] = "7.0", ["UILaunchImageName"] = "Default-Landscape", ["UILaunchImageOrientation"] = "LandscapeLeft", ["UILaunchImageSize"] = "{768, 1024}" }, { -- iPad LandscapeRight ["UILaunchImageMinimumOSVersion"] = "7.0", ["UILaunchImageName"] = "Default-Landscape", ["UILaunchImageOrientation"] = "LandscapeRight", ["UILaunchImageSize"] = "{768, 1024}" }, { -- iPhone 6 Portrait ["UILaunchImageMinimumOSVersion"] = "8.0", ["UILaunchImageName"] = "Default-667h", ["UILaunchImageOrientation"] = "Portrait", ["UILaunchImageSize"] = "{375, 667}" }, { -- iPhone 6 LandscapeLeft ["UILaunchImageMinimumOSVersion"] = "8.0", ["UILaunchImageName"] = "Default-667h", ["UILaunchImageOrientation"] = "LandscapeLeft", ["UILaunchImageSize"] = "{375, 667}" }, { -- iPhone 6 LandscapeRight ["UILaunchImageMinimumOSVersion"] = "8.0", ["UILaunchImageName"] = "Default-667h", ["UILaunchImageOrientation"] = "LandscapeRight", ["UILaunchImageSize"] = "{375, 667}" }, { -- iPhone 6 Plus Portrait ["UILaunchImageMinimumOSVersion"] = "8.0", ["UILaunchImageName"] = "Default-736h", ["UILaunchImageOrientation"] = "Portrait", ["UILaunchImageSize"] = "{414, 736}" }, { -- iPhone 6 Plus LandscapeLeft ["UILaunchImageMinimumOSVersion"] = "8.0", ["UILaunchImageName"] = "Default-Landscape-736h", ["UILaunchImageOrientation"] = "LandscapeLeft", ["UILaunchImageSize"] = "{414, 736}" }, { -- iPhone 6 Plus LandscapeRight ["UILaunchImageMinimumOSVersion"] = "8.0", ["UILaunchImageName"] = "Default-Landscape-736h", ["UILaunchImageOrientation"] = "LandscapeRight", ["UILaunchImageSize"] = "{414, 736}" }, { -- iPad Pro Portrait ["UILaunchImageMinimumOSVersion"] = "9.0", ["UILaunchImageName"] = "Default-Portrait-1366", ["UILaunchImageOrientation"] = "Portrait", ["UILaunchImageSize"] = "{1024, 1366}" }, { -- iPad Pro Landscape Right ["UILaunchImageMinimumOSVersion"] = "9.0", ["UILaunchImageName"] = "Default-Landscape-1366", ["UILaunchImageOrientation"] = "LandscapeRight", ["UILaunchImageSize"] = "{1024, 1366}" }, { -- iPad Pro Landscape Left ["UILaunchImageMinimumOSVersion"] = "9.0", ["UILaunchImageName"] = "Default-Landscape-1366", ["UILaunchImageOrientation"] = "LandscapeLeft", ["UILaunchImageSize"] = "{1024, 1366}" }, }, } } }

Q: What happens when you try to build one of the sample apps like:  SampleCode/GettingStarted/HelloWorld (in the folder with Corona SDK).

A: It opened in both the Corona Simulator and Xcode simulator (as an iPhone 5) with no problems. 

Are you using any custom shaders?

I’m going to ask a couple of engineers to see if they can make any sense of the error your getting.

It is late on a Friday, so I don’t know how soon I’ll get a response.

Rob

I’m not using any custom shaders. However, I did make some particle effects using Particle Designer 2, which creates a .png and .json file for each particle effect. 

Below is what’s in one of the .json files. I wonder if something in there is the culprit. 

Also, it is late on a Friday, go enjoy your weekend and thanks again for you help!

{ "startColorAlpha" : 1, "startParticleSizeVariance" : 5.37, "startColorGreen" : 0.8503715, "rotatePerSecond" : 0, "radialAcceleration" : -100, "yCoordFlipped" : -1, "emitterType" : 0, "blendFuncSource" : 1, "finishColorVarianceAlpha" : 0, "rotationEnd" : 0, "startColorVarianceBlue" : 0, "rotatePerSecondVariance" : 0, "particleLifespan" : 0.05, "minRadius" : 0, "configName" : "EggExplosion\_Yellow", "tangentialAcceleration" : -0, "rotationStart" : 0, "startColorVarianceGreen" : 0, "speed" : 400, "minRadiusVariance" : 0, "finishColorVarianceBlue" : 0, "finishColorBlue" : 0.1895935, "finishColorGreen" : 0.8536441, "blendFuncDestination" : 771, "finishColorAlpha" : 1, "sourcePositionVariancex" : 0, "startParticleSize" : 5, "sourcePositionVariancey" : 4, "startColorRed" : 0.958101, "finishColorVarianceRed" : 0.5, "absolutePosition" : false, "textureFileName" : "EggExplosion\_Yellow.png", "startColorVarianceAlpha" : 0, "maxParticles" : 150, "finishColorVarianceGreen" : 0.5, "finishParticleSize" : 3, "duration" : 0.1, "startColorVarianceRed" : 0, "finishColorRed" : 0.9644559, "gravityx" : 0, "maxRadiusVariance" : 0, "finishParticleSizeVariance" : 5, "gravityy" : 100, "rotationEndVariance" : 0, "startColorBlue" : 0.1897044, "rotationStartVariance" : 0, "speedVariance" : 0, "radialAccelVariance" : 100, "textureImageData" : "", "tangentialAccelVariance" : -0, "particleLifespanVariance" : 0.5, "angleVariance" : -360, "angle" : -0, "maxRadius" : 235.79 }

Can you comment out your particle effects to see if they are the culprit? How did you create the particle effects?

I just commented out the particle effects, but no luck, I still get the same error when I try to run it on the Xcode simulator. 

To create the particle effects, I used these instructions: https://coronalabs.com/blog/2014/03/25/tutorial-using-particle-designer-in-corona/

The only other thing I can think of that comes close to a shader is setting the alpha when calling object:setFillColor, but I doubt that is the culprit. 

What happens if you try and build for a device or build and have it do nothing?

Do you get the same error or does it only happen when trying to build for Xcode’s iOS Simulator?

What version of Xcode and OS X are you on?

Thanks

Rob

Thank you for reporting the issue. It appears there is a problem with linking plugins for simulator builds. We will look into it soon, meanwhile, I can recommend to comment out both plugins you’re using in build.settings.

You probably shouldn’t be using the “social” popup for iOS anyway. We have a newer “Activity” plugin which is the same sharing system iOS 7, 8 and 9 uses. For iOS the social plugin requires you to build your own Twitter, Facebook, Sineweibo buttons.  For Android the social plugin brings up a sharing sheet which works. The Activity plugin is the best for iOS.

Rob

I’ve commented out my plugins in build.settings.lua and commented out the corresponding listeners in my code, but I still get the error “ERROR: Builder failed: Undefined symbols for architecture i386:” Once I figure out this error, I will replace my use of the Social plugin with the Activity plugin. Thanks again for your help.

File is just “build.settings”, not “build.settings.lua”. Because I just tried and have same errors as you do. After commenting out whole plugins section (both of them), everything started to work.

Also, linking problems does not depend on what you have in your Lua code (except if it has invalid syntax). Only on contents of build.settings and platform you chose.

Oops, yeah, I meant to type just build.settings. 

After completely deleting the plugins from build.settings (instead of commenting them out) and restarting Corona & Xcode, it finally works. No more linker error and I can run my app in the Xcode simulator. 

Thanks!

Sorry for that. It is still a bug, that you can’t use plugins in simulator. You suppose to be able to do that :slight_smile:

Thank you for reporting.

By the way, try removing the line

[lua]MinimumOSVersion = “7.0”,[/lua]

It may help your problem.

Let me ask a couple of questions.

Are you using Corona SDK or Corona Enterprise?

What version of Corona SDK (or Enterprise) are you using?

Can you post your build.settings file (Select All/Copy from your editor, click on the blue <> button in the forum post editor and paste your build.settings into the window that pops up).

What happens when you try to build one of the sample apps like:  SampleCode/GettingStarted/HelloWorld (in the folder with Corona SDK).

Thanks

Rob

Answers are inline below. Thanks for your help!

 

Q: Are you using Corona SDK or Corona Enterprise?

A: Corona SDK

 

Q: What version of Corona SDK (or Enterprise) are you using?

A: Version 2016.2909 (2016.7.7)

 

Q: Can you post your build.settings file (Select All/Copy from your editor, click on the blue  <>  button in the forum post editor and paste your build.settings into the window that pops up).

A: 

-- -- For more information on build.settings see the Corona SDK Build Guide at: -- http://docs.coronalabs.com/guide/distribution/buildSettings/index.html -- settings = { plugins = { ["CoronaProvider.native.popup.social"] = { publisherId = "com.coronalabs" }, ["CoronaProvider.gameNetwork.apple"] = { publisherId = "com.coronalabs", supportedPlatforms = { iphone=true,["iphone-sim"]=true }, } }, orientation = { default = "portrait", supported = { "portrait" } }, iphone = { plist = { CFBundleDisplayName = "Cracked - The ULTIMATE casual puzzle game", CFBundleName = "Cracked", CFBundleIconFiles = {}, -- Required UILaunchImages = {}, -- Required UIApplicationExitsOnSuspend = false, UIPrerenderedIcon = true, UIStatusBarHidden = true, MinimumOSVersion = "7.0", LSRequiresIPhoneOS = true, CFBundleIconFiles = { "Icon.png", "Icon@2x.png", "Icon-60.png", "Icon-60@2x.png", "Icon-60@3x.png", "Icon-72.png", "Icon-72@2x.png", "Icon-76.png", "Icon-76@2x.png", "Icon-Small.png", "Icon-Small@2x.png", "Icon-Small@3x.png", "Icon-Small-40.png", "Icon-Small-40@2x.png", "Icon-Small-50.png", "Icon-Small-50@2x.png", }, -- Launch image files table UILaunchImages = { { -- iPhone 4 Portrait ["UILaunchImageMinimumOSVersion"] = "7.0", ["UILaunchImageName"] = "Default", ["UILaunchImageOrientation"] = "Portrait", ["UILaunchImageSize"] = "{320, 480}" }, { -- iPhone 4 LandscapeLeft ["UILaunchImageMinimumOSVersion"] = "7.0", ["UILaunchImageName"] = "Default", ["UILaunchImageOrientation"] = "LandscapeLeft", ["UILaunchImageSize"] = "{320, 480}" }, { -- iPhone 4 LandscapeRight ["UILaunchImageMinimumOSVersion"] = "7.0", ["UILaunchImageName"] = "Default", ["UILaunchImageOrientation"] = "LandscapeRight", ["UILaunchImageSize"] = "{320, 480}" }, { -- iPhone 5 Portrait ["UILaunchImageMinimumOSVersion"] = "7.0", ["UILaunchImageName"] = "Default-568h", ["UILaunchImageOrientation"] = "Portrait", ["UILaunchImageSize"] = "{320, 568}" }, { -- iPhone 5 LandscapeLeft ["UILaunchImageMinimumOSVersion"] = "7.0", ["UILaunchImageName"] = "Default-568h", ["UILaunchImageOrientation"] = "LandscapeLeft", ["UILaunchImageSize"] = "{320, 568}" }, { -- iPhone 5 LandscapeRight ["UILaunchImageMinimumOSVersion"] = "7.0", ["UILaunchImageName"] = "Default-568h", ["UILaunchImageOrientation"] = "LandscapeRight", ["UILaunchImageSize"] = "{320, 568}" }, { -- iPad Portrait ["UILaunchImageMinimumOSVersion"] = "7.0", ["UILaunchImageName"] = "Default-Portrait", ["UILaunchImageOrientation"] = "Portrait", ["UILaunchImageSize"] = "{768, 1024}" }, { -- iPad LandscapeLeft ["UILaunchImageMinimumOSVersion"] = "7.0", ["UILaunchImageName"] = "Default-Landscape", ["UILaunchImageOrientation"] = "LandscapeLeft", ["UILaunchImageSize"] = "{768, 1024}" }, { -- iPad LandscapeRight ["UILaunchImageMinimumOSVersion"] = "7.0", ["UILaunchImageName"] = "Default-Landscape", ["UILaunchImageOrientation"] = "LandscapeRight", ["UILaunchImageSize"] = "{768, 1024}" }, { -- iPhone 6 Portrait ["UILaunchImageMinimumOSVersion"] = "8.0", ["UILaunchImageName"] = "Default-667h", ["UILaunchImageOrientation"] = "Portrait", ["UILaunchImageSize"] = "{375, 667}" }, { -- iPhone 6 LandscapeLeft ["UILaunchImageMinimumOSVersion"] = "8.0", ["UILaunchImageName"] = "Default-667h", ["UILaunchImageOrientation"] = "LandscapeLeft", ["UILaunchImageSize"] = "{375, 667}" }, { -- iPhone 6 LandscapeRight ["UILaunchImageMinimumOSVersion"] = "8.0", ["UILaunchImageName"] = "Default-667h", ["UILaunchImageOrientation"] = "LandscapeRight", ["UILaunchImageSize"] = "{375, 667}" }, { -- iPhone 6 Plus Portrait ["UILaunchImageMinimumOSVersion"] = "8.0", ["UILaunchImageName"] = "Default-736h", ["UILaunchImageOrientation"] = "Portrait", ["UILaunchImageSize"] = "{414, 736}" }, { -- iPhone 6 Plus LandscapeLeft ["UILaunchImageMinimumOSVersion"] = "8.0", ["UILaunchImageName"] = "Default-Landscape-736h", ["UILaunchImageOrientation"] = "LandscapeLeft", ["UILaunchImageSize"] = "{414, 736}" }, { -- iPhone 6 Plus LandscapeRight ["UILaunchImageMinimumOSVersion"] = "8.0", ["UILaunchImageName"] = "Default-Landscape-736h", ["UILaunchImageOrientation"] = "LandscapeRight", ["UILaunchImageSize"] = "{414, 736}" }, { -- iPad Pro Portrait ["UILaunchImageMinimumOSVersion"] = "9.0", ["UILaunchImageName"] = "Default-Portrait-1366", ["UILaunchImageOrientation"] = "Portrait", ["UILaunchImageSize"] = "{1024, 1366}" }, { -- iPad Pro Landscape Right ["UILaunchImageMinimumOSVersion"] = "9.0", ["UILaunchImageName"] = "Default-Landscape-1366", ["UILaunchImageOrientation"] = "LandscapeRight", ["UILaunchImageSize"] = "{1024, 1366}" }, { -- iPad Pro Landscape Left ["UILaunchImageMinimumOSVersion"] = "9.0", ["UILaunchImageName"] = "Default-Landscape-1366", ["UILaunchImageOrientation"] = "LandscapeLeft", ["UILaunchImageSize"] = "{1024, 1366}" }, }, } } }

Q: What happens when you try to build one of the sample apps like:  SampleCode/GettingStarted/HelloWorld (in the folder with Corona SDK).

A: It opened in both the Corona Simulator and Xcode simulator (as an iPhone 5) with no problems. 

Are you using any custom shaders?

I’m going to ask a couple of engineers to see if they can make any sense of the error your getting.

It is late on a Friday, so I don’t know how soon I’ll get a response.

Rob

I’m not using any custom shaders. However, I did make some particle effects using Particle Designer 2, which creates a .png and .json file for each particle effect. 

Below is what’s in one of the .json files. I wonder if something in there is the culprit. 

Also, it is late on a Friday, go enjoy your weekend and thanks again for you help!

{ "startColorAlpha" : 1, "startParticleSizeVariance" : 5.37, "startColorGreen" : 0.8503715, "rotatePerSecond" : 0, "radialAcceleration" : -100, "yCoordFlipped" : -1, "emitterType" : 0, "blendFuncSource" : 1, "finishColorVarianceAlpha" : 0, "rotationEnd" : 0, "startColorVarianceBlue" : 0, "rotatePerSecondVariance" : 0, "particleLifespan" : 0.05, "minRadius" : 0, "configName" : "EggExplosion\_Yellow", "tangentialAcceleration" : -0, "rotationStart" : 0, "startColorVarianceGreen" : 0, "speed" : 400, "minRadiusVariance" : 0, "finishColorVarianceBlue" : 0, "finishColorBlue" : 0.1895935, "finishColorGreen" : 0.8536441, "blendFuncDestination" : 771, "finishColorAlpha" : 1, "sourcePositionVariancex" : 0, "startParticleSize" : 5, "sourcePositionVariancey" : 4, "startColorRed" : 0.958101, "finishColorVarianceRed" : 0.5, "absolutePosition" : false, "textureFileName" : "EggExplosion\_Yellow.png", "startColorVarianceAlpha" : 0, "maxParticles" : 150, "finishColorVarianceGreen" : 0.5, "finishParticleSize" : 3, "duration" : 0.1, "startColorVarianceRed" : 0, "finishColorRed" : 0.9644559, "gravityx" : 0, "maxRadiusVariance" : 0, "finishParticleSizeVariance" : 5, "gravityy" : 100, "rotationEndVariance" : 0, "startColorBlue" : 0.1897044, "rotationStartVariance" : 0, "speedVariance" : 0, "radialAccelVariance" : 100, "textureImageData" : "", "tangentialAccelVariance" : -0, "particleLifespanVariance" : 0.5, "angleVariance" : -360, "angle" : -0, "maxRadius" : 235.79 }

Can you comment out your particle effects to see if they are the culprit? How did you create the particle effects?