Project with xcode 9 following warning is observed in the console during debug/release builds (iOS 11 GM/beta & iOS 10):
CoreData: annotation: Failed to load optimized model at path "/Users/xyz.abc/Library/Developer/CoreSimulator/Devices/A-GUID/data/Containers/Bundle/Application/B-GUID/app-name.app/Frameworks/framework-name/mystorename.momd/mystorename 6.omo"
Any custom framework (e.g. GoogleMaps, etc) that uses CD also results in this warning and potential crashes.
CoreData: annotation: Failed to load optimized model at path '/Applications/Xcode11.app/Contents/SharedFrameworks/DTDeviceKitBase.framework/Versions/A/Resources/CrashDatabaseModel.momd/CrashDatabaseModel-5.0.1.omo'
Please add suggestions. What are the potential implications of this warning?
The only way now to handle it (ios 11 = crash, not only warning) is to downgrade your sdk!!
Within your Podfile modify the following lines:
pod 'GoogleMaps', '2.2'
pod 'GooglePlaces', '2.2'
After doing so, run pod update
so the library will get updated.
any version above it will crash.
Update: try creating new target and run updated pod - worked for us
Upgrading Xcode to Version 9.1 beta (9B46) doesn't output this warning in the console. Tried following to reproduce console message:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With