-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Crash at launch after upgrading to 1.4 #45
Comments
So, you did the following?
Can you paste the output of running setup.rb, please? |
Yes, I did.
Not sure if there's anything wrong but CoreIOS is a framework module, EntityInfo-CoreIOS.generated.swift was refreshed on each build, and I didn't have problem with version 1.3.1 When specify the target:
|
Can you please try what is suggested here: To do this you have to locate the script in the Xcode build phase "[OBX] Update Sourcery Generated Files". It might also be helpful to check the following docs: manual-installation, setup-script, and code generation. Once we know what exactly is going on we'll try to make it simpler in the future. E.g. looking at setup.rb:
It might be better to detect a framework reliably, but not sure how exactly that could be done yet with what xcodeproj has to offer. |
Unfortunately, I tried to add Checked the docs, though I can't find anything to try out for this problem. |
Describe the bug
I was using 1.3.1 but then encounter the issue "Could not open env for DB (12)". I try to upgrade to 1.4.1 and 1.4.0 but the app crash at launch with:
dyld: symbol '_$s9ObjectBox13EntityBindingP09generatorD7VersionSiyFTq' not found, expected in '/private/var/containers/Bundle/Application/4D3A6114-9D36-4C10-856E-9FD825083863/Journal it!.app/Frameworks/ObjectBox.framework/ObjectBox', needed by '/private/var/containers/Bundle/Application/4D3A6114-9D36-4C10-856E-9FD825083863/Journal it!.app/Frameworks/CoreIOS.framework/CoreIOS'
ObjectBox is used in the common module CoreIOS. The generator script seems to work:
"$PODS_ROOT/ObjectBox/generate_sources.sh" -- --output "$PROJECT_DIR/generated/EntityInfo-CoreIOS.generated.swift" --model-json "$PROJECT_DIR/model-CoreIOS.json" # add this parameter to make entities exportable: --visibility public
Basic info (please complete the following information):
To Reproduce
Steps to reproduce the behavior:
The text was updated successfully, but these errors were encountered: