Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

specified path differs in case from file name on disk [-Wnonportable-include-path]; could not build module 'janalytics' #21

Open
WALL-E-WEB opened this issue Sep 22, 2021 · 1 comment

Comments

@WALL-E-WEB
Copy link

Xcode's output:

:1:10: warning: non-portable path to file '"Userss/jia.top/Documents/wangchangran/ZjAppOwner/ios/Pods/Target Support Files/JAnalytics/janalytics-prefix.pch"'; specified path differs in case from file name on disk [-Wnonportable-include-path]
#include "/Users/jia.top/Documents/wangchangran/ZjAppOwner/ios/Pods/Target Support Files/janalytics/janalytics-prefix.pch"
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
"Userss/jia.top/Documents/wangchangran/ZjAppOwner/ios/Pods/Target Support Files/JAnalytics/janalytics-prefix.pch"
1 warning generated.
:1:10: warning: non-portable path to file '"Userss/jia.top/Documents/wangchangran/ZjAppOwner/ios/Pods/Target Support Files/JAnalytics/janalytics-prefix.pch"'; specified path differs in case from file name on disk [-Wnonportable-include-path]
#include "/Users/jia.top/Documents/wangchangran/ZjAppOwner/ios/Pods/Target Support Files/janalytics/janalytics-prefix.pch"
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
"Userss/jia.top/Documents/wangchangran/ZjAppOwner/ios/Pods/Target Support Files/JAnalytics/janalytics-prefix.pch"
1 warning generated.
/Users/jia.top/Documents/wangchangran/ZjAppOwner/ios/Pods/Reachability/Reachability.m:465:63: warning: cast to smaller integer type 'unsigned int' from 'Reachability *' [-Wpointer-to-int-cast]
NSStringFromClass([self class]), (unsigned int) self, [self currentReachabilityFlags]];
^~~~~~~~~~~~~~~~~~~
1 warning generated.
While building module 'janalytics' imported from /Users/jia.top/Documents/wangchangran/ZjAppOwner/ios/Runner/GeneratedPluginRegistrant.m:20:
In file included from :1:
In file included from /Users/jia.top/Documents/wangchangran/ZjAppOwner/build/ios/Debug-iphonesimulator/janalytics/janalytics.framework/Headers/janalytics-umbrella.h:13:
/Users/jia.top/Documents/wangchangran/ZjAppOwner/build/ios/Debug-iphonesimulator/janalytics/janalytics.framework/Headers/JanalyticsPlugin.h:3:9: error: include of non-modular header inside framework module 'janalytics.JanalyticsPlugin': '/Users/jia.top/Documents/wangchangran/ZjAppOwner/ios/Pods/Headers/Public/JAnalytics/JANALYTICSService.h' [-Werror,-Wnon-modular-include-in-framework-module]
#import "JANALYTICSService.h"
^
1 error generated.
/Users/jia.top/Documents/wangchangran/ZjAppOwner/ios/Runner/GeneratedPluginRegistrant.m:20:9: fatal error: could not build module 'janalytics'
#import <janalytics/JanalyticsPlugin.h>

@WALL-E-WEB
Copy link
Author

解决:
xcode 中设置:
buldsetting 中设置 Allow Non-modular Includes In Framework Modules 为 YES

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant