Search Issue Tracker
Fixed in 2020.2.X
Votes
0
Found in
2019.3.14f1
Issue ID
1254117
Regression
No
[iOS] Plugin "Compile Flags" do not update on Append Build
Changes to native source "Compile flags" are not respected
1. Build the attached project for iOS
2. Go to TARGETS > UnityFramework > Build Phases > Compile Sources > Test.m.
3. Note the compile flag -DPLUGIN_IMPORTER_COMPILE_FLAG is set
4. Change the compile flags on Test.m to something else, e.g, "-DSOMETHING_ELSE"
5. Build again (CMD + B)
6. Note the compile flags is still set to -DPLUGIN_IMPORTER_COMPILE_FLAG
Note: If you instead rebuild from scratch (i.e., "replace") the trampoline project, the new compile flag is set correctly.
Expected behavior: The "compile flags" are updated each time the player is built.
Actual behavior: The "compile flags" are only used once, the first time the trampoline project is generated.
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Manual reference page for Grid Selection is missing
- Awaitable.NextFrameAsync causes GC Alloc 0.7 KB when using CancellationToken
- Prefab "Overrides" list item popups are overridden when navigating with keyboard arrow keys
- Alpha Tolerance setting does not affect generated outlines when generating Custom Physics Shape in the Sprite Editor
- The information/help message section misses a margin in the "Profiler" window
Resolution Note (fix version 2020.2):
Fixed in 2021.1.0a9.1547