,
I just tried to compile my app for iOS since adding itween and I get a compilation error =(
iOS is my main platform so I can’t really use itween if it can’t work on there…
MainFrameActions: Packaging (iOS): UnrealBuildTool: In file included from /UE4/Builds/GALILEO-PC/E/UE4/UnrealEngine-4.6.1-release/ChimeraScript/Intermediate/Build/IOS/ChimeraScript/Development/ChimeraScript/Module.ChimeraScript.cpp:44:
MainFrameActions: Packaging (iOS): UnrealBuildTool: E:\UE4\UnrealEngine-4.6.1-release(2217,48): error: unsequenced modification and access to ‘value’ -Werror,-Wunsequenced]
MainFrameActions: Packaging (iOS): UnrealBuildTool: return -(a * FMath::Pow(2, 10 * (value -= 1)) * FMath::Sin((value * d - s) * (2 * pi) / p)) + start;
MainFrameActions: Packaging (iOS): UnrealBuildTool: ^ ~~~~~
MainFrameActions: Packaging (iOS): UnrealBuildTool: E:\UE4\UnrealEngine-4.6.1-release(2268,70): error: unsequenced modification and access to ‘value’ -Werror,-Wunsequenced]
MainFrameActions: Packaging (iOS): UnrealBuildTool: if (value < 1) return -0.5f * (a * FMath::Pow(2, 10 * (value -= 1)) * FMath::Sin((value * d - s) * (2 * pi) / p)) + start;
MainFrameActions: Packaging (iOS): UnrealBuildTool: ^ ~~~~~
MainFrameActions: Packaging (iOS): UnrealBuildTool: E:\UE4\UnrealEngine-4.6.1-release(2269,47): error: unsequenced modification and access to ‘value’ -Werror,-Wunsequenced]
MainFrameActions: Packaging (iOS): UnrealBuildTool: return a * FMath::Pow(2, -10 * (value -= 1)) * FMath::Sin((value * d - s) * (2 * pi) / p) * 0.5f + end + start;
MainFrameActions: Packaging (iOS): UnrealBuildTool: ^ ~~~~~
MainFrameActions: Packaging (iOS): UnrealBuildTool: E:\UE4\UnrealEngine-4.6.1-release(2741,8): error: no member named ‘SetActorLabel’ in ‘AiTweenEvent’
MainFrameActions: Packaging (iOS): UnrealBuildTool: this->SetActorLabel(*(tweenName.ToString() + " - " + FString::FromInt(tweenIndex) + " - " + GetEventTypeEnumAsFString(eventType)));
Any tips?
–EDIT
Looking into this…SetActorLabel is only available in the editor, not packaged builds…so this call should probably be wrapped insomething but I’m not sure if that would break anything so I’ll wait to see what you say first.
Also, it appears iOS’s compiler doesn’t like having the decrements assignment inside a computation sequence like that.