Difference between revisions of "Xcode"

From havefunsoft wiki
Jump to: navigation, search
m (category!)
m
Line 2: Line 2:
  
 
==Run Script==
 
==Run Script==
* in order to return an error, the (bash) script must use "exit" command with non-zero value
+
* in order to return an error, the (bash) script must use "exit" command with non-zero value. FPC returns a non-zero value when compiling failed.
 
[[Category:Xcode]]
 
[[Category:Xcode]]

Revision as of 12:54, 28 November 2015

The Apple' default IDE is quite hostile to FPC, since it doesn't provide any source of "native" integration. In order for the compiler to be called a custom Run Script is needed to be used.

Run Script

  • in order to return an error, the (bash) script must use "exit" command with non-zero value. FPC returns a non-zero value when compiling failed.