googlecodelabs / tensorflow-for-poets-2

Apache License 2.0
508 stars 463 forks source link

iOS TFlite 1.13.1: FIXED build errors, warnings and depreciated methods #119

Open iDuckDark opened 5 years ago

iDuckDark commented 5 years ago

Solutions:

Build Errors

  1. Header File for updated TFlite 1.13.1 #include "tensorflow/contrib/lite/kernels/register.h" to #include "tensorflow/lite/kernels/register.h"

  2. Fixed multiple commands produced error Xcode 10 for Info.plist to prevent user from selecting Legacy Build System manually to temporarily resolve the issue. Resolved conflicts in Build Phases -> Copy Bundle Resources

Warnings

  1. Fixed some warnings including upgrading to validate project settings and removing depreciated methods
  2. Added default image for 4 inch devices
iDuckDark commented 5 years ago

Visited https://cla.developers.google.com/ , I signed it