- We check the “Build project as a framework” on iOS
- Then Package Project->iOS
- We got this error:
ATHelper: Packaging (iOS): /Users/titanium/workspace/UnrealEngine/Engine/Source/Runtime/Engine/Public/Animation/AnimCurveTypes.h:164:3: error: declaration shadows a variable in namespace 'Chaos' -Werror,-Wshadow]
UATHelper: Packaging (iOS): X = 0,
UATHelper: Packaging (iOS): ^
UATHelper: Packaging (iOS): /Users/titanium/workspace/UnrealEngine/Engine/Source/Runtime/Experimental/Chaos/Public/Chaos/ParticleDirtyFlags.h:12:3: note: previous declaration is here
UATHelper: Packaging (iOS): X = 1 << 0,
UATHelper: Packaging (iOS): ^
PackagingResults: Error: declaration shadows a variable in namespace 'Chaos' -Werror,-Wshadow]
- If we do not check the “Build project as a framework” everything is OK.
- How to fix it? Thanks.
- We use the release branch from github source code.