-fembed-bitcode is not supported on versions of iOS prior to 6.0

Hello,


I'm trying to build an app for ios and I'm getting this error:

-fembed-bitcode is not supported on versions of iOS prior to 6.0


Thanks

Only got this error when I ran on a real iPhone and not the simulator.


I've got an old iOS application and it certainly goes back to iOS 5. I thought my deployment target was 8.0+


The earlier part of the error message mentions: export IPHONEOS_DEPLOYMENT_TARGET=5.1


I had to change the deployment target in both Targets as well as in Projects and it seems to clear the error.

-fembed-bitcode is not supported on versions of iOS prior to 6.0
 
 
Q