aws-samples / aws-sdk-unity-samples

This repository has samples that demonstrate various aspects of the AWS Mobile SDK for Unity, you can get the SDK source on Github (https://github.com/aws/aws-sdk-net)
Other
161 stars 107 forks source link

Cognito Sync Demo Project: UnityException: Launching iOS project via Xcode failed. #12

Open akiraueda opened 9 years ago

akiraueda commented 9 years ago

Hi Experts,

I found Launching iOS project via Xcode failed with Cognito Sync Demo Project.

The root of this issue is 'autorelease' is unavailable: not available in automatic reference counting mode.

Therefore, I introduced the below work around(Put -fno-objc-arc in the compile flags of the FbUnityInterface.mm on Unity editor)and then, this issue is not occurred. http://devquestion.tk/29318048/workaround-for-unity5-ios-compile-error-with-facebook-unity-sdk-6-2-1.html

If this is bug, please fix it.

Thanks, Akira Ueda

karthiksaligrama commented 9 years ago

thanks for posting this . we will update the sample

akiraueda commented 9 years ago

Please confirm it is reproduced.

johnnyhoffman commented 8 years ago

Confirmed. We will update the sample. Until then, the fix mentioned is sufficient.