I have a problem with the xcodebuild archive
command.
I get the following error:
Cordova/CDVViewController.h not found
I know that I have to add in the build settings in 'Header Search Paths' 'Release' following line:
"$(OBJROOT)/UninstalledProducts/$(PLATFORM_NAME)/include"
Now I have to add this line to the build settings via the xcodebuild CLI's.
I tried something like this:
xcodebuild archive -project App.xcodeproj -scheme App -archivePath App.xcarchive ENABLE_BITCODE=NO HEADER_SEARCH_PATHS_Release="$(OBJROOT)/UninstalledProducts/$(PLATFORM_NAME)/include"
But it did not work. How can I solve this problem?
Thank you in advance.
EDIT: