'fatal error: 'WikitudeSDK/WikitudeSDK.h' file not found

I have created an app with wikitude v9.10 and Flutter, once I build the iOS app I get below error.

In file included from /Users/app/plugin_9.10/ios/Classes/ArchitectWidget.m:9:
/Users/app/plugin_9.10/ios/Classes/ArchitectWidget.h:12:9: fatal error: 'WikitudeSDK/WikitudeSDK.h' file not found
#import <WikitudeSDK/WikitudeSDK.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
    warning: /Users/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/3CM2ENP77I0GB/Accelerate-KJIHTHQ2QTZV.pcm: No such file or directory
    note: while processing /Users/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/3CM2ENP77I0GB/Accelerate-KJIHTHQ2QTZV.pcm
    note: The clang module cache may have expired since this object file was built. Rebuilding the object file will rebuild the module cache.
    warning: /Users/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/3CM2ENP77I0GB/CoreMotion-RZ4DJFEI29KM.pcm: No such file or directory
    note: while processing /Users/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/3CM2ENP77I0GB/CoreMotion-RZ4DJFEI29KM.pcm
    warning: /Users/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/3GSO36ODTI67V/Accelerate-KJIHTHQ2QTZV.pcm: No such file or directory
    note: while processing /Users//Library/Developer/Xcode/DerivedData/ModuleCache.noindex/3GSO36ODTI67V/Accelerate-KJIHTHQ2QTZV.pcm
    note: The clang module cache may have expired since this object file was built. Rebuilding the object file will rebuild the module cache.
    warning: /Users/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/3GSO36ODTI67V/CoreMotion-RZ4DJFEI29KM.pcm: No such file or directory
    note: while processing /Users/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/3GSO36ODTI67V/CoreMotion-RZ4DJFEI29KM.pcm
    note: Using new build system
    note: Planning
    note: Build preparation complete
    note: Building targets in dependency order

To assist further on the error that I get, the application is made with dart 2.2 and Wikitude 9.10 plugin.

On Android the app is already published.

I am embedding the WikitudeSDK.Framework from plugin/ios/Frameworks/WikitudeSDK.xcframework/ios-arm64.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source