setup.rb
script, you do not need to do any of these steps. This section is mostly of interest for people who want to know what that script does behind the scenes or who for some reason cannot use the script.setup.rb
script does the following things to ensure the code generator is run transparently whenever you build your project:ObjectBox
next to your project. If you had a folder named external
for all external dependencies next to a myproject
folder that contains your project, that line might read:generated/EntityInfo.generated.swift
file for you. It will not contain much of interest, yet, but now that the generated/
directory and its contents exist, you can drag them into your Xcode project so they get compiled as well (make sure you add folders as "groups", not as "folder references").