Hello,
As the "TurboActivate.dat" file must be at the same location of the executable, the file must be now code-signed if you compile with Xcode on Mavericks. I found 2 solutions :
1) Creating a "Run Script" phase to sign the DAT file (codesign --verbose --force --sign "Developer ID Application: MyName" "${BUILT_PRODUCTS_DIR}"/"${EXECUTABLE_FOLDER_PATH}/TurboActivate.dat")
2) Place the DAT file in the "Resources" folder, then use PDetsFromPath() to load it manually ( PDetsFromPath( [[[NSBundle mainBundle] pathForResource:@"TurboActivate" ofType:@"dat"] UTF8String] ); )
The first solution is simplier as it doesn't change much the code, but you need to be connected to internet to code-sign the DAT file.The second method doesn't need an internet connection, but it requires code change, and diminish the simplicity of TurboActivate.
What's the best one ? Is there a better strategy ?Thank you. Philippe