Closed RaymondZxL closed 5 years ago
Hi @RaymondZxL, I haven't tested this example on iOS unfortunately, so I'm not sure what the problem could be. Maybe sometime in future I'll get a iOS device and check it.
@Syn-McJ Okay, I will try figure it out. It seems like it's the TFsharp getting value 'NoOp' during constructing the TFGraph, and for some reason 'NoOp' is not one of the option.
Thanks anyway!
Hi @RaymondZxL, I know it's super late, but I just managed to get a hold of ios device and a mac and tested the sample. I did encounter your problem, but it seems to be fixable with next steps in Xcode:
In Build Settings > Linking > Other Linker Flags: Double click on the flag list to expand the list Add -force_load Drag the library libtensorflow-core.a from the Project Navigator on the left under Libraries/ML-Agents/Plugins/iOS into the flag list, after -force_load.
So I got errors while testing the app on iOS
iOS version: 12.1 Unity version: 2018.2.15f1
Error: F tensorflow/core/graph/graph.cc:238] Non-OK-status: status status: Not found: Op type not registered 'NoOp'
Is it version problem with iOS?