Search Issue Tracker
Won't Fix
Votes
0
Found in
2019.4
2019.4.7f1
2020.1.0a23
2020.2
Issue ID
1271406
Regression
Yes
[iOS] PBXProject.AddFileToBuild method fails build when appending build folder
How to reproduce:
1. Open the attached 'PictureCrossAppendBuildIssues.zip' project
2. Switch platform to iOS
3. Build the Xcode project
4. Build the Xcode project again using Append option
Expected result: Build succeeds
Actual result: Build fails and 'Exception: The given path Libraries/Editor/Prime31/Etcetera/P31ActivityView.h does not refer to a file in a known build section' error is thrown to the Console
Reproducible with: 2019.4.9f1, 2020.1.0a23, 2020.1.4f1, 2020.2.0a21
Not reproducible with: 2020.1.0a22
Could not test with: 2018.4.26f1 project crashes on launch
Notes:
- Could not reproduce with PBXProject.AddFileToBuildSection method
Comments (2)
-
ashwingv93
Apr 19, 2021 13:21
This error happens when Unity XCode API is not able to find this header file in PBXHeadersBuildPhase section of XCode workspace. To fix it, need to add that header files in Build Phase (Header Phase) of the XCode project
-
ashwingv93
Apr 15, 2021 13:47
Is there any workaround/fix to this issue if I still have to use the Append option?
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
- Inspector elements are rendered twice when the script component is added via drag-and-drop while the HideFlags.HideInInspector property is set
- Error "Light baking failed with error code 5 (Convergence data not available while rendering lightmaps)" thrown in Console when generating lighting for specific GameObjects
- Copy and Paste options for an Animation Property value are disabled in the Right click contextual menu
- Asset is not found when searching the Label "NewLabel" in Search Window
- "Compute dispatch: missing texture ID..." and "Compute dispatch: missing UAV ID..." warnings are thrown after changing the platform in High Definition 3D template
Resolution Note (2020.2.X):
the error is in FyberXCodeEditor, it completely ignores headers section in xcode project