Build warning 2021r2.1

Greg, I’had tried this, then I get the original error, not.a compiler error.

image

The script now looks:

dim appPath as string = currentBuildLocation + "/" + shellEncode(currentBuildAppName)
if right(appPath, 4) <> ".app" then appPath = appPath + ".app"

// Added
var result as string

result  = doShellCommand("/usr/bin/touch -acm " + appPath)
result = doShellCommand("xattr -rc " + appPath)
If result <> "" then print result

Function shellEncode( inValue as string ) as string
  Dim rvalue as string = replaceAll( inValue, " ", "\ " )
  rvalue = replaceAll( rvalue, "&", "\&" )
  rvalue = replaceAll( rvalue, "-", "\-" )
  rvalue = replaceAll( rvalue, "(", "\(" )
  rvalue = replaceAll( rvalue, ")", "\)" )
  return rvalue
End Function

Any solution? : tried changing project folder, duplicate project folder, changing name, etc. what else could I do?

Hey Sam, not sure if such trick still works, check it out please:

I’m on Mojave, see above posted:
MacOS 10.14.6

That was a side talk with Sam, not exactly related to your current problem.

For your current problem, not sure if related, but you may have found some internal Xojo bug related to spaces and full path names. Your “…/ XOJO_development/…” path seems weird; maybe unrelated, but I had problems in the past with spaces and accented chars in the path.

But this project has been working, and building versions, for months.
I already changed the folder name: “Xojo development” to “Xojo_development”, but no effect.

Looks like the name is “<SPACE>XOJO_development”, not “XOJO_development”

No, I already removed the space before “X”, with no effect. Something has changed in 2021 r2.1, and I consider Xojo shoould give us the info and the solution.

Once you get the error, goto where your STAL.app was sent, and type in the terminal there:

find STAL.app/ >list.txt

Then, if possible show the output here (the list of the files inside STAL.app), if not, look for some weird file listed, specially some starting with a dot or an underline. _somefile or .somefile

Do you happen to have icloud sync on? if so you may be better of adding your projects to a folder inside your user folder /Users/enric/XOJO_Development/… instead of /Users/enric/Documents/…
since all in the Documents folder may be synced then.

Alternatively try to make sure the plugins (if any) are not correctly signed, or you can xattr them to clear any flags that are not allowed.

Lastly do you have any additional binaries or libraries in your content? They MUST be in a binary folder, they CANNOT be inside the resources (so no .dylib or executables may be in there)

Thereis no output.

The output is the content of the created file list.txt

open -a TextEdit list.txt

No.
No plugins
The project has worked and build for months, the only change has been upgrading to r2.1
After the error an STAL.app is build and it works (or I think it)

