Closed ankitagarwal007 closed 1 month ago
@ankitagarwal007 How are you building the app? E.g. do you use flutter build ipa
? Can you share the error output of the build command please?
Hi
We are using the below.
flutter build ios-framework --xcframework --no-debug --no-profile --output=../Js/Flutter
Thanks! I verified that e.g. ObjectBox.xcframework\ios-arm64\dSYMs\
folders are empty and they are included in ObjectBox.xcframework\Info.plist
.
If it makes a difference, based on the build command it looks like Flutter is integrated into an existing iOS app.
For us to check:
ObjectBox.xcframework\Info.plist
@ankitagarwal007 So I tried building our relations example app with this command:
flutter build ios-framework --no-debug --no-profile --output=test-ios-framework
And besides a warning to turn off "Enable Bitcode" there are no other warnings or errors. This is using Xcode 15.0.1 on macOS 13.6.
Again, could you please share the error output of the build command?
The output command doesn’t give any error but when we commit our main app, and take a fresh checkout it doesn’t compile because empty folders of dSym doesn’t get committed.
@ankitagarwal007 Thanks for clarifying!
You are probably aware, but a workaround would be to add a .gitkeep
file to those directories (or not check in the Pods
directory at all).
Edit: created internal issue objectbox/objectbox-swift#275 for this.
Hi Team,
We currently do this only, but we must do it whenever we compile it. So it would be better if the object box framework either includes Dsym files or removes the path from Info.plist file
The latest release depends on a new ObjectBox Pod that includes debug symbol files.
Let us know if this resolves your issue!
Without additional information, we are unfortunately not sure how to resolve this issue. Therefore this issue has been automatically closed. Feel free to comment with additional details and we can re-open this issue.
Build info
flutter --version
ordart --version
]Steps to reproduce