Update Xcode not working!

Hi all.


I tried to create an archive for my applciation and I received the following error :

"error: Invalid bitcode version (Producer: '802.0.42.0_0' Reader: '800.0.42.1_0')"


I searched for this issue and it seems that the Xcode has to be updated.

Unforunately, in the App Store's "Updates" tab does not show me that Xcode needs update. So, I tried to update it through App Store manually by searching "Xcode".It shows me the "Update" status in the button. Then I clicked the button and the activity indicator works for ever. I stopped and restarted that several times. I also restarted/shut down the MAC many times and I retried the above without any success.


I have Xcode version 8.2.1 (8C1002), MAC OS is OS X El Captian version 10.11.6 and the available hard disk is 45 GB.


Can you please suggest me the most safe way of updating my Xcode?

Do I have to unistall it and install manually from an official place (which)?


I have to keep on developing without make experiments in Xcode.


Regards,

kalgik

Replies

I searched a bit more.


I am using Facebook frameworks (Bolts.framework, FBSDKCoreKit.framework, FBSDKLoginKit.framework, and FBSDKShareKit.framework).


I found that I had to set "Enable Bitcode" to "NO" in the Build Options (reference: https://github.com/facebook/facebook-sdk-for-unity/issues/41).

I succeeded to create an archive of my application.


However, I am still not able to update my Xcode.


Regards,

kalgik