@Chang it seems you've mixed old gideros lib with new gideros project, where there should be gideros lib and lua lib separated. Try doing a full reexport.
@ar2rsawseen I did reexport, and I also see liblua.a and libgideros.a in the project folder. Never had this issue before until I upgrade to the new Xcode.
A solution for this is to make some changes in build settings:
1) Change Architectures from "Standard Architectures (armv7, armv7s, arm64)" to "ARCHS = armv7 armv7s" 2) Change Build Active Architectures Only to "No" 3) Keep existing Valid Architectures as "arm64 armv7 armv7s" so that it works on 64-bit iPhone too.
Comments
http://blog.giderosmobile.com/post/68378513314/problems-with-xcode-paths-fix
@Chang, try selecting a real device (not a simulator) in Xcode at the top left of the window before building.
@eezing I'm on Mountain Lion, not sure if upgrade to mavericks will solve the issue. I selected a real device - iPhone 5S with iOS7.1.
Try doing a full reexport.
Build on:
iPhone Simulator (non 64-Bit) - Success
iPhone Simulator (64-Bit) - Fail
iPhone 5S running iOS7.1 - Fail
Fix:
In Xcode > Target > Build Settings > Architectures > Valid Architectures:
Remove arm64 value. Values should be: armv7 armv7s
App runs OK on iPad mini, iPhone 5, iPhone 5s
1) Change Architectures from "Standard Architectures (armv7, armv7s, arm64)" to "ARCHS = armv7 armv7s"
2) Change Build Active Architectures Only to "No"
3) Keep existing Valid Architectures as "arm64 armv7 armv7s" so that it works on 64-bit iPhone too.
http://members.giderosmobile.com/knowledgebase.php?action=displayarticle&id=94
Removing arm64 from Valid Architectures does't appear to break functionality on iPhone 5s... but your way seems safer so I'll go with that. Thanks!