XCode missing MOE.h

My app was running well, until I update my xcode project with Xcode warning.
After that I can not run my app in Simulator or Device.

In XCode Workspace it shows,
Under Lexical or Proprocessor Issues :

  • /Users/abdullahtellioglu/Desktop/CircleGame/CircleGame/ios-moe/xcode/ios-moe/main.cpp:1:10: ‘MOE/MOE.h’ file not found

Under Apple LLVM 9.0 Error

  • No such file or directory: ‘/Users/abdullahtellioglu/Desktop/CircleGame/CircleGame/ios-moe/build/moe/main/ui-headers/moe-main-interfaces.m’
  • No input files

In Android Studio
Waiting for iOS Device…
Launching:
ERROR: Failed to launch application on device: Unspecified
:ios-moe:moeLaunch FAILED
Command failed: [/Library/Java/JavaVirtualMachines/jdk1.8.0_131.jdk/Contents/Home/bin/java, -Dfile.encoding=UTF-8, -Duser.country=US, -Duser.language=en, -Duser.variant, -jar, /Users/abdullahtellioglu/.moe/moe-sdk-1.4.0/tools/ios-device.jar, --app-path=/Users/abdullahtellioglu/Desktop/CircleGame/CircleGame/ios-moe/build/moe/xcodebuild/Debug-iphoneos/admobtest.app, --wait-for-device, --launch-arg=-args, --install-mode=runonly]

How could I update my Xcode project or delete current and create another working one?
There is a pod file and binded with Admob

Try using moeUpdateXcodeSettings gradle task to update your xcode project. Or do this from IDE context menu.

I updated my Xcode project,
Now it builds successfully but shows

dyld: Library not loaded: @rpath/MOE.framework/MOE
Referenced from: /Users/abdullahtellioglu/Library/Developer/CoreSimulator/Devices/F1A9439C-A386-45C9-AB49-5CCA599A3BDB/data/Containers/Bundle/Application/F1ECEBA3-FA73-417C-8712-1B0CC4AF0ED8/admobtest.app/admobtest
Reason: image not found

I also tried on Real Device and It stucks in Launching Screen.

Hi!

Please check build.gradle workspace and mainScheme settings.
Pod install run without error message?

Best Regards,
Roland