Hi,
I am using Github Actions to build my application.
The build works find on my local machine using below command xcodebuild -project Builds/MacOSX/MyApp.xcodeproj -alltargets -parallelizeTargets -configuration Release build CODE_SIGN_IDENTITY='My Certificate Id'
But in github MacOS environment, it fails giving me below error:
failed to find juce_audio_plugin_client_AU/juce_audio_plugin_client_AU.r
/Users/runner/work/My_APP/My_APP/JuceLibraryCode/include_juce_audio_plugin_client_AU.r:8: ### Rez - noErr (0) during open of “juce_audio_plugin_client_AU.r”. Fatal Error! /Users/runner/work/My_APP/My_APP/JuceLibraryCode/include_juce_audio_plugin_client_AU.r:8: ### Rez - Fatal Error, can’t recover.
juce_audio_plugin_client_AU.r: ### Rez - Since errors occurred, /Users/runner/work/My_APP/My_APP/Builds/MacOSX/build/My_App.build/Release/My_App - AU.build/ResourceManagerResources/Objects/include_juce_audio_plugin_client_AU.rsrc’s resource fork was not completely updated.
Command /Applications/Xcode_12.4.app/Contents/Developer/usr/bin/Rez failed with exit code 3
Any idea how to fix this? It has been quite painful.
Thanks a lot and really appreciate it.
Thank you @ttg
The code I push into the repo is after saving the project on the projucer. So whatever runs locally or on the github action is basically the same code. The xcode version on the github was 12.4 so I brought my down from 12.5 to 12.4 as well so my local machine would match the other one but the problem stays the same.
Where can I check the SRCROOT?
Also I had some errors with the way the files were being imported so instead of #include <…> I had to change them to #include “…”
That solved those issues but the Rez still remains.
Thank you @ttg
Can you show me where in Xcode I can find the escaped text? I looked every where and I did not find it.
Thank you. Really appreciate it.