(The Base SDK FX Folder is not existed by default, so I create it manually and copy “iOS 10.2” fx folder into it to make FXGen detect the Platform Version, otherwise there’s a yellow warning icon beside it)
I click “Start Import” and it shows “Import script has failed, see log file for details”. I check the log file but have no clue: 505117219308.zip (1.8 KB)
I’m not quite sure if my libSQLCipherIOS.a is validated to be imported, so I just have a try to “Import SDK” to see what it looks like when FXGen works as expected.
But it’s failed again with the same error as “Import Library”:
Curious. i have literally no idea what could be failing here. Something inside Train. is passing a nil string to Path.Combine when trying to run /usr/bin/xcode-select. very strange. If anything, it’s a Train bug, but i cannot see how…
Yes, but where can I find the .train file generated by FXGen?
For “Import SDK”, I just simply drag-and-drop the XCode application into it without any configuration.
Sorry for my negligence…Here’s the train script for “Import SDK”:
include("$(GenerateTrainScript)");
var fxBaseFolder = “/Users/sgzxy/Library/Application Support/RemObjects Software/Elements/CrossBox/FX”;
var hi = “/Applications/CrossBox.app/Contents/Resources/FXGen.app/Contents/Resources/HeaderImporter.exe”;
var developerFolder = “/Applications/Xcode.app/Contents/Developer”;
processiOSSDK(“10.2”);
var fxBaseFolder = "/Users/sgzxy/Library/Application Support/RemObjects Software/Elements/CrossBox/FX";
var hi = "/Applications/CrossBox.app/Contents/Resources/FXGen.app/Contents/Resources/HeaderImporter.exe";
var developerFolder = "/Applications/Xcode.app/Contents/Developer";
include("$(GenerateTrainScript)");
processiOSSDK("10.2");