File tree Expand file tree Collapse file tree
libs/openFrameworksCompiled/project Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ trim_trailing_whitespace = true
1313charset = utf-8
1414
1515[* .sh ]
16- indent_style = tab
16+ indent_style = space
1717indent_size = 4
1818tab_width = 4
1919insert_final_newline = true
Original file line number Diff line number Diff line change @@ -101,7 +101,7 @@ DEAD_CODE_STRIPPING = YES
101101ENABLE_BITCODE = NO
102102ENABLE_STRICT_OBJC_MSGSEND = YES
103103
104- SKIP_INSTALL = YES
104+ SKIP_INSTALL = NO
105105
106106CC = $(OF_PATH)/scripts/osx/cc.sh
107107CXX = $(OF_PATH)/scripts/osx/cxx.sh
Original file line number Diff line number Diff line change @@ -118,7 +118,7 @@ INSTALL_PATH = /Applications
118118//SDKROOT = macosx
119119//WRAPPER_EXTENSION = app
120120
121- SKIP_INSTALL = YES
121+ SKIP_INSTALL = NO
122122
123123CC = $(OF_PATH)/scripts/osx/cc.sh
124124CXX = $(OF_PATH)/scripts/osx/cxx.sh
Original file line number Diff line number Diff line change @@ -113,7 +113,7 @@ INSTALL_PATH = /Applications
113113SDKROOT = macosx
114114WRAPPER_EXTENSION = app
115115
116- SKIP_INSTALL = YES
116+ SKIP_INSTALL = NO
117117
118118CC = $(OF_PATH)/scripts/osx/cc.sh
119119CXX = $(OF_PATH)/scripts/osx/cxx.sh
Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ GCC_WARN_ABOUT_INVALID_OFFSETOF_MACRO = NO
6666GCC_WARN_ABOUT_RETURN_TYPE = YES
6767GLES_SILENCE_DEPRECATION = YES
6868
69- CONFIGURATION_BUILD_DIR = $(SRCROOT)/bin/
69+ SKIP_INSTALL = NO
7070
7171CC = $(OF_PATH)/scripts/osx/cc.sh
7272CXX = $(OF_PATH)/scripts/osx/cxx.sh
Original file line number Diff line number Diff line change @@ -190,7 +190,7 @@ copy_binary() {
190190 msg " Copy Binary to bin/ " ;
191191 APP_NAME=" ${PRODUCT_NAME} .app"
192192 APP_SOURCE=" ${CONFIGURATION_BUILD_DIR} /${APP_NAME} "
193- APP_DEST=" ${SRCROOT} /bin/${APP_NAME} "
193+ APP_DEST=" ${SRCROOT} /bin/"
194194 echo " ------------------------------------------"
195195 echo " 🔍 Debugging copy_binary function"
196196 echo " Configuration Build Dir: ${CONFIGURATION_BUILD_DIR} "
@@ -203,13 +203,26 @@ copy_binary() {
203203 exit 1
204204 fi
205205
206+
207+
206208 # Check if the .app file exists
207209 if [ ! -d " ${APP_SOURCE} " ]; then
208210 echo " ERROR: Application bundle not found: ${APP_SOURCE} "
209211 ls -l " ${CONFIGURATION_BUILD_DIR} " # List files in the build directory for debugging
210212 exit 1
211213 fi
212- mkdir -p " ${SRCROOT} /bin/"
214+ mkdir -p " ${SRCROOT} /bin/"
215+ if [ " ${ACTION} " = " archive" ]; then
216+ echo " Skipping copy to bin/ during Archive action."
217+ return 0
218+ fi
219+
220+ if [ -L " ${APP_SOURCE} " ] || file " ${APP_SOURCE} " | grep -q " alias" ; then
221+ echo " WARNING: App source ${APP_SOURCE} is an alias or symlink. Skipping copy to prevent corruption."
222+ return 0
223+ fi
224+
225+
213226 rsync -avz --delete " $APP_SOURCE " " $APP_DEST "
214227 if [ $? -eq 0 ]; then
215228 echo " App successfully $APP_DEST "
You can’t perform that action at this time.
0 commit comments