I am having issues installing a particular build onto a device using xcode. The transfer of the build was working fine then suddenly a week or so ago it started giving me the below error in an alert box. However if i change the application name in the ‘Build for iOS’ form I can install it fine on any device with any provisioning profile.
App installation failed
This application does not support this device’s CPU type.
Have tried the following
-
Multiple devices - xcode simulator also rejects it
-
Different Corona builds (including current daily Version 2016.2818 (2016.1.29)
-
Refreshing xcode provisioning profiles (different profile)
-
Copied project files to different location on hdd
-
Basic ts, reboot, restart application etc
-
Asking it nicely to install
Has anyone had similar issues or can anyone shed any light on this issue?
Edit:
Just tried deleting cached data from Library>Application Support and Library>Caches still same error
Edit2:
After removing xcode and reinstalling (7.2) I was still getting the same error. Removed all temp Corona files again still no change. Created and built a brand new BLANK project worked perfectly. Slowly (building at intervals) moved my the build.settings and main.lua code to the new project and then the modules, assets, icons etc to the new project… Finally I am able to transfer the build with the correct name to my devices not sure why though or for how long at this stage.
Edit3:
After some more tests I believe I have pinpointed it to be something to do with the main.lua and its file attributes/corruption (could have something to do with my file systems integrity) not sure. Will move on for now as I have it working. I hope no one ever has this issue if so see edit2…