I am following Thomas’ blog (Mac App Store Submission Tutorial for Xojo Developers )
on how to prepare your app for the MAS and I am failing the open code block with the exit 173 message.
//#if DebugBuild = false then
#if TargetMacOS = true then
dim f as FolderItem
f = app.ExecutableFile.Parent.Parent // "Contents" folder
f = f.Child("_MASReceipt").Child("receipt") // this is where the App Store puts the receipt when "buying" an app
if not CertTools.IsValid (CertTools.DeviceGUID, CertTools.ReadReceipt(f), "com.intelligentvisibility.intelligentsubnetcalculator") then
declare sub exit_ lib "System" alias "exit" (code as Integer)
exit_ (173)
end
#endif
// #endif
I debugged it so far and I chose to use the shell method to get my mac address successfully. However I get the exit_(173) everytime I step through it.
Any help is always appreciated!
Thank you
Mike