STAL.app/
STAL.app//Contents
STAL.app//Contents/MacOS
STAL.app//Contents/MacOS/STAL
STAL.app//Contents/Resources
STAL.app//Contents/Resources/terrain.png
STAL.app//Contents/Resources/optionsIcon.png
STAL.app//Contents/Resources/VictoryIcon.png
STAL.app//Contents/Resources/turnsTable.png
STAL.app//Contents/Resources/Fire.png
STAL.app//Contents/Resources/nextPhase.png
STAL.app//Contents/Resources/deploy.png
STAL.app//Contents/Resources/rail_line.png
STAL.app//Contents/Resources/listIcon.png
STAL.app//Contents/Resources/Symbols.png
STAL.app//Contents/Resources/ResultsTable.png
STAL.app//Contents/Resources/DiceIcon.png
STAL.app//Contents/Resources/Combat.png
STAL.app//Contents/Resources/Counter.png
STAL.app//Contents/Resources/Counter2.png
STAL.app//Contents/Resources/stalingrad_map.png
STAL.app//Contents/Resources/Counter1.png
STAL.app//Contents/Resources/Dice1.png
STAL.app//Contents/Resources/Dice3.png
STAL.app//Contents/Resources/help.png
STAL.app//Contents/Resources/Dice2.png
STAL.app//Contents/Resources/App.icns
STAL.app//Contents/Resources/replacement_button.png
STAL.app//Contents/Resources/Dice6.png
STAL.app//Contents/Resources/Dice5.png
STAL.app//Contents/Resources/Files
STAL.app//Contents/Resources/Files/.DS_Store
STAL.app//Contents/Resources/Files/Stalingrad_CRT.csv
STAL.app//Contents/Resources/Files/ResultsTable.png
STAL.app//Contents/Resources/Files/ReplacementHelp.rtf
STAL.app//Contents/Resources/Files/keys.rtf
STAL.app//Contents/Resources/Files/Stalingrad_Terrain.csv
STAL.app//Contents/Resources/Files/Stalingrad_units.csv
STAL.app//Contents/Resources/Files/Stalingrad_Weathers.csv
STAL.app//Contents/Resources/Dice4.png
STAL.app//Contents/Resources/H1.png
STAL.app//Contents/Resources/german_59.png
STAL.app//Contents/Resources/russian_icon.png
STAL.app//Contents/Resources/mwx_logolong.png
STAL.app//Contents/Resources/german_icon.png
STAL.app//Contents/Frameworks
STAL.app//Contents/Frameworks/AppearancePakCocoa.dylib
STAL.app//Contents/Frameworks/SQLiteDatabase.dylib
STAL.app//Contents/Frameworks/XojoFramework.framework
STAL.app//Contents/Frameworks/XojoFramework.framework/XojoFramework
STAL.app//Contents/Frameworks/XojoFramework.framework/Resources
STAL.app//Contents/Frameworks/XojoFramework.framework/Versions
STAL.app//Contents/Frameworks/XojoFramework.framework/Versions/A
STAL.app//Contents/Frameworks/XojoFramework.framework/Versions/A/_CodeSignature
STAL.app//Contents/Frameworks/XojoFramework.framework/Versions/A/_CodeSignature/CodeResources
STAL.app//Contents/Frameworks/XojoFramework.framework/Versions/A/XojoFramework
STAL.app//Contents/Frameworks/XojoFramework.framework/Versions/A/Resources
STAL.app//Contents/Frameworks/XojoFramework.framework/Versions/A/Resources/de.lproj
STAL.app//Contents/Frameworks/XojoFramework.framework/Versions/A/Resources/de.lproj/Localizable.strings
STAL.app//Contents/Frameworks/XojoFramework.framework/Versions/A/Resources/he.lproj
STAL.app//Contents/Frameworks/XojoFramework.framework/Versions/A/Resources/he.lproj/Localizable.strings
STAL.app//Contents/Frameworks/XojoFramework.framework/Versions/A/Resources/ar.lproj
STAL.app//Contents/Frameworks/XojoFramework.framework/Versions/A/Resources/ar.lproj/Localizable.strings
STAL.app//Contents/Frameworks/XojoFramework.framework/Versions/A/Resources/el.lproj
STAL.app//Contents/Frameworks/XojoFramework.framework/Versions/A/Resources/el.lproj/Localizable.strings
STAL.app//Contents/Frameworks/XojoFramework.framework/Versions/A/Resources/ja.lproj
STAL.app//Contents/Frameworks/XojoFramework.framework/Versions/A/Resources/ja.lproj/Localizable.strings
STAL.app//Contents/Frameworks/XojoFramework.framework/Versions/A/Resources/XOJTooltipController.nib
STAL.app//Contents/Frameworks/XojoFramework.framework/Versions/A/Resources/zh-TW.lproj
STAL.app//Contents/Frameworks/XojoFramework.framework/Versions/A/Resources/zh-TW.lproj/Localizable.strings
STAL.app//Contents/Frameworks/XojoFramework.framework/Versions/A/Resources/AllDirectionsCursor.pdf
STAL.app//Contents/Frameworks/XojoFramework.framework/Versions/A/Resources/ScrubberKnob.tiff
STAL.app//Contents/Frameworks/XojoFramework.framework/Versions/A/Resources/en.lproj
STAL.app//Contents/Frameworks/XojoFramework.framework/Versions/A/Resources/en.lproj/Localizable.strings
STAL.app//Contents/Frameworks/XojoFramework.framework/Versions/A/Resources/en.lproj/InfoPlist.strings
STAL.app//Contents/Frameworks/XojoFramework.framework/Versions/A/Resources/Cursors.plist
STAL.app//Contents/Frameworks/XojoFramework.framework/Versions/A/Resources/uk.lproj
STAL.app//Contents/Frameworks/XojoFramework.framework/Versions/A/Resources/uk.lproj/Localizable.strings
STAL.app//Contents/Frameworks/XojoFramework.framework/Versions/A/Resources/InvisibleCursor.png
STAL.app//Contents/Frameworks/XojoFramework.framework/Versions/A/Resources/XOJPrintProgressDialog.nib
STAL.app//Contents/Frameworks/XojoFramework.framework/Versions/A/Resources/es.lproj
STAL.app//Contents/Frameworks/XojoFramework.framework/Versions/A/Resources/es.lproj/Localizable.strings
STAL.app//Contents/Frameworks/XojoFramework.framework/Versions/A/Resources/NorthWestSouthEastCursor.pdf
STAL.app//Contents/Frameworks/XojoFramework.framework/Versions/A/Resources/da.lproj
STAL.app//Contents/Frameworks/XojoFramework.framework/Versions/A/Resources/da.lproj/Localizable.strings
STAL.app//Contents/Frameworks/XojoFramework.framework/Versions/A/Resources/NorthEastSouthWestCursor.pdf
STAL.app//Contents/Frameworks/XojoFramework.framework/Versions/A/Resources/VolumeWindow.tiff
STAL.app//Contents/Frameworks/XojoFramework.framework/Versions/A/Resources/it.lproj
STAL.app//Contents/Frameworks/XojoFramework.framework/Versions/A/Resources/it.lproj/Localizable.strings
STAL.app//Contents/Frameworks/XojoFramework.framework/Versions/A/Resources/ScrubberTrackUnloadedMiddle.tiff
STAL.app//Contents/Frameworks/XojoFramework.framework/Versions/A/Resources/sk.lproj
STAL.app//Contents/Frameworks/XojoFramework.framework/Versions/A/Resources/sk.lproj/Localizable.strings
STAL.app//Contents/Frameworks/XojoFramework.framework/Versions/A/Resources/VolumeLow.tiff
STAL.app//Contents/Frameworks/XojoFramework.framework/Versions/A/Resources/ScrubberTrackLoadedRight.tiff
STAL.app//Contents/Frameworks/XojoFramework.framework/Versions/A/Resources/StepForward.tiff
STAL.app//Contents/Frameworks/XojoFramework.framework/Versions/A/Resources/sv.lproj
STAL.app//Contents/Frameworks/XojoFramework.framework/Versions/A/Resources/sv.lproj/Localizable.strings
STAL.app//Contents/Frameworks/XojoFramework.framework/Versions/A/Resources/cs.lproj
STAL.app//Contents/Frameworks/XojoFramework.framework/Versions/A/Resources/cs.lproj/Localizable.strings
STAL.app//Contents/Frameworks/XojoFramework.framework/Versions/A/Resources/ScrubberTrackLoadedLeft.tiff
STAL.app//Contents/Frameworks/XojoFramework.framework/Versions/A/Resources/VolumeMuted.tiff
STAL.app//Contents/Frameworks/XojoFramework.framework/Versions/A/Resources/ko.lproj
STAL.app//Contents/Frameworks/XojoFramework.framework/Versions/A/Resources/ko.lproj/Localizable.strings
STAL.app//Contents/Frameworks/XojoFramework.framework/Versions/A/Resources/VolumeSliderKnob.tiff
STAL.app//Contents/Frameworks/XojoFramework.framework/Versions/A/Resources/ControllerBackgroundLeft.tiff
STAL.app//Contents/Frameworks/XojoFramework.framework/Versions/A/Resources/NorthSouthCursor.pdf
STAL.app//Contents/Frameworks/XojoFramework.framework/Versions/A/Resources/no.lproj
STAL.app//Contents/Frameworks/XojoFramework.framework/Versions/A/Resources/no.lproj/Localizable.strings
STAL.app//Contents/Frameworks/XojoFramework.framework/Versions/A/Resources/Play.tiff
STAL.app//Contents/Frameworks/XojoFramework.framework/Versions/A/Resources/MagnifyLargerCursor.pdf
STAL.app//Contents/Frameworks/XojoFramework.framework/Versions/A/Resources/hu.lproj
STAL.app//Contents/Frameworks/XojoFramework.framework/Versions/A/Resources/hu.lproj/Localizable.strings
STAL.app//Contents/Frameworks/XojoFramework.framework/Versions/A/Resources/Pause.tiff
STAL.app//Contents/Frameworks/XojoFramework.framework/Versions/A/Resources/tr.lproj
STAL.app//Contents/Frameworks/XojoFramework.framework/Versions/A/Resources/tr.lproj/Localizable.strings
STAL.app//Contents/Frameworks/XojoFramework.framework/Versions/A/Resources/pl.lproj
STAL.app//Contents/Frameworks/XojoFramework.framework/Versions/A/Resources/pl.lproj/Localizable.strings
STAL.app//Contents/Frameworks/XojoFramework.framework/Versions/A/Resources/VolumeSliderTrack.tiff
STAL.app//Contents/Frameworks/XojoFramework.framework/Versions/A/Resources/ControllerBackgroundRight.tiff
STAL.app//Contents/Frameworks/XojoFramework.framework/Versions/A/Resources/pt-BR.lproj
STAL.app//Contents/Frameworks/XojoFramework.framework/Versions/A/Resources/pt-BR.lproj/Localizable.strings
STAL.app//Contents/Frameworks/XojoFramework.framework/Versions/A/Resources/ScrubberTrackUnloadedLeft.tiff
STAL.app//Contents/Frameworks/XojoFramework.framework/Versions/A/Resources/ru.lproj
STAL.app//Contents/Frameworks/XojoFramework.framework/Versions/A/Resources/ru.lproj/Localizable.strings
STAL.app//Contents/Frameworks/XojoFramework.framework/Versions/A/Resources/ControllerBackgroundMiddle.tiff
STAL.app//Contents/Frameworks/XojoFramework.framework/Versions/A/Resources/ScrubberTrackUnloadedRight.tiff
STAL.app//Contents/Frameworks/XojoFramework.framework/Versions/A/Resources/zh-CN.lproj
STAL.app//Contents/Frameworks/XojoFramework.framework/Versions/A/Resources/zh-CN.lproj/Localizable.strings
STAL.app//Contents/Frameworks/XojoFramework.framework/Versions/A/Resources/VolumeMedium.tiff
STAL.app//Contents/Frameworks/XojoFramework.framework/Versions/A/Resources/ScrubberTrackLoadedMiddle.tiff
STAL.app//Contents/Frameworks/XojoFramework.framework/Versions/A/Resources/fr.lproj
STAL.app//Contents/Frameworks/XojoFramework.framework/Versions/A/Resources/fr.lproj/Localizable.strings
STAL.app//Contents/Frameworks/XojoFramework.framework/Versions/A/Resources/fi.lproj
STAL.app//Contents/Frameworks/XojoFramework.framework/Versions/A/Resources/fi.lproj/Localizable.strings
STAL.app//Contents/Frameworks/XojoFramework.framework/Versions/A/Resources/nl.lproj
STAL.app//Contents/Frameworks/XojoFramework.framework/Versions/A/Resources/nl.lproj/Localizable.strings
STAL.app//Contents/Frameworks/XojoFramework.framework/Versions/A/Resources/th.lproj
STAL.app//Contents/Frameworks/XojoFramework.framework/Versions/A/Resources/th.lproj/Localizable.strings
STAL.app//Contents/Frameworks/XojoFramework.framework/Versions/A/Resources/MagnifySmallerCursor.pdf
STAL.app//Contents/Frameworks/XojoFramework.framework/Versions/A/Resources/MacWaitCursor.pdf
STAL.app//Contents/Frameworks/XojoFramework.framework/Versions/A/Resources/VolumeHigh.tiff
STAL.app//Contents/Frameworks/XojoFramework.framework/Versions/A/Resources/StepBackward.tiff
STAL.app//Contents/Frameworks/XojoFramework.framework/Versions/A/Resources/pt-PT.lproj
STAL.app//Contents/Frameworks/XojoFramework.framework/Versions/A/Resources/pt-PT.lproj/Localizable.strings
STAL.app//Contents/Frameworks/XojoFramework.framework/Versions/A/Resources/FileTypeChooser.nib
STAL.app//Contents/Frameworks/XojoFramework.framework/Versions/A/Resources/ro.lproj
STAL.app//Contents/Frameworks/XojoFramework.framework/Versions/A/Resources/ro.lproj/Localizable.strings
STAL.app//Contents/Frameworks/XojoFramework.framework/Versions/A/Resources/Info.plist
STAL.app//Contents/Frameworks/XojoFramework.framework/Versions/A/Resources/VolumeOff.tiff
STAL.app//Contents/Frameworks/XojoFramework.framework/Versions/A/Resources/hr.lproj
STAL.app//Contents/Frameworks/XojoFramework.framework/Versions/A/Resources/hr.lproj/Localizable.strings
STAL.app//Contents/Frameworks/XojoFramework.framework/Versions/A/Resources/ca.lproj
STAL.app//Contents/Frameworks/XojoFramework.framework/Versions/A/Resources/ca.lproj/Localizable.strings
STAL.app//Contents/Frameworks/XojoFramework.framework/Versions/A/Resources/EastWestCursor.pdf
STAL.app//Contents/Frameworks/XojoFramework.framework/Versions/Current
STAL.app//Contents/Frameworks/GUIKitCocoa.dylib
STAL.app//Contents/Info.plist
STAL.app//Contents/PkgInfo

This seems a detritus

Remove it from your sources, and try again.

It’s a hidden file. You must go where it is and ask to remove it using its hidden name (dot file)

rm .DS_Store

There is not such file (invisible or visible) there
STAL.app//Contents/Resources/Files/.DS_Store

Not in the project folder, either not in the built file

(using command-shift-. to switch invisibles files)

Well, your list and Xojo error says otherwise.

Go there using the terminal and list what’s there as

ls -al >listfiles.txt & open -a TextEdit listfiles.txt

rm listfiles.txt

First get the list, later remove the temporary file

The expected place where the problem resides seems to be the same place where the following files are, in your sources side, not in your App:

Files/Stalingrad_CRT.csv
Files/ResultsTable.png
Files/ReplacementHelp.rtf

Once there, remove the detritus, AS I explained.

With the terminal I see there is such file in my source Files, but when with the finder (showing invisibles) I did not see the file .DS_Store

How may I delete it?

As I explained long ago.

:point_up_2:t2:

rm is the command remove

Soryy Rick

[iMac-Enric-6:myWork/STAL/Files] enric% rm .DS_Store
Then -ls shows a list of files there, and .DS_Store is not longer here.
Then buid again, got the same error